API Reference

Accept dispute

PUT/transactions/{transaction_fatzebra_id}/dispute/accept

Query Parameters

transaction_fatzebra_idstring

The fatzebra id of the transaction.

Request

curl
curl https://gateway.pmnts-sandbox.io/v1.0/transactions/001-P-154WFRUM/dispute/accept -u TEST:TEST

Response

201OK
json
{
  "successful": true,
  "response": {},
  "errors": [],
  "test": true
}
404Result
json
{
  "successful": false,
  "response": {},
  "errors": [
    "Could not find transaction"
  ],
  "test": true
}
422Result
json
{
  "successful": false,
  "response": {},
  "errors" => ['Dispute has already been closed']
  "test": true
}