Set Pin
POST
/api/v0/partner/enKashCard/setPinThis API allows users to set or update the PIN for their card. It ensures secure authentication and authorization for setting the card PIN, enhancing the card's security.
Request
Header Params
authorization
string
required
Provide your bearer token in the Authorization header when making requests to protected resources.
Example:
Bearer 2f68dbbf-519d-4f01-9636-e2421b68f379
partnerId
string
required
PartnerID shared during sign-up
Example:
CRXXXXXXX
Body Params application/json
companyId
string
required
Unique Enkash Company Id
cardAccountId
string
required
Unique Card Account ID
enKashCardId
string
required
Unique Enkash Card ID
pinBlock
string
required
Pin to be set
otpRequired
boolean
required
to be passed as false if OTP is not required
Example
{
"companyId": "CEKEP5GSGP",
"cardAccountId": "CAA8W45",
"enKashCardId": "EKC94AEX89",
"pinBlock": 9078
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
required
message
string
required
payload
string
required
Example
{
"code": 0,
"message": "Success",
"payload": "Success"
}
Last modified: 9 days ago