PAB Error Codes

In case of an error return through our API call, we will structure the data in the following way:

AttributeMandatoryDescription
typeTruethe type of error, can be one of FATAL, VALIDATION_FIELD,VALIDATION_GLOBAL
errorCodeTruethe technical error code
messageTruea friendly message explaining the error
formObjectNameFalseThe object within the response
FieldFalseThe field in error

errorCode

The error codes for a FATAL PAB API are defined below:

Error codeMessage
ACCESS_DENIEDInvalid Authorization
BLACKLISTEDBlocked
BAD_ACCOUNT_NUMBERInvalid Account Number
DUPLICATED_TRANSACTION_IDDuplicate trace id submitted
INSUFFICIENT_FUNDSInsufficient Funds in Merchant E-wallet
OPERATION_NOT_POSSIBLEOperation not possible due to invalid fields
TRANSACTION_AMOUNT_LIMIT_ERRORTransaction amount outside permitted limits
OTHEROther

The error codes for VALIDATION_FIELD are the below:

ErrorCodeMessage
VALIDATIONValidation error under Field Attribute

The error codes for the type VALIDATION_GLOBAL are the below:

ErrorCodeMessage
DAILY_VELOCITY_EXCEEDEDDaily velocity exceeded
WEEKLY_VELOCITY_EXCEEDEDWeekly velocity exceeded
MONTHLY_VELOCITY_EXCEEDEDMonthly velocity exceeded
OPERATION_NOT_POSSIBLEVelocities: Zero amount