Subscription Link
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
The amount in lowest count unit. e.g.: For USD 1, amount is 100 representing 100 cents (The minimum amount should be greater than 1 USD)
Three letter abbreviation of the currency. Refer supported currencies
Details about the customer
Timestamp in epoch milliseconds, indicating the expiration time of the link
The interval group between subscriptions.
DAY
, WEEK
, MONTH
, YEAR
The number of intervals between subscription billings. For example, interval = MONTH
and intervalCount = 3
bills every 3 months.
The number of billing cycles for which the subscription will renew before ending. The first cycle is included in this count.
Your identifier of the order
The description of the order, if any
The amount to be charged at the start of the subscription. The upfront amount replaces the first subscription cycle amount. Regular amount apply from the next cycle.
Response
The shortened URL generated by the xPay API. This link can be shared with customers for completing payments.
Was this page helpful?