Current (2025-04-01)Merchants API

Disputes

POST
/public/2025-04-01/disputes/{disputeId}/evidence
x-api-key<token>

Your Chargeflow API key. Generate it in the Developer Hub under Settings.

In: header

Path Parameters

disputeId*string

The unique Chargeflow object identifier of the dispute.

Match^[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"}
GET
/public/2025-04-01/disputes/{disputeId}
x-api-key<token>

Your Chargeflow API key. Generate it in the Developer Hub under Settings.

In: header

Path Parameters

disputeId*string

The unique Chargeflow object identifier of the dispute.

Match^[0-9a-fA-F]{24}$

Query Parameters

expand?array<>

Available Expansions

Use the expand parameter to include additional resource details in the response.

Available options:

ParameterDescription
transactionFull payment transaction details including amount, currency, payment method and more
orderComplete order details including products, shipping, and fulfillment and more
subscriptionComplete subscription details including plan, frequency, cancellation reason and more
customer_communicationComplete 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"}
PATCH
/public/2025-04-01/disputes/{disputeId}
x-api-key<token>

Your Chargeflow API key. Generate it in the Developer Hub under Settings.

In: header

Path Parameters

disputeId*string

The unique Chargeflow object identifier of the dispute.

Match^[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"}
GET
/public/2025-04-01/disputes
x-api-key<token>

Your Chargeflow API key. Generate it in the Developer Hub under Settings.

In: header

Query Parameters

offset?integer

The page number of the current response

Range0 <= value
Default0
limit?integer

The number of disputes per page

Range1 <= value <= 100
Default25

Response 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  }}
POST
/public/2025-04-01/disputes/{disputeId}/order
x-api-key<token>

Your Chargeflow API key. Generate it in the Developer Hub under Settings.

In: header

Path Parameters

disputeId*string

The unique Chargeflow object identifier of the dispute.

Match^[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"}
Was this page helpful?