API Reference

Integrate your applications with simple calls

Introduction

This is the most commonly known type of integration that you need to accelerate your business applications. The payment gateway integration will be done in simple few steps, minimum development efforts, and with various capabilities. Here, you display to your customer a list of the enabled and available gateways at your portal account. So, they can select which one suitable for their needs and they will be redirected directly to the gateway page to finish their payment.

How it works :

From a technical point of view, you have to get this integration done within your application with two simple calls to our API. The two calls to achieve this will be:

Call getpaymentmethods endpoint (step one):
This step will simply return all available and enabled Payment Methods of your portal account with the commission charge that the customer may pay on the gateway. You can call it once and store the information at your end, then use that information in the next call.

Call ExecutePayment endpoint:
This step will launch the actual transaction at the Fawaterak platform by using the PaymentMethodId parameter. It will return a payment URL. After that, use this payment URL to redirect your customers to the payment page.