Skip to main content

One-time payments

Below you will find two general scenarios of how to make a one-time payment. If you do not have PCI DSS, choose the widget payment scenario.

All API operations are carried out within a payment session: PaymentSession. One payment session can include several operations: for example, you can accept and then refund a payment.


To create a one-time payment, complete the following steps:
  1. Create a payment session sending a session/create request.

    Alternatively, you can use the session-init-payment method. In this case, specify all the payment parameters right away and skip the next step.

  2. Send a session/start/payment request to start the payment.

  3. Wait for a ready_to_confirm webhook. When you receive it, it means that Smart Glocal is ready to make the payment and is waiting for your confirmation.

  4. Send a session/confirm request or a session/cancel request to confirm or cancel the operation.

  5. If you receive an action_required webhook, it means that you need to take an additional action to perform the payment. For instance, the user might need to go through 3D Secure. Redirect the user for 3D Secure authentication using the link from the webhook.

  6. Wait for a payment_finished webhook containing the result of the payment. If the status is succeeded, the payment was successful. To learn more about the payment statuses, see here.

Sequence diagram of payments with PCI DSS

SequencePCIDSS