this initiates a subscription request for a user; it returns an external link and a transaction ID; the external link is used to make the payment on a third-party platform;when an error occurs, such as a network failure, and the user makes the same intent to subscribe, the transaction ID should be sent along, to avoid transaction duplicates;
Request
Header Params
Authorization
stringÂ
required
Example:
Bearer <token>
Body Params application/json
tier
enum<integer>Â
required
Allowed values:
12
periodicRate
enum<string>Â
required
Allowed values:
monthlyyearly
transactionId
stringÂ
optional
initially, a transaction ID is returned in the response; if the same request is to be sent again, the transaction ID should be sent with it to ensure idempotency while retrying with the same request, and to avoid duplicate transactions;