p2p_mtb
Создание запроса на выплату
post/api/v1/payment_payoutP2P_MTB
Request
- Base URL: https://securesandbox.webpay.by
- URL: https://securesandbox.webpay.by/api/v1/payment_payoutP2P_MTB
- Auth: none declared
Request body
Example request
{
"wsb_order_num": "ORDER-12345678",
"wsb_currency_id": "BYN",
"wsb_version": 2,
"wsb_seed": "1242649174",
"wsb_total": 31.4,
"wsb_token_p2p": "164941648452655",
"wsb_output_via_corpocard_mtb": true,
"wsb_customer_id": "97564136",
"wsb_signature": "ded78225b032ab3cbf4c47273837af20b193d500",
"wsb_3ds_payment_option": "force_3ds",
"wsb_invoice_item_name": [
"Товар 1",
"Товар 2"
],
"wsb_invoice_item_quantity": [
2,
1
],
"wsb_invoice_item_price": [
10,
0.5
],
"wsb_store": "Название Вашего магазина",
"wsb_language_id": "russian",
"wsb_redirect": 1,
"wsb_return_format ": "json",
"wsb_return_url": "http://yoursiteurl.com/success.php",
"wsb_cancel_return_url": "http://yoursiteurl.com/cancel.php",
"wsb_notify_url": "http://yoursiteurl.com/notify.php",
"wsb_customer_name": "Иванов Петр Петрович",
"wsb_customer_address": "Минск ул. Шафарнянская д.11 оф.54",
"wsb_service_date": "Доставка до 1 января 2022 года",
"wsb_tax": 10.5,
"wsb_shipping_name": "Стоимость доставки",
"wsb_shipping_price": 0.98,
"wsb_discount_name": "Скидка на товар",
"wsb_discount_price": 0.58,
"wsb_order_tag": "Договор №152/12-1 от 12.01.19",
"wsb_email": "ivanov@test.by",
"wsb_phone": "375291234567",
"wsb_order_contract": "Договор №152/12-1 от 12.01.19",
"wsb_tab": "cardPayment",
"wsb_startsessdatetime": "2020-10-22T16:20:01+03:00"
}Response
Payout response
object required
Example response
{
"status": "success",
"response": {
"transactionId": "462-628ce8f409a5a",
"appId": "802628ce88872d35",
"transferResult": {
"fullResult": {
"paymentAmount": 200,
"commissionAmount": 0,
"currency": "933",
"dateTimeLocal": "2024-11-26T15:56:43+03:00"
},
"sender": {
"number": "123456******1234",
"rrn": "123456789012",
"approvalCode": "123456"
},
"recipient": {
"number": "654321******4321",
"rrn": "210987654321",
"approvalCode": "654321"
}
},
"discriminator": "ConfirmTransferRs"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.