Онлайн-банкінг в Філіппінах
Для підключення онлайн-банкінгу на Філіппінах необхідне використання direct-інтеграції. Запит на створення платежу повинен містити такі параметри:
Parameter | Type | Required | Description |
---|---|---|---|
pos_id | UUID | ✅ | Merchant's identifier (POS_ID ) |
mode | MODE | ✅ | direct |
method | METHOD | ✅ | Payment method (purchase ) |
amount | Number | ✅ | Transaction 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) |
currency | CURRENCY | ✅ | Transaction currency (ISO_4217) |
order_3ds_bypass | String | ✅ | 3-D Secure flow option |
order_id | String | ✅ | Unique identifier of order |
description | String | ✅ | Payment description |
payway | String | ✅ | banking |
server_url | URL | Webhook notification will be sent to this URL | |
result_url | URL | Customer will be redirected to this URL after payment. | |
customer_fname | String | ✅ | recipient’s first name |
customer_lname | String | ✅ | recipient’s last name |
properties.payment_type | String | ✅ | payment type |
properties.pay_method | String | ✅ | bank ID |
properties.account_number | String | ✅ | recipient’s bank account number |
customer_ip | String | recipient’s IP |
Приклад запиту:
{
"pos_id": "'$POS_ID'",
"mode": "direct",
"method": "credit",
"payway": "banking",
"amount": 100,
"currency": "PHP",
"customer_fname": "John",
"customer_lname": "Doe",
"customer_ip": "1.2.3.4",
"description": "Test payment",
"order_id": "'$ORDER_ID'",
"order_3ds_bypass": "supported",
"server_url": "http://callback-stub:9000/consume",
"result_url": "http://www.google.com/"
"properties": {
"payment_type": "philippinesWallet",
"pay_method": "coinsph",
"account_number": "12345678"
}
}