API Docs
Disputes
API ReferenceDisputesAccept

Accept Dispute

Accept a dispute, acknowledging the chargeback.

POST /disputes/:dispute_id/accept

Accepting a dispute means you agree with the cardholder's claim. The disputed amount will be refunded to the cardholder.

Path Parameters

ParameterTypeDescription
dispute_idstringRequired. The ID of the dispute to accept.

Request Example

curl -X POST 'https://api.v2.paychtec.com/disputes/dis_1234567890abcdef/accept' \  -H "api-key: snd_YOUR_API_KEY"

Response

{
  "dispute_id": "dis_1234567890abcdef",
  "payment_id": "pay_mbabizu24mvu3mela5njyhpit4",
  "amount": 5000,
  "currency": "USD",
  "status": "dispute_accepted",
  "created": "2024-01-25T10:00:00Z"
}