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

Authorizations

Authorization
string
headerrequired

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

Headers

Accept
string

Body

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

Response

200 - application/json
data
object
message
string
statusCode
integer