Disputes
Create a dispute
Changed onSubmit a single dispute for a transaction. If the dispute reason requires cardholder signature, the dispute will be created with status REQUIRE_ACTION. Use the POST /disputes/{id}/sign endpoint to obtain the DocuSign WebForm URL.
post/disputes
Request
- Base URLhttps://sandbox.api.caas.reap.global
- AuthAPI key in header x-reap-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept-Versionstring required
Specifies the API version to use for this request.
Request body
Example request
{
"transactionId": "ch_abc123",
"cardId": "card_xyz789",
"disputeAmount": 100.5,
"disputeCurrency": "840",
"cardholderName": "John Doe",
"cardholderEmail": "john.doe@example.com",
"contactEmail": "finance@example.com",
"disputeReason": "FRAUD_OTHER_CARD_ABSENT"
}Response
Dispute created successfully
Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional
- breaking