Disputes
Disputes management endpoints
apiKey Your Chargeflow API key, sent on every request. Generate one in the Chargeflow App, or see API keys.
In: header
Maximum number of disputes to return in a single response
1 <= value <= 10015Number of disputes to skip for pagination
0 <= value0Filter disputes created after this date (ISO 8601 format)
Filter disputes created before this date (ISO 8601 format)
Filter disputes with amount greater than or equal to this value
0 <= value0Filter disputes with amount less than or equal to this value
0 <= value1000Filter disputes by status (comma-separated values)
Value in
Filter disputes by reason (comma-separated values)
Value in
Filter disputes by payment processor (comma-separated values)
Value in
application/json
curl -X GET "https://example.com/public/2024-03-18/disputes?limit=10&offset=0"{ "totalCount": 100, "hasMore": true, "data": [ { "chargeflowDisputeId": "00000000d0c5000000000004", "dispute": { "processorId": "PP-D-4012", "processor": "paypal", "amount": { "value": 100, "currency": "USD" }, "status": "won", "reason": "fraud", "responseDueDate": "2021-01-01T00:00:00Z" }, "transaction": { "id": "00000000-d0c5-4000-8000-000000000002", "creationDate": "2021-01-01T00:00:00Z", "source": "stripe", "orderId": "1234567890123", "customerEmail": "john@example.com" } } ]}apiKey Your Chargeflow API key, sent on every request. Generate one in the Chargeflow App, or see API keys.
In: header
application/json
The id of the dispute in your payment processor.
length <= 10000ISO 8601 timestamp - when the charge was disputed.
date-timeISO 8601 timestamp - when dispute evidence needs to be disputed by.
date-timeThe id of the disputed charge in your payment processor.
length <= 10000The id of the transaction in your payment processor.
length <= 128The date and time when the transaction was created, in ISO 8601 format
date-timeThe bank provided reason for the dispute.
Value in
The amount of the disputed charge. Amounts are in cents (or other minor currency unit.)
0 <= valueThe currency code of the disputed charge. e.g. 'USD'.
length <= 10The payment processor for the charge.
length <= 128application/json
curl -X POST "https://example.com/public/2024-03-18/disputes" \ -H "Content-Type: application/json" \ -d '{ "disputeId": "dp_example_0000000000000000", "creationDate": "2022-01-01T00:00:00Z", "due_by": "2022-01-01T00:00:00Z", "disputeAmount": 100, "currency": "USD", "processor": "Stripe, Shopify, Braintree etc.", "isChargeRefundable": true, "handleByChargeflow": true }'{ "requestId": "string"}apiKey Your Chargeflow API key, sent on every request. Generate one in the Chargeflow App, or see API keys.
In: header
The Chargeflow dispute id
^[0-9a-fA-F]{24}$multipart/form-data
Option 1: object
binaryThe category of the evidence upload
Value in
Option 2: object
binaryThe category of the evidence upload
Value in
The content of the evidence. Only required with additional_notes and additional_evidence categories
application/json
curl -X POST "https://example.com/public/2024-03-18/disputes/00000000d0c5000000000004/evidence" \ -F file="string" \ -F evidenceUploadCategory="invoice"{ "requestId": "string", "evidenceId": "string"}apiKey Your Chargeflow API key, sent on every request. Generate one in the Chargeflow App, or see API keys.
In: header
The Chargeflow dispute id
^[0-9a-fA-F]{24}$application/json
A field that can hold the name of the order as identified in your system, which could be an invoice ID or any other reference
length <= 10000The date and time when the order was created, recorded in ISO 8601 format
date-timeAn optional identifier for the checkout process associated with the order
length <= 10000An optional URL that directs to a page where the status of the order can be reviewed
uriAn enum value represents the current financial status of the order. Possible values include paid, partially_refunded, and refunded, which indicate the payment stage of the order
Value in
An object that represents the customer’s details under this order
An object that represents the billing address of the order's payer
An object that represents the shipping address of the order's payer
An array of objects that represent the products included in this order
application/json
curl -X POST "https://example.com/public/2024-03-18/disputes/00000000d0c5000000000004/order" \ -H "Content-Type: application/json" \ -d '{ "orderReference": "Order-001", "creationDate": "2022-01-01T00:00:00Z", "checkoutId": "CHK-78910", "orderStatusUrl": "https://example.com/order/status/123456", "amount": { "value": 100, "currency": "USD" }, "financialStatus": "paid", "customer": { "id": "12345", "email": "customer@example.com", "firstName": "Jane", "lastName": "Doe", "phone": "+15555550100" }, "billingAddress": { "firstName": "John", "lastName": "Doe", "country": "US", "state": "CA", "city": "LA", "address1": "123 Main St", "address2": "Apt 123", "zipCode": "12345", "phone": "+15555550100" }, "shippingAddress": { "firstName": "John", "lastName": "Doe", "country": "US", "state": "CA", "city": "LA", "address1": "123 Main St", "address2": "Apt 123", "zipCode": "12345", "phone": "+15555550100" } }'{ "requestId": "string"}