Redirect Integration
Initiate Session
Initiate new session for a payment. This endpoint will help you get the paymentURL
that you can use to redirect the customer to in order to complete the payment.
POST
Query Parameters
The API Key of your account.
Set this property to true
to send the request to the development
environment.
Response properties
A boolean value indicates the response status.
A boolean value indicates the development environment status.
The payment URL that you’ll use to redirect the cusotmer to complete the payment. It’s a link for a hosted page that will provide multiple payment methods that can be choosed by the customer to pay the invoice.
Error Codes
Here’s a list of possible error codes of this endpoint.
Code | Description |
---|---|
1 | Missing or invalid api key |
2 | CallBackUrl is a required parameter. |
3 | UserDefinedField is a required parameter. |
4 | InvoiceValue is a required parameter. |
5 | Suppliers is a required parameter. |
6 | ErrorUrl is a required parameter. |
7 | CallBackUrl should be a valid URL. |
8 | UserDefinedField should be an array. |
9 | InvoiceValue should be greater than zero. |
10 | Suppliers should be an array. |
11 | ErrorUrl should be a valid URL. |