Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Headers

X-Pt-Id
string

Eka User ID (OID)

X-Partner-Pt-Id
string

Partner User ID

X-Hip-Id
string

Partner HIP ID

Query Parameters

oid
string

OID is used to Identify the user.

Body

application/json
otp
string
required

OTP received on the mobile number.

txn_id
string
required

Transaction ID received in the session/init API response.

Response

OK

refresh_token
null | string

Token used to obtain a new access token.

token
string

Access token for the user.