Next Commerce
API ReferencePayments

Disputes Update

Update an existing dispute.

PUT
/disputes/{id}/

Authorization

oauth2 disputes:write
AuthorizationBearer <token>

Generate an Access Token through Settings > API Access for single store access or use the Authorization Code flow with your partner App Client ID. Use required permission scopes for API endpoint access. Example Authorization: Bearer 123

In: header

Scope: disputes:write

Path Parameters

id*integer

A unique integer value identifying this Dispute.

Header Parameters

X-29next-API-Version*"2024-04-01"
Default"2024-04-01"

Value in

  • "2024-04-01"

Request Body

Response Body

application/json

curl -X PUT "https://example.com/disputes/0/" \  -H "X-29next-API-Version: 2024-04-01" \  -H "Content-Type: application/json" \  -d '{}'
{  "amount": "string",  "arn": "string",  "case_number": "string",  "currency": "str",  "date_created": "2019-08-24T14:15:22Z",  "happened_at": "2019-08-24T14:15:22Z",  "id": 0,  "metadata": null,  "order": "string",  "report_amount": "string",  "report_currency": "str",  "resolution": "could_not_find_order",  "resolution_other_message": "string",  "status": "new",  "transaction": {    "amount": "string",    "amount_available_for_refund": "0.00",    "attribution": {      "affiliate": "string",      "agent": {        "email": "user@example.com",        "first_name": "string",        "id": 0,        "last_name": "string"      },      "funnel": "string",      "gclid": "string",      "metadata": null,      "subaffiliate1": "string",      "subaffiliate2": "string",      "subaffiliate3": "string",      "subaffiliate4": "string",      "subaffiliate5": "string",      "utm_campaign": "string",      "utm_content": "string",      "utm_medium": "string",      "utm_source": "string",      "utm_term": "string"    },    "auth_code": "string",    "currency": "string",    "date_created": "2019-08-24T14:15:22Z",    "external_id": "string",    "id": 0,    "initiator": {      "email": "user@example.com",      "first_name": "string",      "id": 0,      "last_name": "string"    },    "is_disputed": true,    "is_external": true,    "is_test": true,    "network_transaction_id": "string",    "order": "string",    "parent_id": 0,    "payment_details": {      "avs_code": "string",      "avs_message": "string",      "bankcard_exp_month": 0,      "bankcard_exp_year": 0,      "bankcard_first_six": "string",      "bankcard_last_four": "string",      "bankcard_number": "string",      "card_token": "string",      "cvv_code": "string",      "cvv_message": "string",      "gateway": {        "id": 0,        "is_next_payments": true,        "name": "string",        "type": "string"      },      "is_3ds": true,      "optimized_3ds": true,      "paypal_vault_id": "string",      "sca_flow": "string"    },    "payment_method": "string",    "report_values": {      "amount": "string",      "currency": "string"    },    "response_code": 0,    "statement_descriptor": "string",    "status": "succeeded",    "subscription": {      "billing_cycle": 0,      "id": 0    },    "type": "string",    "user": {      "accepts_marketing": true,      "email": "user@example.com",      "first_name": "string",      "id": 0,      "ip": "string",      "language": "string",      "last_name": "string",      "phone_number": "string",      "user_agent": "string"    }  },  "type": "alert"}