POST
/
disputes
/
create
curl --request POST \
  --url https://api.sandbox.saalal.com/v1/disputes/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transaction_slug": "76884322-a3fb-4607-b39c-6a6d7d9c3bcc",
  "reason": "duplicate",
  "explanation": "No real explanation"
}'
{
  "message": "dispute successfully created!",
  "statusCode": 200,
  "data": [
    {
      "transaction_slug": "962b954d-bbd3-4b03-8a70-80fb595e9049",
      "slug": "962b954d-bbd3-4b03-8a70",
      "status": "submitted",
      "reason": "duplicate",
      "explanation": "No real explanation"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string

Body

application/json
transaction_reference
string
reason
enum<string>
Available options:
duplicate,
not_received,
fraudulent,
product_not_as_described,
service_not_as_described,
canceled,
other
explanation
string

Response

200 - application/json
message
string
statusCode
integer
data
object