Виплати через Paytm
Для проведення зарахувань на електронні гаманці Paytm в Індії запит до 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 | ✅ | 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 | ✅ | paytm |
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 |
customer_email | String | ✅ | recipient’s email address |
customer_phone | String | ✅ | recipient’s phone number |
customer_ip | String | ✅ | recipient’s IP |
properties.account_number | String | ✅ | PayTM wallet or phone number (always 10 digits) |
properties.trusted | Boolean | ✅ | whether the trusted payer |
Значення параметру payway
має бути передане як paytm
.
Приклад запиту:
{
"pos_id": "'$POS_ID'",
"mode": "direct",
"method": "credit",
"amount": 1,
"payway": "paytm",
"currency": "INR",
"order_id": "'$ORDER_ID'",
"description": "Description",
"customer_fname": "John",
"customer_lname": "Doe",
"customer_email": "[email protected]",
"customer_phone": "380991111111",
"customer_ip": "1.2.3.4",
"order_3ds_bypass": "supported",
"properties": {
"trusted": true,
"account_number": "1234567890"
},
"server_url": "http://callback-stub:9000/consume",
"result_url": "https://example.com/result"
}