Skip to Content
KingsPay Docs
Payouts

Error Codes

When a payout request can't be completed, the API returns an error with a type, a code and, for field errors, the field it is about. Use the code to decide what to do next.

CodeHTTPDescription
invalid_payout_method_type400payout_method isn't auto, bi_fast or rtol.
invalid_currency_code400currency is missing.
invalid_currency_type400currency isn't a currency code we know.
currency_not_supported400The payout method doesn't send this currency.
invalid_amount400The amount is missing, not greater than 0, or not whole rupiah for IDR.
amount_outside_limits400The amount is outside the limits of the payout method for your account.
insufficient_balance400Your available balance can't cover the amount plus the fee.
invalid_destination_type400destination or destination.type is missing.
invalid_destination_type_enum400destination.type isn't bank_account.
invalid_destination_bank_account400destination.bank_account is missing.
invalid_bank_code400The bank code is missing, unknown or not supported.
invalid_account_number400The account number is missing, isn't 1 to 34 digits, or doesn't exist at the bank.
invalid_bank_account_holder_name400account_holder_name doesn't match the name the bank has.
invalid_client_reference_id400client_reference_id is longer than 255 characters or has characters other than letters, digits and _ . : / -.
payout_method_not_enabled400The payout method isn't enabled for your account.
payout_method_limit_reached400The payout method has reached its processing limit. Try again later.
disbursement_not_enabled403Disbursements aren't enabled for your account.
account_not_active403Your account isn't active.
duplicate_client_reference_id409A payout with this client_reference_id already exists.
rate_limit_exceeded429Too many inquiry or create requests. Wait for the time in the Retry-After header.
payout_method_unavailable503The payout method can't send payouts right now. Try again later.
bank_account_inquiry_unavailable503The bank account can't be checked right now. Try again later.
unknown_error500An unexpected error occurred.