Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Transaction amount. Values must be passed in the base units of their currency. For example, $10.50 should be provided as 1050
.
Currency code of the amount to charge. This should be a 3-letter ISO-4217 currency code. For example, if you wish to charge 10 AED, you should pass AED. For more information on supported currencies, please visit the supported currencies page
3
A message to be displayed to the user on the hosted payment page
The URL to be called by the hosted web page when the payment is successful
The URL to be called by the hosted web page when the payment is cancelled
Url where user will be redirected after failed payment
Whether to create a test payment. Test payments do not require a payment method and can be used to test the payment flow. You won't be charged for this call. You can use test cards to test the payment flow.
Unix timestamp in milliseconds, must be a future date
Whether to allow tips for this payment intent
Response
Created payment intent
id of the payment intent
Account which will receive payment
Transaction amount. Values must be passed in the base units of their currency. For example, $10.50 should be provided as 1050
.
The amount of tips to be added to the payment intent
Currency code of the amount to charge. This should be a 3-letter ISO-4217 currency code. For example, if you wish to charge 10 AED, you should pass AED. For more information on supported currencies, please visit the supported currencies page
Unix timestamp in milliseconds
Unique client generated UUID. In case of retries provide the same operation_id
The amount of fees paid for this payment intent
A message to be displayed to the user on the hosted payment page
The URL to be used to redirect the client to the hosted payment page
The URL to be called by the hosted web page when the payment is successful
The URL to be called by the hosted web page when the payment is cancelled
An error that was encountered while processing the payment intent
Whether tips are allowed for this payment intent