For the complete documentation index, see llms.txt. This page is also available as Markdown.

Confirm and initiate saved card payment

Submits the payment confirmation for the saved card transaction. Upon submission, the system evaluates whether 3D Secure authentication is required.

  • If 3D Secure is required, the response routes to SavedCardThreeDSecurePage with the redirect URL for the bank's 3D Secure flow.

  • If 3D Secure is not required, the payment is processed immediately and the response routes to ThankYouPage.

The accepted fields depend on the active payment gateway. Three input schemas are defined:

  • Standard gateways (SavedCardConfirmationInput): Only agreement is required.

  • Iyzico gateway (IyzicoSavedCardConfirmationInput): agreement and register_consumer_card are required. Either card_token (to charge an existing Iyzico card) or card_number with full card details (to pay with a new card) must also be provided.

  • PayU RO gateway (PayURoSavedCardConfirmationInput): agreement is required. Optional browser device fingerprint fields may be submitted for 3D Secure authentication.

Required Fields (all gateways):

  • agreement: Must be true.

Validation:

  • Basket amount must be greater than zero.

  • Available basket items are re-validated before payment is initiated.

Backward Navigation:

  • No state is reset on backward navigation.

Next Page:

  • SavedCardThreeDSecurePage — when 3D Secure authentication is required.

  • ThankYouPage — when payment completes without 3D Secure.

available_for_post_order: false

post
Header parameters
x-requested-withstring · enumRequired

Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.

Default: XMLHttpRequestPossible values:
CookiestringOptional

Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)

Body
or
or
Responses
200

Payment confirmed

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=SavedCardConfirmationPage
POST /orders/checkout/?page=SavedCardConfirmationPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18

"agreement=true"
200

Payment confirmed

{
  "context_list": [
    {
      "page_name": "SavedCardThreeDSecurePage",
      "page_slug": "savedcardthreedsecurepage",
      "page_context": {
        "redirect_url": "/orders/saved-card-redirect/"
      }
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?