# Errors

- `above_ceiling` (422): The amount is above Payezy's hard ceiling. Fix: Split the payment.
- `above_partner` (422): 
- `account_inactive` (409): this account cannot send payments
- `account_not_active` (409): this account can't receive deposits
- `account_not_opened` (503): we couldn't open the account right now; try again in a few minutes
- `account_not_ready` (409): this account is still being set up
- `allowlist_too_long` (422): an API key can list at most 20 networks
- `already_claimed` (409): the customer has already claimed this account
- `already_decided` (409): you already responded to this payment
- `already_linked` (409): this organization already belongs to a platform
- `already_member` (409): this person is already a member
- `api_access_revoked` (403): Production API access is not granted for this organization, or it was revoked, or the organization is not active. Fix: Ask Payezy to grant production API access once the organization is active. Staging keys are unaffected.
- `api_key_inactive` (409): this key is no longer active
- `application_locked` (409): The application was submitted and is in review. Fix: Wait for the decision. If changes are requested it returns to draft.
- `assignment_ended` (409): This assignment has already ended.
- `auto_debit_required` (422): Fees are always paid from the Payezy balance for direct customers.
- `billing_not_available` (403): Billing for this organization is handled by its platform.
- `book_archived` (409): This version is already archived.
- `book_assigned` (409): 
- `book_changed` (409): The draft was edited after activation was requested; request activation again.
- `book_is_draft` (409): Delete a draft instead of archiving it.
- `book_kind_mismatch` (422): Platforms are priced on platform books.
- `book_not_active` (409): Activate the book before assigning it.
- `book_not_draft` (409): Active and archived versions cannot change; start a new version.
- `break_not_open` (409): This break is not open.
- `cannot_disable_self` (422): you cannot disable your own access
- `cannot_transfer_to_self` (422): choose another member to become the owner
- `claim_link_required` (422): open the claim link from your platform to claim this account
- `credit_not_available` (409): Only credits not yet applied to a bill can be voided.
- `customer_action_required` (403): A platform session or key tried to change a customer's team, roles, approval policy or settings. Fix: Only the customer's own members can do this. Ask the customer to do it in their app.
- `customer_type_not_allowed` (422): 
- `customer_type_not_offered` (422): The invitation asked for a customer type your platform profile does not offer. Fix: Update the platform profile's customer types, or invite with an offered type.
- `daily_payout_limit` (422): Today's payouts would go over the daily limit. Fix: Send the rest tomorrow, or ask Payezy about your limits.
- `delivery_unavailable` (422): this environment always emails invitations
- `description_required` (422): Describe the credit; the customer sees it on their bill.
- `draft_exists` (409): This book already has a draft version: 
- `duplicate_account` (409): this wallet is already saved for this recipient
- `duplicate_commitment` (422): Each commitment kind can be set once per product and once overall.
- `duplicate_item` (422): 
- `effective_in_past` (422): Rate changes cannot take effect in the past; past charges never change.
- `email_not_verified` (403): verify your email address to continue
- `enrollment_required` (422): provide an invitation token or a platform link
- `events_required` (422): choose at least one event
- `external_ref_exists` (409): Another active customer of your platform already has this `external_ref`. Fix: The response's `details.customer_id` is the existing customer - use it instead of creating a duplicate. This is what makes retried imports safe.
- `forbidden` (403): The credential is valid but this action is not allowed for it. Fix: Check the operation's Requires panel, then the key's scopes or the member's role.
- `idempotency_key_required` (422): A money-moving request was sent without `Idempotency-Key`. Fix: Send a unique key (a UUID) per intended payment, and reuse it only when retrying that same payment.
- `idempotency_key_reused` (409): The key was already used for a different request. Fix: Generate a new key for a new payment. Reuse a key only to retry exactly the same request.
- `idempotency_mismatch` (409): The same key was sent with a different body. Fix: A retry must send the identical body. Generate a new key if the payment changed.
- `identity_unavailable` (503): the account could not be opened
- `impersonation_ended` (401): this view-as session has ended
- `impersonation_read_only` (403): simulations cannot be run while viewing as a customer
- `individual_exists` (409): The owner email already owns a personal (individual) account. Fix: A person can own one personal account. Create a business account, or use the existing one.
- `insufficient_funds` (422): The available balance cannot cover the amount plus fee. Fix: Fund the account, or send less. Quote first to see the fee.
- `insufficient_rank` (403): You tried to assign, invite or revoke a role ranked above your own. Fix: Ask a member with a higher role, usually the owner.
- `internal` (500): An unexpected error occurred.
- `invalid_account` (422): provide either a bank account or a wallet
- `invalid_account_number` (422): account numbers are 4 to 17 digits
- `invalid_account_type` (422): account type must be checking or savings
- `invalid_address` (422): this is not a valid 
- `invalid_amount` (422): Enter a positive amount.
- `invalid_application` (422): The KYC/KYB data is incomplete or inconsistent. Fix: Read `details` for each field. US persons need an SSN and a US phone; businesses need an EIN and their owners.
- `invalid_bound` (422): 
- `invalid_category` (422): category must be one of 
- `invalid_cidr` (422): 
- `invalid_commitment` (422): 
- `invalid_customer` (422): a platform cannot be another platform's customer
- `invalid_customer_type` (422): customer type must be individual or business
- `invalid_customer_types` (422): customer types must be business and/or individual
- `invalid_decision` (422): decision must be approve, reject, request_changes or send
- `invalid_document` (422): could not read the upload
- `invalid_documents` (422): A required document is missing. Fix: Upload every item in the application's document requirements, then submit.
- `invalid_email` (422): Enter a valid billing email.
- `invalid_estimate` (422): estimates cannot be negative
- `invalid_event` (422): unknown event: 
- `invalid_expiry` (422): expiry must be within the next year
- `invalid_idempotency_key` (422): idempotency keys are at most 200 characters
- `invalid_invoice_number` (422): invoice numbers are at most 64 characters
- `invalid_item` (422): 
- `invalid_kind` (422): New books are platform or customer books; edit the standard book with a new version.
- `invalid_label` (422): labels are at most 80 characters
- `invalid_limit` (422): Enter a positive single-transfer limit.
- `invalid_memo` (422): memos are at most 140 characters
- `invalid_method` (422): Payment method must be bank_transfer or manual.
- `invalid_name` (422): enter the recipient's name (up to 140 characters)
- `invalid_overlap` (422): overlap must be between 0 and 72 hours
- `invalid_owner_email` (422): enter the email address the customer will sign in with
- `invalid_period` (422): Period must be YYYY-MM.
- `invalid_policy` (422): threshold must be ≥ 0 and approvers between 0 and 5
- `invalid_purpose` (422): purpose must be payment or withdrawal
- `invalid_rail` (422): 
- `invalid_reason` (422): the reason is at most 500 characters
- `invalid_request` (422): The body or parameters do not match the schema. Fix: Read `details` - it names each field that failed and why.
- `invalid_routing_number` (422): enter a valid 9-digit ABA routing number
- `invalid_scope` (422): scope is not allowed on a customer API key: 
- `invalid_side` (422): side must be front or back
- `invalid_slug` (422): the link name uses 3-40 lowercase letters, digits and dashes
- `invalid_state` (422): slack install state is invalid
- `invalid_status` (422): Status must be resolved or ignored.
- `invalid_terms` (422): Payment terms are 0 to 90 days.
- `invalid_type` (422): type must be individual or business
- `invalid_url` (422): webhook URL must be https
- `invitation_email_mismatch` (403): this invitation was sent to a different email address
- `invitation_inactive` (409): this invitation is no longer valid; ask the platform for a new one
- `invitation_required` (422): send the invitation link or the claim id, not both
- `invoice_closed` (409): Paid and void invoices cannot be voided.
- `invoice_not_draft` (409): Only draft invoices can be issued.
- `invoice_not_open` (409): Only open or past-due invoices can be marked paid.
- `invoice_partly_paid` (409): This invoice is partly paid; record the rest or issue a credit instead.
- `ip_not_allowed` (403): The key has an IP allowlist and the request came from outside it. Fix: Call from an allowed network or update the key's allowlist (up to 20 CIDR ranges).
- `label_too_long` (422): keep the name under 80 characters
- `last_account` (409): You tried to remove a recipient's only account. Fix: Add another account first, or archive the recipient.
- `last_owner` (409): an organization must keep at least one owner
- `member_disabled` (422): re-enable this member before making them the owner
- `membership_disabled` (403): your access to this organization has been disabled
- `name_required` (422): name the key after the system that will use it
- `no_documents` (422): upload the requested documents first
- `no_documents_requested` (409): no documents are currently requested
- `no_route` (422): No enabled rail and partner can carry this payment. Fix: Try another rail or asset, or drop the `rail` and use `policy`.
- `no_virtual_account` (409): this account has no active deposit details yet
- `no_workflow` (409): Onboarding is not running for this customer.
- `not_a_member` (422): that person is not an active member of this customer
- `not_active` (409): The organization or customer is not `active`. Fix: Finish verification, or reinstate the customer.
- `not_allowed` (403): staff cannot create organizations on behalf of customers
- `not_awaiting_review` (409): This application is not waiting for review.
- `not_business` (422): only business and platform accounts can invite team members
- `not_cancelable` (409): The payment was already sent to the partner. Fix: Payments can be canceled only before they are processing.
- `not_found` (404): 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. Fix: Check the ids came from your own `getMe` / list calls. Payezy returns the same response for "missing" and "not yours" on purpose.
- `not_own_account` (422): You tried to withdraw to a third party. Fix: Use a payment to send money to a recipient.
- `not_pending` (409): only pending applications can be approved
- `not_pending_approval` (409): The payment is no longer waiting for approval. Fix: Fetch the payment to see its current status.
- `not_restricted` (409): this customer is not restricted
- `not_submitted` (409): This customer has not been opened at a partner yet.
- `not_supported` (422): personal accounts have a single owner
- `not_suspended` (409): only suspended platforms can be reinstated
- `not_your_session` (403): only the person who opened this session or a platform admin can end it
- `note_required` (422): Explain the resolution in a note.
- `onboarding_unavailable` (503): account opening is temporarily unavailable
- `org_closed` (403): The organization is closed. Fix: Closed organizations are read-only.
- `org_not_verified` (403): The organization has not finished KYC/KYB. Fix: Submit verification. Reads work in every status; money movement needs `active`.
- `org_restricted` (403): Outgoing payments are paused for this organization by Payezy or its platform. Fix: Incoming money and reads still work. Contact the platform or Payezy support.
- `org_suspended` (403): Payezy suspended the organization. Fix: Contact Payezy support.
- `own_account` (422): You tried to pay one of your own accounts. Fix: Use a withdrawal for your own accounts.
- `owner_identity_conflict` (409): that sign-in already belongs to someone else
- `owner_not_attached` (500): the account could not be opened
- `partner_link_missing` (409): This customer already has accounts at a partner, but there is no partner profile to re-sync.
- `pdf_not_ready` (404): The PDF is available once the invoice is issued.
- `period_open` (422): A month can be billed only after it ends.
- `permission_denied` (403): The member's role does not include the permission this operation needs. Fix: Ask an owner or admin to change your role, or use a key created by someone who holds the permission.
- `platform_in_review` (403): Your platform application is still under Payezy review. Fix: You can read customers while in review; inviting and creating customers unlocks once the platform is `active`.
- `platform_invite_email_mismatch` (403): this invitation was sent to a different email address; sign in with that address to apply
- `platform_invite_exists` (409): a pending invite for this platform and email already exists; resend it instead
- `platform_invite_inactive` (409): only pending invites can be resent
- `platform_invite_required` (403): platform applications are by invitation only; open the link in your invitation email
- `platform_unavailable` (409): this platform is not accepting new customers right now
- `product_unavailable` (409): This product is not available yet and cannot be enabled.
- `rate_limit_unavailable` (503): The rate limiter is unavailable, and Payezy fails closed. Fix: Retry with backoff.
- `rate_limited` (422): The key went over its rate limit (production 100 reads and 25 writes per second; the sandbox is tighter). Fix: Back off and retry with jitter. Spread bulk work over time.
- `reason_required` (422): Give a reason of at least 10 characters.
- `reason_too_long` (422): keep the reason under 1000 characters
- `recipient_archived` (409): this recipient was removed
- `recipient_blocked` (403): Screening blocked this recipient. Fix: Payments to a blocked recipient are not possible. Contact support if you believe this is wrong.
- `recipient_under_review` (409): Screening is reviewing this recipient. Fix: Wait for review to clear; then pay.
- `request_in_progress` (409): this account is still being opened; try again shortly
- `review_not_running` (409): The documents are approved, but onboarding is not running for this customer, so they were not sent. Contact engineering.
- `role_not_applicable` (422): this role is not available for this account type
- `scope_not_held` (403): The API key was created without the scope this operation needs, or you asked for a scope you do not hold. Fix: 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.
- `scopes_required` (422): choose at least one scope
- `self_approval` (403): The person who created a payment tried to approve it. Fix: A different approver must approve it.
- `session_inactive` (409): this session has already 
- `session_required` (403): This action needs a signed-in member; an API key cannot do it. Fix: Do it from the Payezy app (for example on the Developer page).
- `simulation_rejected` (422): The sandbox partner refused the simulated deposit. Fix: Check the amount and rail and try again.
- `simulator_unavailable` (422): The sandbox simulator cannot run for this account (for example in production). Fix: Simulators work in the sandbox. Production returns not_found.
- `simulator_unknown_account` (409): The account has no virtual account at the sandbox partner yet. Fix: Wait for the account to finish opening after approval, then retry.
- `single_payout_limit` (422): The amount is above the organization's single-transfer limit. Fix: Send less, or ask Payezy about your limits (`getPaymentLimits` shows them).
- `slack_not_configured` (422): Slack is not configured for this environment
- `slug_taken` (409): this link name is taken; choose another
- `source_unavailable` (409): this account type isn't available for your organization yet
- `standard_in_force` (409): The standard book always needs a version in force; activate a new version instead.
- `standard_not_assignable` (422): Every organization falls back to the standard book; end its assignment instead.
- `step_up_required` (403): A browser session tried a sensitive action without a recent second factor (AAL2). Fix: Re-authenticate with a passkey or authenticator app. API keys with the right scope do not need step-up.
- `terms_required` (422): The account agreement was not accepted. Fix: Send `accept_terms: true` and the `terms_version` from the customer terms.
- `too_many_accounts` (422): 
- `unauthorized` (401): No credential, an expired session, or a malformed key. Fix: Send `Authorization: Bearer pz_test_...` with the whole secret. A `pz_live_` key never works on the sandbox and a `pz_test_` key never works in production.
- `unavailable` (503): the docs assistant is not configured
- `unknown_product` (422): 
- `unknown_role` (422): unknown role
- `unknown_source` (422): choose one of the listed account types
- `unknown_tool` (422): tools are search_docs and get_operation
- `unsupported_content` (409): this file type cannot be shown
- `unsupported_network` (422): 
- `unsupported_partner_kind` (422): Choose a document type the partner accepts before sending a US photo ID or a proof of address.
- `unsupported_state` (422): We can't open this type of account in 
- `user_suspended` (403): this user has been suspended; contact support
- `wire_address_required` (422): wires need the beneficiary's address and the bank's address
