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

Виплати через Paytm

Для проведення зарахувань на електронні гаманці Paytm в Індії запит до API Tranzzo повинен містити такі параметри:

ParameterTypeRequiredDescription
pos_idUUIDMerchant's identifier (POS_ID)
modeMODEdirect
methodMETHODPayment method (credit)
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
paywayStringpaytm
server_urlURLWebhook notification will be sent to this URL
result_urlURLCustomer will be redirected to this URL after payment.
customer_fnameStringrecipient’s first name
customer_lnameStringrecipient’s last name
customer_emailStringrecipient’s email address
customer_phoneStringrecipient’s phone number
customer_ipStringrecipient’s IP
properties.account_numberStringPayTM wallet or phone number (always 10 digits)
properties.trustedBooleanwhether 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"
}