cURL
curl --request POST \ --url https://api.sandbox.saalal.com/v1/disputes/update/{reference} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "transaction_slug": "962b954d-bbd3-4b03-8a70-80fb595e9049", "explanation": "No real explanation even now" }'
{ "message": "dispute successfully updated!", "statusCode": 200, "data": [ { "transaction_slug": "962b954d-bbd3-4b03-8a70-80fb595e9049", "slug": { "reference": null }, "status": "submitted", "reason": "duplicate", "explanation": "No real explanation even now" } ] }
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