Tidepay API Docs
API ReferenceSubscriptions

Create a subscription

POST
/subscriptions

Requires an existing customerId (see POST /customers). Returns a subscribeUrl to redirect the subscriber to, where they connect their wallet and grant the ERC-20 allowance tidepay needs to run recurring pulls. customVariables is optional arbitrary metadata echoed back on every response and webhook for this subscription.

X-API-Key<token>

Your merchant API key, shown once at creation in the dashboard (Settings → API key).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/subscriptions" \  -H "Content-Type: application/json" \  -d '{    "planId": "string",    "customerId": "string"  }'
Empty