Skip to main content

One-time payments

Below you will find two general scenarios of how to make a one-time payment. You can pass card details with open parameters or use the payment form. In both cases, you must comply with the PCI DSS requirements.

All API operations are carried out within a payment session. 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.

Sequence diagram of payments without use of the payment form

SequencePCIDSS