Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Спрощений механізм прийому платежів через API інтернет-еквайрінгу UAPAY

з використанням платіжної сторінки UAPAY

1. Оплата товарів, робіт і послуг

1.1. На стороні торговця / партнера

...

Simplified payment acceptance mechanism via the UAPAY internet acquiring API
Using the UAPAY payment page

1. Payment for goods, works and services

1.1. On the side of the merchant /partner

  • The buyer/client selects goods, services, works on the website of the merchant/partner and carries out the formation of the order.
  • The buyer/client chooses UAPAY online acquiring API as payment method
  • In this case, there is a transfer of the request to create a session. The request is made by the method POST /api/sessions/create

...

1.2. На стороні UAPAY після отримання запиту на створення сесії

...

On the side of the UAPAY after receiving a session request

The request is processed and the session ID is passed in response to the request using the POST api/sessions/create ідентифікатор сесії method.

1.3. На стороні торговця / партнера після отримання ідентифікатору сесії

...

 On the side of the merchant /partner after receiving the session ID

A request to create an invoice using the POST api/invoicer/invoices/create method is generated and sent to UAPAY.

1.4. На стороні UAPAY після отримання запиту на створення інвойсу

...

 On the side of the UAPAY after receiving the invoice request

Processes the request and passes in response to the request by the method POST api/invoicer/invoices/create:

  • ID – інвойсу- invoice;
  • Адресу сторінки платежуPayment page address;
  • Адресу QR коду сторінкиThe page QR code address.

2. Повернення коштів клієнту у випадку виникнення необхідності скасування платежу (звернення покупця / клієнта, неможливості виконати замовлення і т.і       За умови, якщо інвойс є одноразовим, то зверніть увагу, що оплата за таким інвойсом можлива виключно один раз, для наступної спроби оплати необхідно здійснити нову генерацію інвойсу.

Image Removed

If the invoice is one-time, please note that payment for such an invoice is possible only once, for the next attempt to pay you need to make a new invoice.

Image Added


2. Refund to the customer in case of need to cancel the payment (customer/client request, inability to fulfill the order, etc.)

2.1. На стороні торговця / партнера

...

On the side of the merchant /partner

The request to cancel the invoice payment is sent using the POST api/invoicer/payments/reverseПри цьому можливо зазначити суму повернення меншу ніж сума платежу method 

It is possible to specify a refund amount less than the payment amount.

2.2. На стороні UAPAY після отримання запиту

...

On the side of the UAPAY after receiving the request

Processes the request and transmits in response to the request POST api/invoicer/payments/reverse даних про статус скасування платежу.

Механізм прийому платежів через API інтернет-еквайрінгу UAPAY (сервер-сервер)

1. Оплата товарів, робіт і послуг:На стороні торговця / партнера

1.1. На стороні торговця / партнера

...

 of the data on the status of the cancellation of payment.

UAPAY Internet Acquisition API (server-to-server) payment acceptance mechanism

1. Payment for goods, works and services: On the side of the merchant /partner

1.1. On the side of the merchant /partner

  • The buyer/client selects goods, services, works on the website of the merchant /partner and carries out the formation of the order.
  • The buyer/client chooses UAPAY online acquiring API as payment method.
  • In this case, there is a transfer request to create a session. The request is made by the method POST /api/sessions/create

...

1.2. На стороні UAPAY після отримання запиту на створення сесії

...

 On the side of the UAPAY after receiving a session request

The request is processed and the session ID is passed in response to the request using the POST api/sessions/create ідентифікатор сесії method.

1.3. На стороні торговця / партнера після отримання ідентифікатору сесії

...

 On the side of the merchant /partner after receiving the session ID

A request to create an invoice using the POST api/invoicer/invoices/create method is generated and sent to UAPAY.

1.4. На стороні UAPAY після отримання запиту на створення інвойсу

...

 On the side of the UAPAY after receiving the invoice request

Processes the request and passes in response to the request by the method POST api/invoicer/invoices/create:

  • ID – інвойсуinvoice;
  • Адресу сторінки платежуPayment page address;
  • Адресу The page QR коду сторінкиcode.

      За умови, якщо інвойс є одноразовим, то зверніть увагу, що оплата за таким інвойсом можлива виключно один раз, для наступної спроби оплати необхідно здійснити нову генерацію інвойсу.Image Removed  If the invoice is one-time, please note that payment for such an invoice is possible only once, for the next attempt to pay you need to make a new invoice.

Image Added

1.5. На стороні торговця / партнера після отримання відповіді на створення інвойсу

...

 On the side of the merchant /partner after receiving a response to the creation of the invoice

The answer is processed and using the data received from UAPAY and the client data the request for creation of payment of the invoice by POST api/invoicer/payments/create method is formed.

1.6. На стороні UAPAY після отримання запиту на створення платежу за інвойсом

...

 On the side of the UAPAY after receiving a request to create an invoice payment

The request is processed and sent in response to the request using the POST api/invoicer/payments/create method:

  • ID – інвойсуinvoice;
  • Ключ зберігання CVV key;
  • Адресу перенаправленняRedirection address.

1.7. На стороні торговця/партнера після отримання відповіді на створення платежу за інвойсом

...

 On the side of the merchant /partner after receiving a response to create an invoice payment

1.8. На стороні UAPAY після отримання запиту, на перевірку статусу за платежем

...

 On the side of the UAPAY after receiving the request, to check the status of the payment

Processes the request and sends in response to the POST api/invoicer/payments/checkStatus:

  • Статус за платежемPayment status;
  • Тип перевірки
  • Адресу перенаправлення (за необхідності)

...

  • Type of check;
  • Redirection address (if required).

Image Added

1.9. На стороні торговця / партнера після перевірки власника карти

...

 On the side of the merchant /partner after checking the cardholder

Using the data received from UAPAY and customer data, a request is formed to confirm the payment on the invoice, using the POST api/invoicer/payments/confirm method.

1.10. На стороні UAPAY після отримання запиту, на підтвердження платежу за інвойсом

...

 On the side of the UAPAY after receiving the request, to confirm the payment on the invoice

Processes the request and sends in response to the request by POST api/invoicer/payments/confirm:

  • ПомилкаError;
  • УспішноSuccess.

1.11. На стороні торговця / партнера після отримання на підтвердження платежу за інвойсом

...

 On the side of the merchant /partner after receiving the confirmation of payment on the invoice

Using the data received from UAPAY and customer data, a request is formed to check the status of the payment, using the POST api/invoicer/payments/checkStatus method.

...

1.12. На стороні UAPAY після отримання запиту, на перевірку статусу за платежем

...

 On the side of the UAPAY after receiving the request, to check the status of the payment

        Processes the request and passes in response to the request by POST api/invoicer/payments/checkStatus

...

 status:

  • Помилка Error (розгорнутаexpanded)
  • УспішноSuccess.

2. Повернення коштів клієнту у випадку виникнення необхідності скасування платежу (звернення покупця / клієнта, неможливості виконати замовлення і т.і Refund to the customer in case of need to cancel the payment (customer/client request, inability to fulfill the order, etc.)

2.1. На стороні торговця / партнера

...

 On the side of the merchant /partner

        The request to cancel the invoice payment is sent using the POST api / invoicer / payments / reverse

...

 method 

         It is possible to specify a refund amount less than the payment amount.

...

2.2. На стороні UAPAY після отримання запиту

...

 On the side of the UAPAY after receiving the request

Processes the request and passes in response to the POST request api / invoicer / payments / reverse даних про статус скасування платежу. data on the status of the cancellation of payment