curl --request PATCH \
--url https://api.paygentic.io/v0/disputes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "accepted",
"message": "<string>"
}'
{
"id": "<string>",
"object": "dispute",
"usageEventId": "<string>",
"customerId": "<string>",
"merchantId": "<string>",
"customerMessage": "<string>",
"merchantMessage": "<string>",
"status": "pending",
"disputedAmount": "<string>",
"resolvedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Accept or decline a dispute
curl --request PATCH \
--url https://api.paygentic.io/v0/disputes/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "accepted",
"message": "<string>"
}'
{
"id": "<string>",
"object": "dispute",
"usageEventId": "<string>",
"customerId": "<string>",
"merchantId": "<string>",
"customerMessage": "<string>",
"merchantMessage": "<string>",
"status": "pending",
"disputedAmount": "<string>",
"resolvedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for a dispute
Dispute updated successfully
The response is of type object
.