Our payments API is designed for our merchants to scale their payments with more channels or more volume while enjoying diminishing development work for every new addition. The integration concepts are designed to be simple and reusable. On average, merchants can expect a quick go to market in weeks for simple use cases while more complex use cases can take up to a month.
Endpoints
There are 3 integration endpoints that helps to serve our Payments API features:
v3/payment_requests
- to initiate a payment and configure the payment flowv3/payment_tokens
- to save payment information for reuse/refunds
- to return money back to the end user
You can connect to these endpoints based on your needs. For the majority of payments use cases, we recommend v3/payment_requests
as it covers a wide coverage of payment scenarios.
Creating a payment
Creating a payment is as simple as hitting our v3/payment_requests
endpoint with a few lines of code. You can find our detailed integration guides here.
Example of a request payload
Request - POST /payment_requests
| Response - POST /payment requests
|
Our v3/payment_requests
endpoint follows REST API standards and covers the ability to collect payments for the following scenarios:
PAY
with token - collect a regular payment from the end user using saved payment information.PAY_AND_SAVE
- collect a regular payment from the end user while saving their payment information as a token for future use.REUSABLE_PAYMENT_CODE
- collect multiple payments using an allocated payment code for a user or a store. An example could be a static QR code or a fixed bank account number.
Once the endpoint is called to create a payment transaction, our API will dynamically guide your system on the next step to take with the end user.
For payments over Card networks (e.g. Visa, Mastercard), there are additional requirements when it comes to integration. You can find the information here.
Payment confirmation
Our API provides real-time payment confirmation to keep your system synchronized. When a payment requires no further action from the end-user and is completed, our API instantly notifies your system synchronously on our endpoint and currently sends a webhook notification to your system. For payments requiring end-user action, such as 3D Secure authentication, we’ll send a webhook notification to your system the moment the payment is completed. You can find our recommendations for handling webhooks here.
We strive for instant payment confirmation and relay the confirmation from the payment provider to you as soon as we receive it. Please note that some payment providers may have delayed confirmation flows, which may impact the immediacy of the notification.