Create a subscription
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/jsonBody
Subscription request body
merchantIdstringRequiredExample:
Merchant ID in the system
6c3428c6-c8b8-444f-9ab0-78c864df1719billingLinkIdstringRequiredExample:
Payment link identifier (coins will be debited from the linked address)
8a19100c-e2ec-46ba-932f-682d2df79d8btitlestringRequiredExample:
Subscription name
PremiumdescriptionstringOptionalExample:
Subscription Description
Premium subscription. With premium subscription u can use premium functionsspendIntervalintegerRequiredExample:
Write-off period in minutes. For convenience, you can specify: -1 - daily write-off; -2 - weekly write-off; -3 - monthly write-off;
-1currencystringRequiredExample:
Payment currency. You can specify a fiat currency or any other, the amount will be automatically converted to the currency of the payment link
USDamountstringRequiredExample:
Payment amount in the specified currency
7.99webhookUrlstringOptionalExample:
Subscription charge notification URL
https://merchant.domain/webhooks/subscriptionResponses
200Success
application/json
Successful response
successbooleanRequired
Request success indicator
post
/api-gateway/recurrents/create-subscription200Success
Last updated