Create Subscription
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.
USD
Your identifier of the order
Details about the customer
Description of the order, if any
The URL we will callback to with the order status once it finishes.
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.
Response
Unique identifier of the subscription
Timestamp of when the subscription was created
The URL to redirect the customer to the xPay payment gateway for payment.
Was this page helpful?