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)MobilExpressSelectionPagemust 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, andcard_infoare 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 cardis_expired: Whether the card is expired (may benull)last_year: Card expiry year (may benull)last_month: Card expiry month (may benull)
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>)
Card list page context retrieved
GET /orders/checkout/?page=MobilExpressCardListPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
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?

