curl --request PUT \
--url https://api.rootfi.dev/v4/payments/disputes/{id} \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"evidence": {
"customer_communication": "<string>",
"receipt": "<string>",
"shipping_documentation": "<string>",
"service_documentation": "<string>",
"refund_policy": "<string>",
"customer_signature": "<string>",
"uncategorized_text": "<string>"
},
"metadata": {}
}
'{
"rootfi_id": 157,
"rootfi_created_at": "2024-01-22T05:07:31.465Z",
"rootfi_updated_at": "2024-01-22T05:07:31.000Z",
"rootfi_company_id": 1089,
"platform_id": "123456",
"rootfi_deleted_at": "2023-11-07T05:31:56Z",
"platform_unique_id": "<string>",
"raw_data": {},
"data_hash": "<string>",
"transaction_id": "<string>",
"invoice_id": "<string>",
"contact_id": "<string>",
"currency_id": "<string>",
"amount": 123,
"status": "OPEN",
"reason": "FRAUDULENT",
"reason_code": "<string>",
"gateway": "<string>",
"gateway_dispute_id": "<string>",
"evidence_due_date": "<string>",
"resolution_date": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Update a dispute (submit evidence).
curl --request PUT \
--url https://api.rootfi.dev/v4/payments/disputes/{id} \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"evidence": {
"customer_communication": "<string>",
"receipt": "<string>",
"shipping_documentation": "<string>",
"service_documentation": "<string>",
"refund_policy": "<string>",
"customer_signature": "<string>",
"uncategorized_text": "<string>"
},
"metadata": {}
}
'{
"rootfi_id": 157,
"rootfi_created_at": "2024-01-22T05:07:31.465Z",
"rootfi_updated_at": "2024-01-22T05:07:31.000Z",
"rootfi_company_id": 1089,
"platform_id": "123456",
"rootfi_deleted_at": "2023-11-07T05:31:56Z",
"platform_unique_id": "<string>",
"raw_data": {},
"data_hash": "<string>",
"transaction_id": "<string>",
"invoice_id": "<string>",
"contact_id": "<string>",
"currency_id": "<string>",
"amount": 123,
"status": "OPEN",
"reason": "FRAUDULENT",
"reason_code": "<string>",
"gateway": "<string>",
"gateway_dispute_id": "<string>",
"evidence_due_date": "<string>",
"resolution_date": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The rootfi_id or platform_id of the dispute |
| Field | Type | Required | Description |
|---|---|---|---|
| evidence | object | No | Evidence to submit for the dispute |
| metadata | object | No | Additional information |
| Field | Type | Description |
|---|---|---|
| customer_communication | string | Relevant contact communications |
| receipt | string | Receipt or proof of purchase URL |
| shipping_documentation | string | Shipping/tracking documentation URL |
| service_documentation | string | Proof of service delivery URL |
| refund_policy | string | Your refund policy URL |
| customer_signature | string | Contact signature URL |
| uncategorized_text | string | Additional supporting text |
evidence_due_date. Late submissions may be rejected by the payment processor.Dispute updated successfully
V4 Dispute model representing contact disputes and chargebacks.
The unique ID we assign for that data's information
157
The date at which RootFi first synced this data
"2024-01-22T05:07:31.465Z"
The latest date at which RootFi updated this data
"2024-01-22T05:07:31.000Z"
The ID of the company in the accounting platform
1089
An unique custom RootFi ID made from platform's unique_id.
"123456"
The date at which the data was deleted in the accounting platform
The ID of the data in the accounting platform.
A JSON containing fields that you can directly get from the accounting platform.
The hash of the data
Reference to the disputed Transaction.
Reference to the related Invoice.
Reference to the Contact.
ISO 4217 currency code.
Disputed amount.
Current dispute status (OPEN, UNDER_REVIEW, WON, LOST, WARNING_CLOSED, UNKNOWN).
OPEN, UNDER_REVIEW, WON, LOST, WARNING_CLOSED, UNKNOWN Standardized dispute reason.
FRAUDULENT, DUPLICATE, UNRECOGNIZED, QUALITY_ISSUE, NOT_RECEIVED, CANCELED, OTHER Platform-specific reason code.
Payment gateway name.
Platform-specific dispute ID.
Deadline for submitting evidence (ISO 8601).
Date dispute was resolved, null if pending (ISO 8601).
Original dispute creation timestamp (ISO 8601).
Last update timestamp (ISO 8601).