Payezy accepts three credentials on the customer API.
A browser session uses the payezy_session cookie from Kratos. Dashboard actions that move money or change keys require a second factor (AAL2).
An API key is a bearer token shaped pz_test_<id>_<secret> on staging and pz_live_<id>_<secret> in production. The prefix must match the environment. A live key works only after staff grant production API access and only while the organization is active. Scopes are frozen when the key is created. Possession of the key replaces interactive step-up for those scopes.
Staff view-as and platform view-as use a short-lived bearer token. Those tokens are not API keys, and API keys cannot open a view-as session.
The reference can attach three credentials. A key from the Developer page is the API key scheme, not the session cookie.
pz_test_. A production secret starts with pz_live_ and does not authenticate until Payezy staff grant production API access for that organization.Authorization: Bearer pz_test_... (or pz_live_...).payezy_session. That field is the browser session cookie. The API does not treat it as a key, so the call returns 401. On the sandbox the real session cookie is named payezy_stg_session.Create keys from the Developer page. The secret is shown once. Payezy stores only an HMAC of the secret. To call the API, send Authorization: Bearer and the full secret. In the API reference, choose the apiKey scheme and paste that secret. The payezy_session cookie field is not an API key.
Read-only keys expire in 365 days by default. Keys with a write scope expire in 90 days. No key lasts longer than one year. Roll a key to mint a replacement; the old secret can keep working for up to 72 hours. Revoke ends it immediately.
An empty IP allowlist accepts any address. A non-empty list accepts only those CIDR networks.
Each key has its own rate limit. Production allows 100 reads and 25 writes per second. Staging is tighter. If the limit store is unavailable, the key is refused.
Live keys that can write email the organization's owners. Revoking production API access keeps the keys listed and makes them fail with api_access_revoked until access is granted again.
Creating, rolling and revoking a key, and rotating a webhook signing secret, require a signed-in member. An API key cannot do those. A platform with platform:customer_keys mints a separate customer key for each linked customer. That customer key is the only credential on later requests. It cannot mint further keys. Removing the customer link revokes the keys that platform minted and leaves keys the customer created.
A key minted by a platform records source=platform_api and the platform id on every later action. A key from the Developer page records source=customer_api. A signed-in session records source=customer_app.
Register an HTTPS endpoint from the Developer page and choose payment.updated, withdrawal.updated, onboarding.updated, or platform_customer.updated.
Payezy signs the raw body. The Payezy-Signature header looks like t=<unix>,v1=<hex hmac sha256>. The signed string is <unix>.<body>. During the 24 hours after a secret rotation, the header carries a v1 for the new secret and a v1 for the previous one. Reject timestamps older than five minutes.
Production registration and re-enabling require the production API grant. Deliveries retry with backoff and are marked failing after repeated errors. Replay queues one delivery again.
Endpoints must be public HTTPS. Private, loopback, and link-local addresses are rejected.
Staging is the public sandbox. It has its own network, database, and keys, and it talks to the Brale test network. Production is live only.
Sandbox keys use the pz_test_ prefix and work before verification. Live keys exist only in production. A key from one environment is rejected by the other.
POST /v1/orgs/{orgId}/accounts/{accountId}/simulate-deposit credits a sandbox account. Production returns not_found. The staging web app shows the same action on the Simulate deposit page.
Sign-up on staging sends real email. There is no on-screen code and no MFA bypass. Staff sign-in is limited to the networks operators configure.
this account cannot send payments
this account can't receive deposits
we couldn't open the account right now; try again in a few minutes
this account is still being set up
an API key can list at most 20 networks
the customer has already claimed this account
you already responded to this payment
this organization already belongs to a platform
this person is already a member
production API access is not enabled for this organization
this key is no longer active
the application can no longer be edited
This assignment has already ended.
Fees are always paid from the Payezy balance for direct customers.
Billing for this organization is handled by its platform.
This version is already archived.
The draft was edited after activation was requested; request activation again.
Delete a draft instead of archiving it.
Platforms are priced on platform books.
Activate the book before assigning it.
Active and archived versions cannot change; start a new version.
This break is not open.
you cannot disable your own access
choose another member to become the owner
open the claim link from your platform to claim this account
Only credits not yet applied to a bill can be voided.
only the customer can accept the account agreement
your platform is not set up for
this environment always emails invitations
Describe the credit; the customer sees it on their bill.
This book already has a draft version:
this wallet is already saved for this recipient
Each commitment kind can be set once per product and once overall.
Rate changes cannot take effect in the past; past charges never change.
verify your email address to continue
provide an invitation token or a platform link
choose at least one event
you already have a customer with this reference
this API key does not include
send an Idempotency-Key header
this Idempotency-Key was used for a different request
this idempotency key was used for a different payment
the account could not be opened
this view-as session has ended
simulations cannot be run while viewing as a customer
this person already has a personal account
available balance is
you cannot modify a member with a higher role
An unexpected error occurred.
provide either a bank account or a wallet
account numbers are 4 to 17 digits
account type must be checking or savings
this is not a valid
Enter a positive amount.
some fields need attention
category must be one of
a platform cannot be another platform's customer
customer type must be individual or business
customer types must be business and/or individual
decision must be approve, reject, request_changes or send
could not read the upload
some documents were already sent to the partner or belong to another application
Enter a valid billing email.
estimates cannot be negative
unknown event:
expiry must be within the next year
idempotency keys are at most 200 characters
invoice numbers are at most 64 characters
New books are platform or customer books; edit the standard book with a new version.
labels are at most 80 characters
Enter a positive single-transfer limit.
memos are at most 140 characters
Payment method must be bank_transfer or manual.
enter the recipient's name (up to 140 characters)
overlap must be between 0 and 72 hours
enter the email address the customer will sign in with
Period must be YYYY-MM.
threshold must be ≥ 0 and approvers between 0 and 5
purpose must be payment or withdrawal
the reason is at most 500 characters
malformed application
enter a valid 9-digit ABA routing number
scope is not allowed on a customer API key:
side must be front or back
the link name uses 3-40 lowercase letters, digits and dashes
slack install state is invalid
Status must be resolved or ignored.
Payment terms are 0 to 90 days.
type must be individual or business
webhook URL must be https
this invitation was sent to a different email address
this invitation is no longer valid; ask the platform for a new one
send the invitation link or the claim id, not both
Paid and void invoices cannot be voided.
Only draft invoices can be issued.
Only open or past-due invoices can be marked paid.
This invoice is partly paid; record the rest or issue a credit instead.
this API key is not allowed from this network
keep the name under 80 characters
a recipient keeps at least one account; remove the recipient instead
an organization must keep at least one owner
re-enable this member before making them the owner
your access to this organization has been disabled
name the key after the system that will use it
upload the requested documents first
no documents are currently requested
this account has no active deposit details yet
Onboarding is not running for this customer.
that person is not an active member of this customer
only active platforms can be suspended
staff cannot create organizations on behalf of customers
This application is not waiting for review.
only business and platform accounts can invite team members
this payment was already sent and can no longer be canceled
The resource does not exist, or it is not visible to this caller.
withdrawals go to your own linked accounts; use Pay to send money to someone else
only pending applications can be approved
this payment is not waiting for approval
this customer is not restricted
This customer has not been opened at a partner yet.
personal accounts have a single owner
only suspended platforms can be reinstated
only the person who opened this session or a platform admin can end it
Explain the resolution in a note.
account opening is temporarily unavailable
this account is closed
complete verification before using this feature
outgoing payments are temporarily restricted on this account
this account is suspended; contact support
this is one of your own accounts; use Withdraw to move money to it
that sign-in already belongs to someone else
the account could not be opened
This customer already has accounts at a partner, but there is no partner profile to re-sync.
The PDF is available once the invoice is issued.
A month can be billed only after it ends.
your role does not allow this action (
this is available once Payezy approves your platform application
this invitation was sent to a different email address; sign in with that address to apply
a pending invite for this platform and email already exists; resend it instead
only pending invites can be resent
platform applications are by invitation only; open the link in your invitation email
this platform is not accepting new customers right now
This product is not available yet and cannot be enabled.
try again shortly
too many questions from this network
Give a reason of at least 10 characters.
keep the reason under 1000 characters
this recipient was removed
payments to this recipient are not allowed
this recipient is being reviewed by compliance; try again later
this account is still being opened; try again shortly
The documents are approved, but onboarding is not running for this customer, so they were not sent. Contact engineering.
this role is not available for this account type
you cannot grant a scope you do not have (
choose at least one scope
you cannot approve a payment you created
this session has already
this partner cannot simulate deposits
the sandbox partner no longer knows this account (its state was reset); re-onboard to simulate deposits
payments are limited to
Slack is not configured for this environment
this link name is taken; choose another
this account type isn't available for your organization yet
The standard book always needs a version in force; activate a new version instead.
Every organization falls back to the standard book; end its assignment instead.
Confirm with two-factor authentication to continue.
accept the current account agreement to continue
sign in to continue
the docs assistant is not configured
unknown role
choose one of the listed account types
tools are search_docs and get_operation
this file type cannot be shown
Choose a document type the partner accepts before sending a US photo ID or a proof of address.
We can't open this type of account in
this user has been suspended; contact support
wires need the beneficiary's address and the bank's address