Create a subscription
Requires an existing customerId. Returns a subscribeUrl where the subscriber connects a wallet and authorizes the recurring pulls on-chain — an ERC-20 allowance on EVM, or a subscription against the audited @solana/subscriptions program on Solana. See Core concepts → Subscriptions.
Authorization
apiKey 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
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/subscriptions" \ -H "Content-Type: application/json" \ -d '{ "offerId": "offer_01j8x2q3r4s5t6u7v8w9x0y1z2", "customerId": "cust_01j8x2q3r4s5t6u7v8w9x0y1z2" }'{ "id": "sub_01j8x2q3r4s5t6u7v8w9x0y1z2", "status": "pending", "subscribeUrl": "https://tidepay.cc/subscribe/sub_01j8x2q3r4s5t6u7v8w9x0y1z2", "requiredAllowance": "string", "operatorWallet": "0x71c7656ec7ab88b098defb751b7401b5f6d8976", "tokenAddress": "string", "mint": "string", "chainId": 137}