OTP Bypass Flow Documentation
OTP Bypass Flow Documentation
Overview
This document explains the exact logic of OTP bypass flow in the front-end (FE) system. It details
the sequence of API calls, expected responses, and how the bypass logic is handled.
Step 1: Fetch OAuth Token
URL:
1 https://api-gw.jazzcash.com.pk/jazzcash/app-catalog/rest/api/oauth-
provider/oauth2/token
Parameters:
1 client_id=ed3d867b397c167a97f904ac8ab72c7e&client_secret=475cb986dc1b74b15b31f
29a85e3a568&grant_type=client_credentials&scope=user
Response:
1 {
2 "consented_on": 1738431777,
3 "scope": "user",
4 "token_type": "Bearer",
5 "access_token": "<ACCESS_TOKEN>",
6 "expires_in": 3600
7 }
Parameters:
1 {
2 "additionaldetails": {
3 "key1": "",
4 "key2": ""
5 },
6 "remarks": ""
7 }
Response:
1 {
2 "success": true,
3 "responseCode": "AM-REG-T88",
4 "message_en": "The transaction completed successfully",
5 "message_ur": "The transaction completed successfully",
6 "data": {
7 "msisdn": "923359214651",
8 "isJazzCustomer": false,
9 "CRMCall": true,
10 "next": "/login",
11 "deviceRegisterExpiryTS": "2024-05-23T15:52:20.177Z",
12 "deviceRegisterTS": "2024-05-16T15:52:20.177Z",
13 "currentDateTime": "2025-02-01T17:45:42.572Z"
14 }