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.
| Code | HTTP | Description |
|---|---|---|
invalid_payout_method_type | 400 | payout_method isn't auto, bi_fast or rtol. |
invalid_currency_code | 400 | currency is missing. |
invalid_currency_type | 400 | currency isn't a currency code we know. |
currency_not_supported | 400 | The payout method doesn't send this currency. |
invalid_amount | 400 | The amount is missing, not greater than 0, or not whole rupiah for IDR. |
amount_outside_limits | 400 | The amount is outside the limits of the payout method for your account. |
insufficient_balance | 400 | Your available balance can't cover the amount plus the fee. |
invalid_destination_type | 400 | destination or destination.type is missing. |
invalid_destination_type_enum | 400 | destination.type isn't bank_account. |
invalid_destination_bank_account | 400 | destination.bank_account is missing. |
invalid_bank_code | 400 | The bank code is missing, unknown or not supported. |
invalid_account_number | 400 | The account number is missing, isn't 1 to 34 digits, or doesn't exist at the bank. |
invalid_bank_account_holder_name | 400 | account_holder_name doesn't match the name the bank has. |
invalid_client_reference_id | 400 | client_reference_id is longer than 255 characters or has characters other than letters, digits and _ . : / -. |
payout_method_not_enabled | 400 | The payout method isn't enabled for your account. |
payout_method_limit_reached | 400 | The payout method has reached its processing limit. Try again later. |
disbursement_not_enabled | 403 | Disbursements aren't enabled for your account. |
account_not_active | 403 | Your account isn't active. |
duplicate_client_reference_id | 409 | A payout with this client_reference_id already exists. |
rate_limit_exceeded | 429 | Too many inquiry or create requests. Wait for the time in the Retry-After header. |
payout_method_unavailable | 503 | The payout method can't send payouts right now. Try again later. |
bank_account_inquiry_unavailable | 503 | The bank account can't be checked right now. Try again later. |
unknown_error | 500 | An unexpected error occurred. |