Payment via the Partner's website
If the Partners have a PCI DSS certificate, they can accept payment card data from customers themselves and send payment requests to the Octo payment system. In this case, the prepare_payment
method is also called, but in this case directly from the Partner's server.
1. One-Stage Payment
A one-stage payment is configured using the prepare_payment
method by setting the parameter auto_capture = true
, which is the default value in the request body. In this payment process, funds are debited immediately without requiring additional confirmation of the amount by the Partner.
2. Two-Stage Payment
A two-stage payment is configured using the prepare_payment
method by specifying the parameter auto_capture = false
in the request body. In this payment process, the client's funds are held and it is necessary to invoke the set_accept
method to confirm the transaction amount. There are two possible scenarios: when the confirmed amount equals the held amount or when the confirmed amount is less than the held amount.