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

Get MobilExpress Card List Page context

Returns the list of stored cards available for the current user from the MobilExpress gateway. The user selects one of these cards to proceed with payment.

Preconditions:

  • Basket must not be empty

  • Payment option must be selected and must be MobilExpress type (check_mobilexpress_payment_selected)

  • MobilExpressSelectionPage must have been completed and, if OTP was required, OTP verification must also have been completed (check_user_source)

Skip Conditions:

  • Page is skipped when a card has already been selected (me_card_token, me_masked_card_number, and card_info are all set).

Page Context:

  • cards: List of stored cards returned by the gateway. Each card contains:

    • masked_card_number: Partially masked PAN (e.g., "450803******1234")

    • card_token: Opaque token identifying the card

    • is_expired: Whether the card is expired (may be null)

    • last_year: Card expiry year (may be null)

    • last_month: Card expiry month (may be null)

get
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>)

Responses
200

Card list page context retrieved

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=MobilExpressCardListPage
GET /orders/checkout/?page=MobilExpressCardListPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200

Card list page context retrieved

{
  "context_list": [
    {
      "page_name": "MobilExpressCardListPage",
      "page_slug": "mobilexpresscardlistpage",
      "page_context": {
        "cards": [
          {
            "masked_card_number": "450803******1234",
            "card_token": "token-abc",
            "is_expired": false,
            "last_year": 2026,
            "last_month": 12
          },
          {
            "masked_card_number": "554960******5678",
            "card_token": "token-def",
            "is_expired": true,
            "last_year": 2023,
            "last_month": 6
          }
        ]
      }
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?