Creates or updates (upserts) a dispute with a specified ID.
Dispute resource.
ID of the disputed transaction.
Code used in the chargeback that describes the reason for the dispute.
Type of dispute.
Status of the dispute.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/disputes/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/disputes/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/disputes/{id}
- SecretApiKey
- JWT
curl -i -X PUT \
'https://www.rebilly.com/_mock/catalog/all/disputes/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"transactionId": "txn_0YVDTQJ8YWDGQACV2N2N5SPWQ0",
"currency": "USD",
"amount": 0.1,
"acquirerReferenceNumber": "string",
"caseId": "string",
"reasonCode": "0",
"type": "information-request",
"status": "response-needed",
"postedTime": "2019-08-24T14:15:22Z",
"deadlineTime": "2019-08-24T14:15:22Z"
}'Dispute updated.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the customer who is disputing a transaction.
ID of the disputed transaction.
Code used in the chargeback that describes the reason for the dispute.
Description of the reason for the dispute.
Category of dispute.
Type of dispute.
Status of the dispute.
Latest date and time by when a merchant must submit a representment for a dispute. If the deadline is missed, the merchant loses the dispute.
Raw response from the payment gateway that processed the disputed transaction.
Number of times the dispute data has been modified.
Use the revision number when analyzing webhook data to determine if a change should take precedence over the current representation.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
{ "id": "dp_0YVCE8J5F2DE58FV0S8YASW4HK", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "transactionId": "txn_0YVDTQJ8YWDGQACV2N2N5SPWQ0", "currency": "USD", "amount": 0.1, "acquirerReferenceNumber": "string", "caseId": "string", "reasonCode": "string", "reasonDescription": "string", "category": "fraud", "type": "information-request", "status": "response-needed", "postedTime": "2019-08-24T14:15:22Z", "deadlineTime": "2019-08-24T14:15:22Z", "rawResponse": "string", "resolvedTime": "2019-08-24T14:15:22Z", "source": null, "revision": 0, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ], "_embedded": { "transaction": {}, "customer": {} } }