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

Papara

Підключення платіжного методу Papara для прийняття оплат у Туреччині вимагає використання direct-інтеграції. Запит на створення платежу повинен містити такі параметри:

ParameterTypeRequiredDescription
pos_idUUID✅Merchant's identifier (POS_ID)
modeMODE✅hosted
methodMETHOD✅Payment method (auth or purchase)
amountNumber✅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)
currencyCURRENCY✅TRY
descriptionString✅Payment description
order_3ds_bypassString✅3-D Secure flow option
order_idString✅Unique identifier of order
customer_idStringCustomer identifier in merchant's system
descriptionStringPayment description
paywayStringwallet
server_urlURLWebhook notification will be sent to this URL
result_urlURLCustomer will be redirected to this URL after payment.
customer_fnameString✅Payer’s first name
customer_lnameString✅Payer’s last name
customer_emailString✅Payer’s email address
customer_phoneStringPayer’s phone number
customer_ipStringPayer’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"
}

інформація

Для роботи з виплатами через Papara ознайомтеся з інструкцією.