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

Complete MobilExpress payment with CVV and OTP

Finalises the payment by submitting both the CVV and OTP to the MobilExpress gateway (finish_payment_process with both otp and cvv set). On success, the order is created.

Required Fields:

  • otp: The OTP code received by the user. Between 4 and 8 characters.

  • cvv: The 3-digit card security code.

Next Page: ThankYouPage

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
cvvstring · min: 3 · max: 3Required

3-digit card security code (CVV/CVC).

Example: 123
otpstring · min: 4 · max: 8Required

OTP code for payment completion. Between 4 and 8 characters.

Example: 483921
Responses
200

CVV and OTP payment completion result

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

"cvv='123'&otp='483921'"
200

CVV and OTP payment completion result

{
  "context_list": [
    {
      "page_name": "ThankYouPage",
      "page_slug": "thankyoupage",
      "page_context": {}
    }
  ],
  "errors": {},
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?