Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Error Codes (Disbursement API)

All Disbursement API errors returned are either HTTP status code 400 or 500, and will have an Error JSON string field in the response.

{
"Error": "Transaction Failed - Not Authorised"
}
Error MessageExplanation
Insufficient FundsThe paying wallet has insufficient funds to complete the transaction.
Voucher Already SpentThe transaction failed because the specified voucher has already been redeemed.
Not AuthorisedThe actor is not authorized to perform this action in this community.
Mismatched Disbursement TotalsThe disbursement failed because the sum of successfully processed records or fees does not equal the expected total amount.
Wallet Payment FailedA general error occurred while attempting to process a payment from the specified wallet.
Voucher Payment FailedA general error occurred while attempting to process a payment from the specified voucher.
Voucher is Not a Cash VoucherThe specified voucher is not a cash voucher and cannot be used for this type of transaction.
Error MessageExplanation
Disbursement Already ProcessedThe disbursement cannot be run more than once and has already been processed.
Disbursement Already ConfirmedThe disbursement cannot be confirmed because it has already been confirmed. The error will specify the confirmation timestamp.
Disbursement Not Yet ReleasedThe action cannot be performed because the disbursement has not been released yet.
Disbursement Already RefundedA refund cannot be processed for this disbursement because it has already been reversed.
Invalid Date/Time FormatA timestamp provided in the request is invalid. The expected format is YYYY/MM/DD HH:MM.
Invalid Disbursement UUIDThe DisbursementID provided is not a valid Version 4 UUID.
Invalid State for ConfirmationThe disbursement cannot be confirmed because it is not in a valid state. It must be ‘Awaiting Confirmation’.
Invalid Voucher NumberThe VoucherNo provided is invalid.
Refund Processing ErrorA general error occurred while attempting to process a refund for the disbursement or a specific transaction.
Error MessageExplanation
Invalid Voucher Data in FileAll or some vouchers listed in the provided CSV are invalid. A corresponding errors.csv file will contain more detailed information per voucher line.
Invalid AmountThe amount specified for a transaction is invalid or is not greater than zero.
Invalid CSV Record FormatA record in the CSV file has fewer than the four required fields.
Invalid MSISDNThe recipient’s MSISDN is invalid. This may be due to invalid characters (only digits are allowed), an unsupported country code, or an incorrect length for the specified country.
Invalid ID NumberThe recipient’s ID number is invalid.
MSISDN Does Not Match ID NumberThe provided MSISDN and ID number do not belong to the same user.
Voucher Type or Package Does Not ExistThe specified VoucherType or VoucherPackage is invalid or does not exist.
Recipient Does Not Have WalletThe recipient cannot receive the disbursement voucher, because they do not have an associated wallet.
Recipient User Does Not ExistThe specified recipient user does not exist in the system.
User Cannot Be Virally CreatedThe specified user cannot be created virally within this community.
Recipient Blocked or ClosedThe transaction failed because the recipient’s account is either blocked or closed and cannot receive funds.
Viral User Voucher LimitThe transaction failed because the recipient is a viral user who is only permitted to receive one voucher.
Query Returned No ResultsA query to retrieve data returned zero results. This may indicate a filter is being applied to an invalid field.
Query Too ComplexA query to retrieve data used a sort or filter that was too complex. See Sort and Filter Rules.
Error MessageExplanation
No Valid Routes for VoucherThe transaction failed because there are no valid payment routes defined for the specified voucher.
Failed to Retrieve Voucher RoutesThe system encountered an error while attempting to retrieve routing information for the voucher.
Invalid RequestA required field, such as VoucherNo or OAuthToken, was not specified in the request.
Invalid or Expired Authentication TokenThe provided OAuth or Bearer token is invalid, expired, or not yet active.
System Entity Does Not ExistA specified entity (e.g., a community or user) could not be found.
File Not FoundThe system could not find the required vouchers.csv file at the expected location.
Internal System ErrorAn internal error occurred, such as a database read failure, schema mismatch, or issue allocating resources.