When using the Disputes Management API calls, it is important to be aware of the distinction between the lenderDisputeId
(the dispute id generated by the lender) and the id
(the dispute id generated by ChargeAfter).
How to Distinguish between Dispute ids in Requests
All calls to manage disputes (except for the initial creation of a dispute), require the id
parameter.
Either the lenderDisputeId
or the dispute id
generated by ChargeAfter can be used.
If you use the lenderDisputeId
, you must also send the useLenderDisputeId
parameter with the value of true
.
Returned ids for the create, resolve, and reverse calls
When you create a dispute, the string that is returned in the 201 response is the ChargeAfter dispute id
.
When you resolve or reverse a dispute, the string that is returned in the 200 response is the ChargeAfterTransactionId
.