Виплати через Papara
Для проведення зарахувань на електронні гаманці Papara в Туреччині запит до API Tranzzo повинен містити такі параметри:
Parameter | Type | Required | Description |
---|---|---|---|
pos_id | UUID | ✅ | Merchant's identifier (POS_ID ) |
mode | MODE | ✅ | direct |
method | METHOD | ✅ | Payment method (credit ) |
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 |
order_3ds_bypass | String | ✅ | 3-D Secure flow option |
order_id | String | ✅ | Unique identifier of order |
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 | ✅ | Recipient’s name |
customer_lname | String | ✅ | Recipient’s surname |
customer_email | String | ✅ | Recipient’s email |
customer_phone | String | ✅ | Recipient’s phone number |
properties.instrument_type | String | ✅ | Instrument type (wallet) |
properties.account_number | String | ✅ | Recipient’s account numbe |
properties.document_id | String | ✅ | Recipient’s document number |
Приклад запиту:
{
"pos_id": "00000000-0000-0000-0000-000000000000",
"mode": "direct",
"amount": 10,
"method": "credit",
"currency": "TRY",
"payway": "wallet",
"customer_fname": "John",
"customer_lname": "Doe",
"customer_email": "[email protected]",
"customer_phone": "380000000000",
"properties": {
"instrument_type": "wallet",
"account_number": "00000000000",
"document_id": "10010001001"
},
"order_3ds_bypass": "supported",
"description": "Description",
"order_id": "1234567890",
"server_url": "http://callback-stub:9000/consume",
"result_url": "https://google.com"
}