Skip to main content
POST
Create a payment intent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
required

The amount for the payment intent

Example:

1000

currency
string
required

The currency for the payment intent

Example:

"AED"

planCode
string

The plan code associated with the payment intent (for subscriptions)

Example:

"PREMIUM_MONTHLY"

seats
number

Number of seats (for subscriptions)

Example:

1

userEmail
string

The user email for the payment intent

Example:

"test@test.com"

userName
string

The user name for the payment intent

Example:

"John Doe"

chargeCode
string

The entitlement code for the addon

Example:

"EXTRA_STORAGE"

quota
number

The quota amount for the addon

Required range: x >= 1
Example:

100

isRenewable
boolean
default:false

Whether the addon can be automatically renewed

Example:

true

Response

Payment intent created successfully