Current (2025-04-01)Merchants API

Subscription

POST
/public/2025-04-01/disputes/{disputeId}/subscription
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.

Creates a new Chargeflow subscription.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/public/2025-04-01/disputes/string/subscription" \  -H "Content-Type: application/json" \  -d '{    "source_id": "string",    "created_at": "2019-08-24T14:15:22Z",    "start_date": "2019-08-24T14:15:22Z",    "frequency": "day",    "frequency_count": 1  }'
{  "id": "string",  "source_id": "string",  "account_id": "string",  "ext_account_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "start_date": "2019-08-24T14:15:22Z",  "end_date": "2019-08-24T14:15:22Z",  "cancellation_date": "2019-08-24T14:15:22Z",  "frequency": "day",  "frequency_count": 1,  "cancellation_reason": "too_expensive",  "collection_method": "automatically",  "trial_start": "2019-08-24T14:15:22Z",  "trial_end": "2019-08-24T14:15:22Z",  "renews_at": "2019-08-24T14:15:22Z",  "plan_name": "string",  "pricing_model": "fixed_price",  "status": "active"}
Was this page helpful?