POST
/
payments
/
create-intent

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
amount
integer
required

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)

callbackUrl
string
required

The URL we will callback to with the order status once it finishes.

currency
string
required

Three letter abbreviation of the currency. Refer supported currencies

customerDetails
object
required

Details about the customer

description
string

The description of the order, if any

receiptId
string

Your identifier of the order

Response

200 - application/json
amount
integer

The amount in lowest count unit (e.g., cents for USD)

callbackUrl
string

Callback URL to notify order status

createdAt
string

Timestamp of when the intent was created

currency
string

Three-letter currency code

customerDetails
object
description
string

Description of the order, if any

mode
string

The mode in which the transaction was made (e.g., TEST or LIVE)

presentmentCurrency
string

The currency that the customer paid in

receiptId
string

Your identifier for the order

status
enum<string>

Current status of the intent

Available options:
CREATED,
INCOMPLETE,
SUCCESS,
FAILED,
REFUNDED,
DISPUTED,
DISPUTE_WON
xIntentId
string

Unique identifier of the intent