Mefete
Підключення платіжного методу Mefete для прийняття оплат у Туреччині вимагає використання direct-інтеграції. Запит на створення платежу повинен містити такі параметри:
Parameter | Type | Required | Description |
---|---|---|---|
pos_id | UUID | ✅ | Merchant's identifier (POS_ID ) |
mode | MODE | ✅ | hosted |
method | METHOD | ✅ | Payment method (auth or 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 | ✅ | TRY |
description | String | ✅ | Payment description |
order_3ds_bypass | String | ✅ | 3-D Secure flow option |
order_id | String | ✅ | Unique identifier of order |
customer_id | String | Customer identifier in merchant's system | |
description | String | Payment description | |
payway | String | wallet | |
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 | ✅ | Payer’s first name |
customer_lname | String | ✅ | Payer’s last name |
customer_email | String | ✅ | Payer’s email address |
customer_phone | String | Payer’s phone number | |
customer_ip | String | Payer’s IP |
Приклад запиту:
{
"pos_id": "00000000-0000-0000-0000-000000000000",
"mode": "direct",
"amount": 10,
"method": "purchase",
"currency": "TRY",
"payway": "wallet",
"customer_fname": "John",
"customer_lname": "Doe",
"customer_email": "[email protected]",
"order_3ds_bypass": "supported",
"description": "Description",
"order_id": "1234567890",
"server_url": "http://callback-stub:9000/consume",
"result_url": "https://google.com"
}
інформація
Для роботи з виплатами через Mefete ознайомтеся з інструкцією.