Create a payment intent
Payments
Create a payment intent
POST
Create a payment intent
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The amount for the payment intent
Example:
1000
The currency for the payment intent
Example:
"AED"
The plan code associated with the payment intent (for subscriptions)
Example:
"PREMIUM_MONTHLY"
Number of seats (for subscriptions)
Example:
1
The user email for the payment intent
Example:
"test@test.com"
The user name for the payment intent
Example:
"John Doe"
The entitlement code for the addon
Example:
"EXTRA_STORAGE"
The quota amount for the addon
Required range:
x >= 1Example:
100
Whether the addon can be automatically renewed
Example:
true
Response
Payment intent created successfully