Перейти до основного вмісту

Онлайн-банкінг в Індії

Для підключення онлайн-банкінгу в Індії необхідне використання direct-інтеграції. Запит на створення платежу повинен містити такі параметри:

ParameterTypeRequiredDescription
pos_idUUIDMerchant's identifier (POS_ID)
modeMODEdirect
methodMETHODPayment method (purchase)
amountNumberTransaction amount. Must be a positive number. The number of decimal digits must be less than or equal to 2 (e.g., 100.00, 250, 50.50)
currencyCURRENCYTransaction currency (ISO_4217)
order_3ds_bypassString3-D Secure flow option
order_idStringUnique identifier of order
descriptionStringPayment description
paywayStringbanking
server_urlURLWebhook notification will be sent to this URL
result_urlURLCustomer will be redirected to this URL after payment.
customer_lnameStringpayer’s surname
customer_fnameStringpayer’s name
customer_emailStringpayer’s email address
customer_phoneStringpayer’s phone
properties.instrument_typeStringinstrument type (online_banking)
properties.instrument_methodStringinstrument method alias

Приклад запиту:

{
"pos_id": "00000000-0000-0000-0000-000000000000",
"mode": "direct",
"amount": 100,
"method": "purchase",
"currency": "INR",
"payway": "banking",
"order_3ds_bypass": "supported",
"customer_lname": "Doe",
"customer_fname": "John",
"customer_email": "[email protected]",
"customer_phone": "380990000000",
"description": "Description",
"order_id": "1234567890",
"properties": {
"instrument_type": "online_banking",
"instrument_method": "BANK_BANK_OF_INDIA"
},
"server_url": "http://callback-stub:9000/consume",
"result_url": "https://google.com"
}