Skip to main content

Creating a Dispute

You can create a dispute on a transaction through the Create Dispute endpoint:

Sample Request
curl https://api.allawee.com/disputes
-H "Authorization: Bearer YOUR_SECRET_KEY"
-H "Content-Type: application/json"
-d '{
"reason": "value-not-received",
"source": "c.auth.2cbc123456",
"text": "I did not receive my order",
"documents": [
"https://s3.amazonaws.com/..."
],
"user": "usr.2cbc123456"
}'
-X POST
Request Body ParametersRequired?Description
reasonYesThe reason can be one of four values: fraudulent, duplicate, value-not-received, and general.
sourceYesThe authorization code of the transaction being disputed.
textNoDetails of the dispute.
documentsNoAn array of links related to the dispute, which may serve as evidence.
userNoThe user code of the user involved.