Disputes
Approve disputes
Changed onApprove disputes (refund money to the customer). Only 20 disputes can be approved within a single request.
post/api/v1/disputes/approve
Request
- Base URLhttps://api.tabby.ai
- URLhttps://api.tabby.ai/api/v1/disputes/approve
- AuthHTTP bearer
Request body
Example request
{
"dispute_ids": [
"dispute id, uuid format"
]
}Response
Success. Disputes were approved.
Example response
{
"disputes": [
{
"id": "dispute id, uuid format",
"attachments": [
"attachment_1"
],
"payment_id": "payment id, uuid format",
"amount": "100.00",
"currency": "AED",
"created_at": "2018-10-17",
"expired_at": "2018-10-17",
"status": "new",
"reason": "unreceived_refund",
"items": [
{
"reference_id": "payment id",
"title": "Order item title",
"unit_price": "100.00"
}
],
"order_number": "#1234",
"comment": "additional comments"
}
]
}Changes
- breaking
the response's body type changed from
stringtoobjectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
removed the
KWDenum value from the//response property for the response status
- breaking