Replace Card
POST
/api/v0/partner/enKashCard/replaceCardThis API facilitates the replacement of an existing card. It allows users to request a new card in case of loss, damage, or any other issue with the current card, ensuring continuity and security in card usage.
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
enKashCardId
string
required
Unique identifier for the EnKash card.
otpRequestId
string
optional
Unique identifier for the OTP request.
cardAccountId
string
optional
Unique identifier for the account under company.
otpMedium
enum<string>
required
Medium for OTP verification. Options are "MOBILE" for SMS and "MFA" for Authenticator code
Allowed values:
MOBILEMFA
otp
string
optional
One-Time Password for verification if otpMedium is MOBILE.
mfaCode
string
optional
Multi-Factor Authentication code if otpMedium is MFA
Example
{
"enKashCardId": "string",
"otpRequestId": "string",
"cardAccountId": "string",
"otpMedium": "MOBILE",
"otp": "string",
"mfaCode": "string"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
string
optional
Example
Not configured
Last modified: 5 months ago