Block Card
POST
/api/v0/partner/enKashCard/blockThis API is used to block the card, preventing any further transactions from being processed. Use this endpoint to ensure the security of the card in case of loss, theft, or suspicious activity.
Request
Provide your bearer token in the Authorization header when making requests to protected resources.
PartnerID shared during sign-up
Unique EnKash Company ID. This is the ID assigned to a company onboarded on the EnKash platform.
Unique EnKash Account ID. This is the ID assigned to the account created under the company.
Unique identifier for the EnKash card.
Card status after card is blocked. Possible values are L - Locked, UL - Unlocked, BL - Blocked, AP - Activation InProgress.
Reason for blocking the card.
Medium for OTP. Allowed values are MOBILE and MFA.
Indicates if OTP is required for this operation.
OTP received by the user.
Identifier of the user who created the request.
Authenticator code when otpMedium is MFA.
{
"companyId": "string",
"cardAccountId": "string",
"enKashCardId": "string",
"blockCode": "L",
"reason": "string",
"otpMedium": "MOBILE",
"otpRequestId": "string",
"otp": "string",
"createdBy": "string",
"mfaCode": "string"
}