curl --request GET \
--url https://api.tabby.ai/api/v1/disputes/{disputeId} \
--header 'Authorization: Bearer <token>'
{
"dispute": {
"id": "dispute id, uuid format",
"attachments": "Array of links to images which were uploaded by customer",
"payment_id": "payment id, uuid format",
"amount": "100.00",
"currency": "AED",
"created_at": "2018-10-17T00:00:00.000Z",
"expired_at": "2018-10-17T00:00:00.000Z",
"status": "new",
"reason": "unreceived_refund",
"days_left": 123,
"history": [
{
"attachments": [
"<string>"
],
"created_at": "2018-10-17T00:00:00.000Z",
"created_by": "email address of the source",
"content": "customer comment",
"source": "merchant",
"event_type": "dispute_created",
"note": "additional comments"
}
],
"items": [
{
"reference_id": "payment id",
"title": "Order item title",
"unit_price": "100.00"
}
],
"order_number": "#1234",
"comment": "additional comments"
}
}
Returns detailed information about dispute.
curl --request GET \
--url https://api.tabby.ai/api/v1/disputes/{disputeId} \
--header 'Authorization: Bearer <token>'
{
"dispute": {
"id": "dispute id, uuid format",
"attachments": "Array of links to images which were uploaded by customer",
"payment_id": "payment id, uuid format",
"amount": "100.00",
"currency": "AED",
"created_at": "2018-10-17T00:00:00.000Z",
"expired_at": "2018-10-17T00:00:00.000Z",
"status": "new",
"reason": "unreceived_refund",
"days_left": 123,
"history": [
{
"attachments": [
"<string>"
],
"created_at": "2018-10-17T00:00:00.000Z",
"created_by": "email address of the source",
"content": "customer comment",
"source": "merchant",
"event_type": "dispute_created",
"note": "additional comments"
}
],
"items": [
{
"reference_id": "payment id",
"title": "Order item title",
"unit_price": "100.00"
}
],
"order_number": "#1234",
"comment": "additional comments"
}
}
Bearer authentication header of the form Bearer <secret_key>
, where <secret_key>
is your secret_key
.
ID of the dispute.
"dispute id, uuid format"
Success. Returns dispute info.
The response is of type object
.
Was this page helpful?