Skip to main content
The tables below describe every error_code the Bachs API returns. When an error has a code, its doc_url links to that code’s entry here, or to the guide that explains it. For the error object shape and how to handle errors, see Errors.
Sections marked Limited Access cover features that are not enabled by default. Contact hello@bachs.io to request access.

General

Errors that can occur on any endpoint.

Payments

Encountered when initiating or processing payments.

Products & Prices

Encountered when creating or updating products and prices.

Checkout Sessions

Encountered when creating or processing checkout sessions.

Subscriptions Limited Access

Encountered when creating or managing subscriptions.

Payouts Limited Access

Encountered when sending payouts or managing payout destinations.
Limit errors include a details object alongside error_code and detail. Parse it to show remaining allowance and cap amounts directly to your users.

Deposits

Encountered when collecting payments from customers.

Virtual accounts

Encountered when creating or reading an account’s fixed account number. See Virtual accounts.

Quotes Limited Access

Encountered when requesting conversion quotes.