Payments Links
This API can be used to generate payment links programmatically. Payments links are basically standalone webpages where your customer can make a one time payment. These do not need any integrations.
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
Your identifier of the order
Details about the customer
The description of the order, if any
Timestamp in epoch milliseconds, indicating the expiration time of the link
Response
The shortened URL generated by the xPay API. This link can be shared with customers for completing payments.
Was this page helpful?