Skip to main content
POST

Authentication

This endpoint requires a Bearer token in the Authorization header.

Body Parameters

number
required
The payment amount in the specified fiat currency. Must be greater than zero.
string
required
The fiat currency for the payment. Supported values: USD, LKR.
string
required
A human-readable description of what the payment is for. Displayed to the customer during checkout.
string
The customer’s email address. If provided, a payment receipt will be sent upon completion.
object
An arbitrary key-value object to attach to the payment. Useful for storing your internal order ID or reference codes.
string
The URL to redirect the customer to after the payment is completed or cancelled.

Response

string
Unique identifier for the payment.
string
Current payment status. One of: initiated, pending, confirming, paid, failed, expired.
number
The fiat amount of the payment.
string
The fiat currency (USD or LKR).
string
The equivalent amount in cryptocurrency (USDT) that the customer needs to send.
string
The blockchain wallet address the customer should send funds to.
string
URL to a QR code image encoding the crypto address and amount for easy scanning.
string
A hosted checkout page URL where the customer can complete the payment.
string
ISO 8601 timestamp indicating when the payment will expire if not completed.

Payment Statuses