Create Subscription
Create a subscription and initiate its first payment with an existing payment instrument.
Documentation Index
Fetch the complete documentation index at: https://docs.clinkbill.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Body
Parameters required to create a subscription by API. Provide at least one of customerId, customerEmail, or referenceCustomerId.
Recurring price ID.
Product ID for the subscription.
Existing payment instrument ID used for the initial payment and renewals.
Payment method type. Supported values are uppercase.
CARD, GCASH Payment currency. The value is normalized to uppercase.
URL where the customer is redirected after required payment actions.
Existing customer ID. At least one customer identifier is required.
Customer email. Used to resolve or create a customer when customerId is not provided.
Merchant-side customer ID used to resolve, create, or bind a customer.
Merchant-side reference ID for reconciliation.
Promotion code to apply.
Merchant metadata. Values must be strings.
Platform type. Supported values are WEB and WAP.
WEB, WAP Device type. Supported values are Android and iOS.
Android, iOS Response
Subscription created successfully
Response status code, 200 when success
200
Brief description of what happened, 'success' when happy case
"success"
Response data returned after creating a subscription. It contains the subscription, order, and invoice identifiers, together with the payment flow result.