POST
/
api
/
v1
/
disputes
/
challenge
curl --request POST \
  --url https://api.tabby.ai/api/v1/disputes/challenge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dispute_id": "dispute id, uuid format",
  "description": "Comment for Tabby support",
  "reason": "merchant_reason_other",
  "amount": "100",
  "attachment_ids": [
    "attachment id, uuid format"
  ]
}'
{
  "disputes": [
    {
      "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-17",
      "expired_at": "2018-10-17",
      "status": "new",
      "reason": "unreceived_refund",
      "days_left": 123,
      "items": [
        {
          "reference_id": "payment id",
          "title": "Order item title",
          "unit_price": "100.00"
        }
      ],
      "order_number": "#1234",
      "comment": "customer comments"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Success. Disputes were challenged.

The response is of type object.