Disputes
Authorization
apiKey Your Chargeflow API key. Generate it in the Developer Hub under Settings.
In: header
Path Parameters
The unique Chargeflow object identifier of the dispute.
^[0-9a-fA-F]{24}$Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/public/2025-04-01/disputes/string/evidence" \ -F file="string" \ -F evidenceUploadCategory="tracking_information"{ "requestId": "string", "evidenceId": "string"}Authorization
apiKey Your Chargeflow API key. Generate it in the Developer Hub under Settings.
In: header
Path Parameters
The unique Chargeflow object identifier of the dispute.
^[0-9a-fA-F]{24}$Query Parameters
Available Expansions
Use the expand parameter to include additional resource details in the response.
Available options:
| Parameter | Description |
|---|---|
transaction | Full payment transaction details including amount, currency, payment method and more |
order | Complete order details including products, shipping, and fulfillment and more |
subscription | Complete subscription details including plan, frequency, cancellation reason and more |
customer_communication | Complete customer communication details including messages, sender, and more |
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/public/2025-04-01/disputes/string"{ "id": "string", "source": "paypal", "source_id": "string", "account_id": "string", "ext_account_id": "string", "created_at": "2019-08-24T14:15:22Z", "reason": "fraud", "due_by": "2019-08-24T14:15:22Z", "amount": 0, "currency": "str", "status": "needs_response", "stage": "Chargeback", "closed_at": "2019-08-24T14:15:22Z", "transaction": "string", "subscription": "string", "order": "string"}Authorization
apiKey Your Chargeflow API key. Generate it in the Developer Hub under Settings.
In: header
Path Parameters
The unique Chargeflow object identifier of the dispute.
^[0-9a-fA-F]{24}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/public/2025-04-01/disputes/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "source": "paypal", "source_id": "string", "account_id": "string", "ext_account_id": "string", "created_at": "2019-08-24T14:15:22Z", "reason": "fraud", "due_by": "2019-08-24T14:15:22Z", "amount": 0, "currency": "str", "status": "needs_response", "stage": "Chargeback", "closed_at": "2019-08-24T14:15:22Z", "transaction": "string", "subscription": "string", "order": "string"}Authorization
apiKey Your Chargeflow API key. Generate it in the Developer Hub under Settings.
In: header
Query Parameters
The page number of the current response
0 <= value0The number of disputes per page
1 <= value <= 10025Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/public/2025-04-01/disputes"{ "disputes": [], "pagination": { "totalCount": 0, "offset": 0, "limit": 25, "totalPages": 0 }}Authorization
apiKey Your Chargeflow API key. Generate it in the Developer Hub under Settings.
In: header
Path Parameters
The unique Chargeflow object identifier of the dispute.
^[0-9a-fA-F]{24}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/public/2025-04-01/disputes/string/order" \ -H "Content-Type: application/json" \ -d '{}'{ "requestId": "string"}