Errors
Every error is a Problem document with a stable code. Branch on the code, show detail to people if you like, and quote request_id when you contact support.
{
"type": "https://docs.payezy.io/errors/insufficient_funds",
"title": "Insufficient funds",
"status": 422,
"code": "insufficient_funds",
"detail": "available balance is 120.00",
"request_id": "req_7Hk2PqZ9",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}Authentication and access
unauthorized401 | No credential, an expired session, or a malformed key. Send |
forbidden403 | The credential is valid but this action is not allowed for it. Check the operation's Requires panel, then the key's scopes or the member's role. |
permission_denied403 | The member's role does not include the permission this operation needs. Ask an owner or admin to change your role, or use a key created by someone who holds the permission. |
scope_not_held403 | The API key was created without the scope this operation needs, or you asked for a scope you do not hold. Keys' scopes are frozen at creation. Create a new key that includes the scope; a key's scopes can only be a subset of its creator's permissions. |
step_up_required403 | A browser session tried a sensitive action without a recent second factor (AAL2). Re-authenticate with a passkey or authenticator app. API keys with the right scope do not need step-up. |
api_access_revoked403 | Production API access is not granted for this organization, or it was revoked, or the organization is not active. Ask Payezy to grant production API access once the organization is active. Staging keys are unaffected. |
ip_not_allowed403 | The key has an IP allowlist and the request came from outside it. Call from an allowed network or update the key's allowlist (up to 20 CIDR ranges). |
not_found404 | The resource does not exist, or you are not allowed to know it exists - another organization, another platform's customer, or a production-only route in the sandbox. Check the ids came from your own |
customer_action_required403 | A platform session or key tried to change a customer's team, roles, approval policy or settings. Only the customer's own members can do this. Ask the customer to do it in their app. |
insufficient_rank403 | You tried to assign, invite or revoke a role ranked above your own. Ask a member with a higher role, usually the owner. |
session_required403 | This action needs a signed-in member; an API key cannot do it. Do it from the Payezy app (for example on the Developer page). |
Organization state
org_not_verified403 | The organization has not finished KYC/KYB. Submit verification. Reads work in every status; money movement needs |
org_restricted403 | Outgoing payments are paused for this organization by Payezy or its platform. Incoming money and reads still work. Contact the platform or Payezy support. |
org_suspended403 | Payezy suspended the organization. Contact Payezy support. |
org_closed403 | The organization is closed. Closed organizations are read-only. |
platform_in_review403 | Your platform application is still under Payezy review. You can read customers while in review; inviting and creating customers unlocks once the platform is |
not_active409 | The organization or customer is not Finish verification, or reinstate the customer. |
Requests and idempotency
invalid_request422 | The body or parameters do not match the schema. Read |
idempotency_key_required422 | A money-moving request was sent without Send a unique key (a UUID) per intended payment, and reuse it only when retrying that same payment. |
idempotency_key_reused409 | The key was already used for a different request. Generate a new key for a new payment. Reuse a key only to retry exactly the same request. |
idempotency_mismatch409 | The same key was sent with a different body. A retry must send the identical body. Generate a new key if the payment changed. |
rate_limited422 | The key went over its rate limit (production 100 reads and 25 writes per second; the sandbox is tighter). Back off and retry with jitter. Spread bulk work over time. |
rate_limit_unavailable503 | The rate limiter is unavailable, and Payezy fails closed. Retry with backoff. |
Customers and verification
external_ref_exists409 | Another active customer of your platform already has this The response's |
individual_exists409 | The owner email already owns a personal (individual) account. A person can own one personal account. Create a business account, or use the existing one. |
customer_type_not_offered422 | The invitation asked for a customer type your platform profile does not offer. Update the platform profile's customer types, or invite with an offered type. |
invalid_application422 | The KYC/KYB data is incomplete or inconsistent. Read |
application_locked409 | The application was submitted and is in review. Wait for the decision. If changes are requested it returns to draft. |
invalid_documents422 | A required document is missing. Upload every item in the application's document requirements, then submit. |
terms_required422 | The account agreement was not accepted. Send |
Money movement
insufficient_funds422 | The available balance cannot cover the amount plus fee. Fund the account, or send less. Quote first to see the fee. |
own_account422 | You tried to pay one of your own accounts. Use a withdrawal for your own accounts. |
not_own_account422 | You tried to withdraw to a third party. Use a payment to send money to a recipient. |
recipient_blocked403 | Screening blocked this recipient. Payments to a blocked recipient are not possible. Contact support if you believe this is wrong. |
recipient_under_review409 | Screening is reviewing this recipient. Wait for review to clear; then pay. |
single_payout_limit422 | The amount is above the organization's single-transfer limit. Send less, or ask Payezy about your limits ( |
daily_payout_limit422 | Today's payouts would go over the daily limit. Send the rest tomorrow, or ask Payezy about your limits. |
above_ceiling422 | The amount is above Payezy's hard ceiling. Split the payment. |
no_route422 | No enabled rail and partner can carry this payment. Try another rail or asset, or drop the |
self_approval403 | The person who created a payment tried to approve it. A different approver must approve it. |
not_pending_approval409 | The payment is no longer waiting for approval. Fetch the payment to see its current status. |
not_cancelable409 | The payment was already sent to the partner. Payments can be canceled only before they are processing. |
last_account409 | You tried to remove a recipient's only account. Add another account first, or archive the recipient. |
Sandbox
simulation_rejected422 | The sandbox partner refused the simulated deposit. Check the amount and rail and try again. |
simulator_unavailable422 | The sandbox simulator cannot run for this account (for example in production). Simulators work in the sandbox. Production returns not_found. |
simulator_unknown_account409 | The account has no virtual account at the sandbox partner yet. Wait for the account to finish opening after approval, then retry. |
All other codes
above_partner422 | |
account_inactive409 | this account cannot send payments |
account_not_active409 | this account can't receive deposits |
account_not_opened503 | we couldn't open the account right now; try again in a few minutes |
account_not_ready409 | this account is still being set up |
allowlist_too_long422 | an API key can list at most 20 networks |
already_claimed409 | the customer has already claimed this account |
already_decided409 | you already responded to this payment |
already_linked409 | this organization already belongs to a platform |
already_member409 | this person is already a member |
api_key_inactive409 | this key is no longer active |
assignment_ended409 | This assignment has already ended. |
auto_debit_required422 | Fees are always paid from the Payezy balance for direct customers. |
billing_not_available403 | Billing for this organization is handled by its platform. |
book_archived409 | This version is already archived. |
book_assigned409 | |
book_changed409 | The draft was edited after activation was requested; request activation again. |
book_is_draft409 | Delete a draft instead of archiving it. |
book_kind_mismatch422 | Platforms are priced on platform books. |
book_not_active409 | Activate the book before assigning it. |
book_not_draft409 | Active and archived versions cannot change; start a new version. |
break_not_open409 | This break is not open. |
cannot_disable_self422 | you cannot disable your own access |
cannot_transfer_to_self422 | choose another member to become the owner |
claim_link_required422 | open the claim link from your platform to claim this account |
credit_not_available409 | Only credits not yet applied to a bill can be voided. |
customer_type_not_allowed422 | |
delivery_unavailable422 | this environment always emails invitations |
description_required422 | Describe the credit; the customer sees it on their bill. |
draft_exists409 | This book already has a draft version: |
duplicate_account409 | this wallet is already saved for this recipient |
duplicate_commitment422 | Each commitment kind can be set once per product and once overall. |
duplicate_item422 | |
effective_in_past422 | Rate changes cannot take effect in the past; past charges never change. |
email_not_verified403 | verify your email address to continue |
enrollment_required422 | provide an invitation token or a platform link |
events_required422 | choose at least one event |
identity_unavailable503 | the account could not be opened |
impersonation_ended401 | this view-as session has ended |
impersonation_read_only403 | simulations cannot be run while viewing as a customer |
internal500 | An unexpected error occurred. |
invalid_account422 | provide either a bank account or a wallet |
invalid_account_number422 | account numbers are 4 to 17 digits |
invalid_account_type422 | account type must be checking or savings |
invalid_address422 | this is not a valid |
invalid_amount422 | Enter a positive amount. |
invalid_bound422 | |
invalid_category422 | category must be one of |
invalid_cidr422 | |
invalid_commitment422 | |
invalid_customer422 | a platform cannot be another platform's customer |
invalid_customer_type422 | customer type must be individual or business |
invalid_customer_types422 | customer types must be business and/or individual |
invalid_decision422 | decision must be approve, reject, request_changes or send |
invalid_document422 | could not read the upload |
invalid_email422 | Enter a valid billing email. |
invalid_estimate422 | estimates cannot be negative |
invalid_event422 | unknown event: |
invalid_expiry422 | expiry must be within the next year |
invalid_idempotency_key422 | idempotency keys are at most 200 characters |
invalid_invoice_number422 | invoice numbers are at most 64 characters |
invalid_item422 | |
invalid_kind422 | New books are platform or customer books; edit the standard book with a new version. |
invalid_label422 | labels are at most 80 characters |
invalid_limit422 | Enter a positive single-transfer limit. |
invalid_memo422 | memos are at most 140 characters |
invalid_method422 | Payment method must be bank_transfer or manual. |
invalid_name422 | enter the recipient's name (up to 140 characters) |
invalid_overlap422 | overlap must be between 0 and 72 hours |
invalid_owner_email422 | enter the email address the customer will sign in with |
invalid_period422 | Period must be YYYY-MM. |
invalid_policy422 | threshold must be ≥ 0 and approvers between 0 and 5 |
invalid_purpose422 | purpose must be payment or withdrawal |
invalid_rail422 | |
invalid_reason422 | the reason is at most 500 characters |
invalid_routing_number422 | enter a valid 9-digit ABA routing number |
invalid_scope422 | scope is not allowed on a customer API key: |
invalid_side422 | side must be front or back |
invalid_slug422 | the link name uses 3-40 lowercase letters, digits and dashes |
invalid_state422 | slack install state is invalid |
invalid_status422 | Status must be resolved or ignored. |
invalid_terms422 | Payment terms are 0 to 90 days. |
invalid_type422 | type must be individual or business |
invalid_url422 | webhook URL must be https |
invitation_email_mismatch403 | this invitation was sent to a different email address |
invitation_inactive409 | this invitation is no longer valid; ask the platform for a new one |
invitation_required422 | send the invitation link or the claim id, not both |
invoice_closed409 | Paid and void invoices cannot be voided. |
invoice_not_draft409 | Only draft invoices can be issued. |
invoice_not_open409 | Only open or past-due invoices can be marked paid. |
invoice_partly_paid409 | This invoice is partly paid; record the rest or issue a credit instead. |
label_too_long422 | keep the name under 80 characters |
last_owner409 | an organization must keep at least one owner |
member_disabled422 | re-enable this member before making them the owner |
membership_disabled403 | your access to this organization has been disabled |
name_required422 | name the key after the system that will use it |
no_documents422 | upload the requested documents first |
no_documents_requested409 | no documents are currently requested |
no_virtual_account409 | this account has no active deposit details yet |
no_workflow409 | Onboarding is not running for this customer. |
not_a_member422 | that person is not an active member of this customer |
not_allowed403 | staff cannot create organizations on behalf of customers |
not_awaiting_review409 | This application is not waiting for review. |
not_business422 | only business and platform accounts can invite team members |
not_pending409 | only pending applications can be approved |
not_restricted409 | this customer is not restricted |
not_submitted409 | This customer has not been opened at a partner yet. |
not_supported422 | personal accounts have a single owner |
not_suspended409 | only suspended platforms can be reinstated |
not_your_session403 | only the person who opened this session or a platform admin can end it |
note_required422 | Explain the resolution in a note. |
onboarding_unavailable503 | account opening is temporarily unavailable |
owner_identity_conflict409 | that sign-in already belongs to someone else |
owner_not_attached500 | the account could not be opened |
partner_link_missing409 | This customer already has accounts at a partner, but there is no partner profile to re-sync. |
pdf_not_ready404 | The PDF is available once the invoice is issued. |
period_open422 | A month can be billed only after it ends. |
platform_invite_email_mismatch403 | this invitation was sent to a different email address; sign in with that address to apply |
platform_invite_exists409 | a pending invite for this platform and email already exists; resend it instead |
platform_invite_inactive409 | only pending invites can be resent |
platform_invite_required403 | platform applications are by invitation only; open the link in your invitation email |
platform_unavailable409 | this platform is not accepting new customers right now |
product_unavailable409 | This product is not available yet and cannot be enabled. |
reason_required422 | Give a reason of at least 10 characters. |
reason_too_long422 | keep the reason under 1000 characters |
recipient_archived409 | this recipient was removed |
request_in_progress409 | this account is still being opened; try again shortly |
review_not_running409 | The documents are approved, but onboarding is not running for this customer, so they were not sent. Contact engineering. |
role_not_applicable422 | this role is not available for this account type |
scopes_required422 | choose at least one scope |
session_inactive409 | this session has already |
slack_not_configured422 | Slack is not configured for this environment |
slug_taken409 | this link name is taken; choose another |
source_unavailable409 | this account type isn't available for your organization yet |
standard_in_force409 | The standard book always needs a version in force; activate a new version instead. |
standard_not_assignable422 | Every organization falls back to the standard book; end its assignment instead. |
too_many_accounts422 | |
unavailable503 | the docs assistant is not configured |
unknown_product422 | |
unknown_role422 | unknown role |
unknown_source422 | choose one of the listed account types |
unknown_tool422 | tools are search_docs and get_operation |
unsupported_content409 | this file type cannot be shown |
unsupported_network422 | |
unsupported_partner_kind422 | Choose a document type the partner accepts before sending a US photo ID or a proof of address. |
unsupported_state422 | We can't open this type of account in |
user_suspended403 | this user has been suspended; contact support |
wire_address_required422 | wires need the beneficiary's address and the bank's address |