cURL
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" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object