m2pfintech
Error Codes

Card Errors

Error codes for card management operations — lock, unlock, block, PIN, and physical card issues.

Errors related to card lifecycle operations, PIN management, and physical card requests.


CodeHTTPMessageScenarioResolution
CARD_001400Invalid kit numberKit number not found in the systemVerify the kit number
CARD_002400Card already lockedAttempting to lock a card that is already in LOCKED statusNo action needed — card is already locked
CARD_003400Card not lockedAttempting to unlock a card that is already in ACTIVE statusNo action needed — card is already active
CARD_004400Card already blockedAttempting to block a card that is already permanently blockedNo action needed — consider issuing a replacement
CARD_005400Cannot unlock blocked cardAttempting to unlock a permanently blocked cardBlocking is irreversible — issue a replacement card instead
CARD_006400Card replacement failedSystem could not issue a replacement cardContact M2P support for assistance
CARD_010400Invalid PINPIN format is invalid (must be exactly 4 digits)Provide a properly encrypted 4-digit PIN
CARD_011400PIN encryption errorGateway could not decrypt the PINVerify your encryption implementation matches the Gateway Encryption guide
CARD_020400Physical card already issuedA physical card has already been dispatched for this kitNo action needed — physical card is already in process

OTP Errors (OTP_xxx)

Errors related to one-time password generation and validation.

CodeHTTPMessageScenarioResolution
OTP_001400OTP generation failedSMS delivery or OTP generation failureRetry, or use an alternate notification channel
OTP_002400Invalid OTPThe OTP entered does not matchAsk the customer to re-enter the OTP carefully
OTP_003400OTP expiredThe OTP validity period has elapsedGenerate a new OTP
OTP_004429OTP rate limitToo many OTP requests in a short periodWait before requesting a new OTP
OTP_005400Max attempts exceededOTP validation has failed 3 or more timesGenerate a new OTP — previous OTP is now invalidated

On this page