Next Commerce
Webhook Event ReferencePayments

dispute.created

Triggers when a new dispute is created.

Request Body

application/json

Response Body

Example Requests

POST/dispute.created

{  "api_version": "2024-04-01",  "data": {    "amount": null,    "arn": null,    "case_number": null,    "currency": null,    "date_created": "2024-01-01T00:00:00Z",    "happened_at": "2024-01-01T00:00:00Z",    "id": 0,    "metadata": {},    "order": null,    "report_amount": null,    "report_currency": null,    "resolution": null,    "resolution_other_message": null,    "status": "string",    "transaction": {      "amount": "0.00",      "amount_available_for_refund": "0.00",      "attribution": {        "affiliate": null,        "agent": {          "email": null,          "first_name": "string",          "id": 0,          "last_name": "string"        },        "funnel": null,        "gclid": null,        "metadata": {},        "subaffiliate1": null,        "subaffiliate2": null,        "subaffiliate3": null,        "subaffiliate4": null,        "subaffiliate5": null,        "utm_campaign": null,        "utm_content": null,        "utm_medium": null,        "utm_source": null,        "utm_term": null      },      "auth_code": null,      "currency": null,      "date_created": "2024-01-01T00:00:00Z",      "external_id": null,      "id": 0,      "initiator": {        "email": null,        "first_name": "string",        "id": 0,        "last_name": "string"      },      "is_disputed": false,      "is_external": false,      "is_test": null,      "network_transaction_id": null,      "order": null,      "parent_id": null,      "payment_details": {        "avs_code": "string",        "avs_message": "string",        "bankcard_exp_month": null,        "bankcard_exp_year": null,        "bankcard_first_six": null,        "bankcard_last_four": null,        "bankcard_number": null,        "card_token": "string",        "cvv_code": "string",        "cvv_message": "string",        "gateway": {          "id": 0,          "is_next_payments": false,          "name": "string",          "type": "string"        },        "is_3ds": false,        "optimized_3ds": false,        "paypal_vault_id": "string",        "sca_flow": "string"      },      "payment_method": null,      "report_values": {        "amount": "0.00",        "currency": "string"      },      "response_code": 0,      "statement_descriptor": null,      "status": "string",      "subscription": {        "billing_cycle": null,        "id": 0      },      "type": "string",      "user": {        "accepts_marketing": false,        "email": null,        "first_name": "string",        "id": 0,        "ip": null,        "language": null,        "last_name": "string",        "phone_number": null,        "user_agent": null      }    },    "type": "string"  },  "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",  "event_type": "dispute.created",  "object": "dispute",  "webhook": {    "events": [      "dispute.created"    ],    "id": 1,    "store": "example",    "target": "https://example.com/webhook/"  }}