API Overview
Integrate thousands of cryptocurrencies in 5 easy steps
Last updated
Integrate thousands of cryptocurrencies in 5 easy steps
Last updated
To integrate with Paymento, you'll first need to create a merchant account at https://app.paymento.io and obtain an API Key. This key is essential for all API calls, enabling your application to communicate with Paymento's services.
The figure below shows how stores connect with Paymento through APIs.
1) To initiate a payment, your online store must send a payment request to the Paymento API.
2) A successful request will create an order for the transaction and return a token in the response. This token is used to redirect the user to the payment page.
3) With the token received from creating the payment request, redirect the user to the Paymento payment page where they can choose from the allowed cryptocurrencies to complete the payment.
Payment URL: https://app.paymento.io/gateway?token=TOKEN_HERE
Replace TOKEN_HERE
with the token you received in the previous step.
4) After the payment is made, Paymento sends the payment status and details to the callback URL you've specified. Also, the end user will be redirected back to your site.
5) It's crucial to verify the payment to finalize the order on your end. Upon receiving the payment notification, make an API call to confirm the payment status with the token you received.