Skip to content

E-Manat

Payment flow

The E-Manat payment flow contains the following steps:

  1. You initiate a payment request.
  2. You redirect your customer to the URL received in the response to your payment request.
  3. Your customer completes the payment on the provider's payment page.
  4. You get a webhook notification about a payment status, if you send notification_url in the payment request.

This integration option supports the following operations:


Payment

Request

Send a payment request with the following additional parameters:

Parameter Type Description
amount * required
integer Specify the parameter value as 0
method object A section of the payment method.
type * required
string e_manat
user_name * required
string The customer's name or user ID.
customer object A section of the customer's details.
first_name * required
string The customer's first name.
last_name * required
string The customer's last name.
phone string The customer's phone number.
Response

The payment response additionally contains the e_manat section with the name of the payment method, as well as the form section with the URL of the provider's payment page. Redirect your customer to the URL received as a value of the form.action parameter.

Warning

The amount parameter value in the webhook notification and in the response to the transaction status query will be different from the value sent in the request and will equal the amount of the transaction that the customer made on the provider's payment page.


Payout

Request

Send a payout request with the following additional parameters:

Parameter Type Description
method object A section of the payment method.
type * required
string e_manat
user_name * required
string The customer's name or user ID.
customer object A section of the customer's details.
first_name * required
string The customer's first name.
last_name * required
string The customer's last name.
phone * required
string The customer's phone number.
Response

The payout response will contain the same parameters as the request. The payout result will be sent to the merchant in the webhook notification.


Payment status query

To check a status of the payment, send a transaction status query.