Complete MobilExpress payment with OTP
Finalises the payment by submitting the OTP to the MobilExpress gateway (finish_payment_process with otp set and cvv empty). On success, the order is created.
Required Fields:
otp: The OTP code received by the user. Between 4 and 8 characters.
Next Page: ThankYouPage
post
Header parameters
x-requested-withstring · enumRequiredDefault:
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: CookiestringOptional
Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Body
otpstring · min: 4 · max: 8RequiredExample:
OTP code for payment completion. Between 4 and 8 characters.
483921Responses
200
OTP payment completion result
application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=MobilExpressPaymentCompleteOtpPage
POST /orders/checkout/?page=MobilExpressPaymentCompleteOtpPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 16
"otp='483921'"200
OTP payment completion result
{
"context_list": [
{
"page_name": "ThankYouPage",
"page_slug": "thankyoupage",
"page_context": {}
}
],
"errors": {},
"template_name": "orders/checkout.html"
}PreviousGet MobilExpress Payment Complete OTP Page context
NextGet MobilExpress Payment Complete CVV and OTP Page context
Last updated
Was this helpful?

