Payment intents
Payment Intents
Payment intents collect the information from your checkout and send it to the Amplify API. In addition to that, they save and update the status of the entire process.
Status
CREATED
The checkout process was started but the payer has not selected the amount nor the payment method to be used.
WAITING FOR PAYMENT
The payer selected the token, network, amount, payment method, and we are waiting for the funds to be received to the right address.
COMPLETED
The payment is completed successfully
ERROR
There was an error with the payment.
TIMEOUT
The payer took more than 15 minutes to transfer the required funds. The transaction is thus invalid.
API
Most endpoints require authentication. In the request headers you must send the following:
Returns a specific payment intent
Response
Note: The clientSecret is obtained when creating the payment intent
Creates a new payment intent
Authentication required
Body
Response
Returns the status of a payment intent
Body
Response
Última actualización