Disputes

Accept

POST
/disputes/{id}/acceptance

Accept liability for a Dispute that will likely result in financial impact to the Merchant. Availability of this feature in production depends on your allowed live configuration. Please contact Global Payments before coding this feature to confirm it will be available to you when you go live.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /accesstoken, sent as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Unique identifier for the Dispute on the platform.

Length1 <= length <= 50

Header Parameters

X-GP-Idempotency?string

Integrator generated value submitted in the request header that is checked to ensure the same value has not been seen in the last 24 hours. It is used to ensure idempotency is maintained with this action.

Length1 <= length <= 50
X-GP-Version*string

The version of the API to execute the request.

Length1 <= length <= 50
Default"2021-03-22"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/disputes/DIS_SAND_abcd1236/acceptance" \  -H "X-GP-Version: 2021-03-22"
{  "id": "DIS_SAND_abcd1236",  "status": "UNDER_REVIEW",  "stage": "RETRIEVAL",  "amount": "11099",  "currency": "USD",  "reason_code": "FRAUD",  "reason_description": "string",  "result": "PENDING",  "action": {    "id": "ACT_uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "type": "DISPUTE_SINGLE",    "time_created": "2021-05-03T21:23:39.718Z",    "result_code": "SUCCESS",    "app_id": "uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "app_name": "my_lovely_app"  }}