GuidesAPI Reference
GuidesAPI Reference
  • Reference
    • Introduction
LogoLogo
ReferenceDisputes

GET
/v2/disputes/:dispute_id/accept
GET
/v2/disputes/:dispute_id/accept
1curl https://global-api-sandbox.afterpay.com/v2/disputes/dispute_id/accept \
2 -H "User-Agent: User-Agent" \
3 -u "<username>:<password>"
Try it
1{
2 "id": "dp_N64jYg4RC4ZBUsXjLzE3W5",
3 "order": "123456789",
4 "amount": "48.46",
5 "reason": "product_not_received",
6 "status": "needs_response",
7 "open": true,
8 "responseDueBy": "1691884800",
9 "createdAt": "1691880800",
10 "openingNote": "Customer has no knowledge of the payment",
11 "closingReason": "merchant_accepted",
12 "merchantOrderId": "order54321",
13 "transactionDate": "1691882800",
14 "settlementAmount": "48.46",
15 "openingNoteAttachments": "[“fi_48vmw3sXdVqvtJGXbgKbAZ”]",
16 "updatedAt": "1691884000",
17 "closingNote": "Merchant accepted the dispute",
18 "meta": {
19 "transactionAmount": "48.46",
20 "orderType": "ONLINE",
21 "network": "Visa",
22 "networkReferenceId": "string"
23 }
24}
Was this page helpful?
Previous

Upload File

Next
Built with
Merchants can call this endpoint to accept a dispute case. The endpoint only works if the dispute is in a non-terminal state (the status is not `won` or `lost`). > **Note:** Calling the API changes the dispute status to lost.
Accept Dispute

Merchants can call this endpoint to accept a dispute case. The endpoint only works if the dispute is in a non-terminal state (the status is not won or lost).

Note: Calling the API changes the dispute status to lost.