Alternative Payment Methods
Checkout Alternative Payment Methods
Authentication
Request Format
Dynamic Settings
CASH_REGISTER_AUTH_CONF
INSTALLMENT_FILTERS
Static Settings
DEFAULT_CARD_SLUG
GPAY_BIN_NUMBER
CASH_REGISTER_DEFAULTS
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
BKM Express selection page context retrieved
BKM Express selection page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
User must accept terms and conditions to proceed. Must be true.
BKM Express session initiated successfully
BKM Express session initiated successfully
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
BKM Express BIN number page context retrieved
BKM Express BIN number page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
First 6 or 8 digits of the card (BIN - Bank Identification Number). Used to identify the card type and available installment options for BKM Express. Must contain only digits.
542119Pattern: ^\d{6,8}$BIN number submitted successfully
BIN number submitted successfully
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
BKM Express nonce page context retrieved
BKM Express nonce page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Order identifier as returned by the BKM Express callback. Corresponds
to the order number assigned in BexSelectionPage.
ORD-2026-0001Transaction identifier issued by BKM Express. Must match the
transaction_id stored in the pre-order session data from BexSelectionPage.
TXN-20260401-001Nonce received and stored successfully
Nonce received and stored successfully
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
BKM Express installment selection page context retrieved
BKM Express installment selection page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
The installment count to select (e.g., 1 for single payment, 3 for
three installments). This is not a primary key. The system resolves
the matching active Installment record for the card by installment_count.
3Installment selected successfully
Installment selected successfully
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
BKM Express complete page context retrieved
BKM Express complete page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
No user-supplied fields. Submit an empty body or omit the body entirely. Input is read automatically from the server-side nonce cache.
BKM Express order finalised successfully
BKM Express order finalised successfully
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
GPay Selection Page context retrieved
Redirect to basket (empty basket) or login (guest purchase not allowed)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Confirmation payload for the GPay selection step. The request body must be submitted empty — any fields present will cause the request to be rejected with a validation error. This design reflects the nature of the step: the customer simply confirms their GPay selection, and no additional data entry is required. The system resolves the card type and order number automatically upon submission.
GPay card resolved. On success the pre-order is updated with the resolved card information and order number, and the flow advances to GPayRedirectPage. On BIN number lookup failure the pre-order state is cleared but no error is raised — check card_info: null on the pre_order to detect this condition.
Redirect to basket (empty basket) or login (guest purchase not allowed)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
GPay Redirect Page context retrieved
GPay Redirect Page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
No input fields are required for this step. The request body must be empty. Any fields submitted in the body are not processed by this page and will not cause a validation error; however, the Garanti Pay gateway is not involved at this step, so gateway-specific parameters are irrelevant here.
Redirect transaction initiated — flow advancing to GPayCompletePage
Redirect transaction initiated — flow advancing to GPayCompletePage
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
GPay Complete Page context retrieved
Redirect to basket (empty basket) or login (guest purchase not allowed)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Callback payload posted by the Garanti Pay gateway after the customer
completes the payment on the provider's hosted form.
All three fields are required. gpay and success must both be true
for the payment to be accepted. gpinstallment carries the instalment
count selected by the customer on the Garanti Pay form and is resolved
against the active instalment options for the pre-order's card.
The full payload (including any additional fields returned by the gateway)
is also verified against a gateway-specific HMAC hash. Payloads that fail
hash verification are rejected regardless of the gpay and success
values.
Garanti Pay authorisation flag returned by the gateway. Must be true; any other value is treated as a failed transaction.
Payment success flag returned by the gateway. Must be true; any other value is treated as a failed transaction.
Instalment count selected by the customer on the Garanti Pay hosted form (e.g. "1" for a single payment, "3" for three instalments). The value is resolved against the active instalment records for the pre-order's card. If no matching active instalment is found the resolved instalment on the pre-order is set to null.
3GPay callback processed. On success the order is finalised and the flow advances to ThankYouPage. On failure a full rollback is performed and a validation error is returned so the customer may retry from the payment selection step.
Redirect to basket (empty basket) or login (guest purchase not allowed)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Cash register page context retrieved
Redirect to basket (empty basket) or login (guest purchase not allowed)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Local store staff identifier assigned by the store management system
Email address of the store staff member initiating the transaction
Local store identifier assigned by the store management system
Remote system identifier for the store staff member
Remote system identifier for the store
User must accept terms and conditions to proceed. Must be true. Basket amount must be greater than zero.
Cash register payment agreement submitted successfully
Redirect to basket (empty basket)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Cash register installment selection page context retrieved
Redirect to basket (empty basket)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Primary key of the selected installment option.
Must reference an active installment record.
Mutually exclusive with no_installment — exactly one must be provided.
Explicit confirmation to proceed without installment.
Must be true when provided.
Mutually exclusive with installment — exactly one must be provided.
Installment selection submitted successfully
Redirect to basket (empty basket)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Cash register complete page context retrieved
Redirect to basket (empty basket)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
No request body fields are required for this submission. The system validates internally that a successful cash register transaction exists for the current pre-order.
Cash register payment completed and order created successfully
Redirect to basket (empty basket)
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Confirmation Payment Query Page context retrieved
Confirmation Payment Query Page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Gateway-dependent input for the confirmation payment polling step. Most gateways (TomPay, Apple Pay, default) require no fields — submit an empty body for those. Gateway-specific fields are listed below.
Paycell only. 4-digit one-time password sent to the user's registered
phone number. Required when the active gateway is paycell.
1234PosAs Gift Card only. The gift card number. Required when the active
gateway is posas_giftcard.
1234567890123456PosAs Gift Card only. 4-digit PIN for the gift card. Required when the
active gateway is posas_giftcard. Must consist of exactly 4 digits.
1234Pattern: ^\d{4}$Payment query result
Payment query result
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Confirmation Payment Selected Page context retrieved
Confirmation Payment Selected Page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Must be true to accept the standard checkout order agreement
(OrderAgreementInputSerializer) and initiate the confirmation payment
via the gateway's start_payment call. This is distinct from the
gateway-specific pre-payment agreement accepted in
ConfirmationPaymentAgreementConfirmPage. The user must also be a
registered (non-anonymous) user with a valid phone number.
Submitting false returns a validation error.
truePayment initiated or error
Payment initiated or error
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Agreement check page context retrieved
Agreement check page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Agreement check completed
Agreement check completed
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Agreement Confirm Page context retrieved
Agreement Confirm Page context retrieved
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Must be true to accept the pre-payment terms and conditions and trigger
the gateway's enable_payment call. Submitting false returns a
validation error.
trueAgreement accepted or error
Agreement accepted or error
Last updated
Was this helpful?

