Exceptions Code | Groups | HTTP Status code | Message | Description |
---|---|---|---|---|
InvalidRequestException SEV3 | REQUEST | 400 | request is not valid. please check the request | request validation error |
InvalidAccountException | ACCOUNT | 400 | account not found or not valid | account not found |
AccountBlockedException | ACCOUNT | 400 | transaction cannot proceed because the account is ${accountStatus} | account status either FREEZE/BLOCKED |
InsufficientBalanceException SEV3 | ACCOUNT | 400 | not enough balance | balance not enough |
CardNotFoundException SEV3 | CARD | 400 | card with proxy number ${proxyNumber} is not found | not found card |
CardBlockedException SEV3 | CARD | 400 | card with proxy number ${proxyNumber} is ${cardStatus} | card status either LOCKED/PERMANENT_BLOCKED |
CardLimitExceededException SEV3 | CARD | 400 | transaction amount is exceed the limit | card transaction limit exceeded |
TransactionNotPermittedExceptionSEV3 | CARD | 400 | transaction is not permitted by card holder | the incoming transaction is not permitted by card holder. eg. international transaction |
FraudRejectionException SEV3 | FRAUD | 400 | rejected by fraud system | rejected by fraud system |
PostingTimeoutException SEV1 | INTERNAL ERROR | 408 | time out, please try again | timeout during posting |
UnhandledException SEV1 | INTERNAL ERROR | 500 | unhandled error | unhandled error |
Error response example:
{ "code": "AccountBlockedException", "message": "transaction cannot proceed because the account is BLOCKED" }