Workflows

Card payment via payment session (hosted)

The merchant system creates a payment session with createPaymentSession. The response contains action_required status with a redirectUrl to the payment page.

The customer is redirected, enters card data, and completes 3-D Secure if needed. Gate returns the customer to one of the merchant-provided returnUrls with result success, declined, or pending.

The merchant obtains payment status via webhook or the getPayment method.

Card payment with card data entered on the merchant site (using Gate for 3-D Secure)

The merchant collects card data and calls createPayment. Gate initiates the payment and returns action_required status with a redirectURL for 3-D Secure.

After the customer is redirected and performs 3-D Secure scenario, Gate synchronizes the payment status with processing and returns the customer to one of the returnUrls with success, declined, or pending.

The merchant obtains payment status via webhook or the getPayment method.

Refund

A refund is created by calling createRefund with the payment’s referenceId. Only full refunds are supported (refund amount equals payment amount).

The merchant obtains payment status from method response, via webhook or the getPayment method.

Payout to a customer card

The merchant collects card data and calls createPayout. Gate initiates the payout and returns either the execution result or pending. The merchant obtains payout status via webhook or getPayout.

Last updated