Breaking
-
Apps authenticate with their own client secret. The token endpoint takes your app’s
client_idand client secret, as HTTP Basic orclient_secretin the body. Who breaks: platforms that swap codes for Connect with Bachs app access with their platform secret key. Your client is now an app with the sameclient_id, and your secret key keeps working for it until your first call with a client secret. Make a secret in Developer Portal → Apps and switch. See Move from Connect with Bachs. -
Merchant virtual accounts wait for review. A Nigerian account with the
merchantconfiguration no longer getsvirtual_accountsas soon as its BVN matches. Our team reviews it first, andcapability.updatedreportsactivewhen they approve. Who breaks: code that expectsvirtual_accountsto turnactivewithin minutes of the BVN check, and callsPOST /v1/virtual-accountsstraight after. Listen forcapability.updatedinstead. An account that already has it keeps it. See Accept bank transfers with a virtual account.
Added
- Bachs Apps. Any verified business can create up to 20 apps in Developer Portal → Apps, each with its own name, icon, links, callback addresses, permissions with a reason for each, webhook and client secrets. Keep an app private, share it by link (unlisted) or list it in the Bachs app directory (public). Publishing runs eight automatic checks. See Bachs Apps.
app.deauthorized. Your app’s webhook gets it before any connection ends, withreasonmerchant,app,expired,deletedorsuspended. See app.deauthorized.- Revoke and discovery.
POST /v1/connect/oauth/revokeends a connection from your side.GET /connect/oauth/.well-known/oauth-authorization-serverlists the endpoints for OAuth libraries. See OAuth endpoints.
Changed
- Converting needs no capability. Any account with a balance can convert, unless it is suspended or closed. New accounts no longer get a
conversionscapability, and naming it inconfigurationdoes nothing. - Receive-only accounts can hold
virtual_accounts. An account with only therecipientconfiguration can now hold it, and it switches on by itself once the BVN matches. Before, only amerchantaccount could hold it. See Capabilities. - Connections stay alive while you refresh. Each refresh moves a connection’s end to 90 days from then. Before, every connection ended 90 days after approval.
- App settings moved. Permissions, webhook and callback addresses for app access moved from Connect settings to Developer Portal → Apps. Connect settings keep the seller-account flow only.
Breaking
-
Paying a new connected account abroad needs international payouts. A connected account is paid out to mobile money, or to a bank outside Nigeria, only when its platform has turned on
internationalunderpayouts. Without it, the payout, the quote and adding the destination return400 INTERNATIONAL_PAYOUTS_NOT_ENABLED. Who breaks: a platform that creates new accounts, or asks an older account forpayoutsfor the first time, and pays them abroad. Accounts that already hadpayoutshave it on, so nothing changes for them. The fix is one field:See International payouts.
Added
- International payouts for connected accounts. Send
international: trueunderpayoutsonPOST /v1/accountsorPOST /v1/accounts/{account_id}.falseturns it off, and leaving it out changes nothing. Only your platform can set it, and onlypayoutstakes it (capability_option_platform_only,capability_option_not_supported). Read it back ascapabilities.payouts.international, on the account and onGET /v1/accounts/{account_id}/capabilities.capability.updatedcarries it too. You can also turn it on for every new account in your Connect setup in the dashboard. See International payouts.
Changed
-
Basic payouts and transfers ask only for a name. A person gives their name, a company its legal name, and
payoutsstill needs a payout account. No email and no address. Those are asked only when you turn on international payouts: email and address for a person, the company address for a company. They show inrequirementsand the hosted onboarding checklist, and apayoutsthat is already live stays live. See Payouts abroad. -
PAYOUT_RECIPIENT_INCOMPLETEnames what is missing.detailnow reads, for example, “This account is missing its address (street, city and country).” The account’scontact_emailcounts as its email. -
API creates follow your international payouts default. If your Connect setup turns international payouts on for new accounts, an account you create with
POST /v1/accountsthat requestspayoutsstarts with it on, unless the call sendsinternationalitself. Nothing else from the setup applies to an API create. See International payouts.
Added
-
A fingerprint for each card.
payment_method_details.card.fingerprintonGET /v1/payments/{payment_id}and oncollection.succeedednames the card itself. The same card gives the samefingerprinton every payment to your account, whoever pays with it, so you can spot one card used by many customers and block it. Before this, the closest you had was brand, last four digits and expiry, which many different cards share. Card payments from before this change have it too, wherever we hold a record of the card. See the payment object. -
Payout destination webhooks.
payout_destination.approvedandpayout_destination.rejectedtell you when a destination becomes usable or is refused, so you no longer need to pollis_usable. Pending and rejected destinations now carry a plain reason instatus_reason, and a bank account’sbank_nameis filled from our bank list when the bank does not return one. See Wait for approval. -
Give a connected account a dashboard. Send
dashboard: "light"onPOST /v1/accounts, or later onPOST /v1/accounts/{account_id}, and the person behind the account can log in at connect.bachs.io to see their balance, payments and payouts. No password.dashboard_featuresdecides what they may change: payout schedule, manual payouts, payout account and refunds, all off until you turn them on. Before this, nobody behind a connected account could log in. See Give an account a dashboard. -
Login links.
POST /v1/accounts/{account_id}/login_linksreturns a single-use link that opens alightaccount’s dashboard. It lasts five minutes, so make it when the person taps a button in your app. See Open the dashboard from your app. -
Give a connected account the full Bachs dashboard. Send
dashboard: "full"and the person behind the account signs in at app.bachs.io. If they already use Bachs, they use the login they have. We email the invite when the account goes live.POST /v1/accounts/{account_id}/dashboard_invitesends it again. They cannot take payments outside your platform on that account, anddashboard_accessreadsinviteduntil they accept. See Give them the full dashboard. -
Withdraw a capability. Send
"requested": falsefor a capability that has not gone live, and it goes back to not requested. Before this, it returned400 capability_unrequest_unsupported. A live capability returnscapability_active, and one our team turned off returnscapability_disabled. See Withdraw a capability. -
A
livenessaccount link sends the person to the selfie video check alone, for example after it failed.liveness_owedon the account tells you when they need it. See The selfie video check. -
goes_live_automaticallyon each capability says whether it switches on by itself once its checks pass.
Changed
-
A connected account owes only what its capabilities need. An account that is only paid out gives a name, email, street address and a payout account. Holding money adds date of birth, phone and ID number. Taking payments adds a selfie video check. People are no longer asked for a website, product category or support email. Accounts that are already live keep what they have; anything new shows as
eventually_dueand switches nothing off. See What an account owes. - Capabilities go live when their checks pass. Payouts and transfers no longer wait for our team. Card payments, and payments for a company, are still reviewed before they go live. See How a capability goes live.
-
The payout account must be in the account’s own name. We compare the bank’s name for the account with the person’s name, or the company’s registered name. No words in common returns
400 INVALID_REQUIREMENT_FIELDwith codeaccount_name_mismatch. Only Nigerian banks return a name today, and the check does not run in the sandbox. See Thepayout_destinationshape. -
One write to an account at a time. A second
POST /v1/accounts/{account_id}while the first is still saving returns409 account_write_in_progress. Send it again in a moment.
Fixed
- We fixed card payments in the payment list showing no card.
GET /v1/paymentsreturnedpayment_method.brandandpayment_method.last4asnullon every card payment. They now carry the card’s brand and last four digits, the same as the single payment.
Added
- Choose the bank for your virtual account. Send
bank_codewithPOST /v1/virtual-accountsto pick the bank that holds the number:103(Globus Bank),090645(Nombank MFB) or110072(Bank78 MFB). You get that bank or an error, never a different one. Leave it out and we pick, as before. It only counts when the number is first created; a number you already have keeps its bank. See Choose the bank.
Changed
-
bank_codeon a new virtual account is now our bank code. It is the same code you send to choose a bank. Before, it was the issuing provider’s own code, ornull. Numbers created before this change keep the code they had. - We try another bank on any outage. When you don’t choose a bank and the first one is down, Bachs tries the next one. Before, it only did this when the bank timed out. Other outages returned an error.
Added
-
narrationon payouts. SendnarrationwithPOST /v1/payoutsto add a short note for the recipient’s bank statement. Keep it under 15 characters: many banks show only the first few, and some show their own label instead. The payout object returns it asnarration. Before this, the recipient saw our fixed text on most payouts, so they could not tell which of your payments it was. See Create the payout. -
session_idon payouts to a Nigerian bank account. Once the payout completes,session_idholds its NIP session ID, on the payout object and on thepayout.paidevent. The recipient’s bank uses it to trace the transfer. Before this, a payout had no ID the recipient’s bank could look up, so a missing transfer was hard to trace. -
narrationon payout webhooks.payout.created,payout.paidandpayout.failednow carrynarration, the same value as the payout object. Before this, you had to fetch the payout to see what the bank was sent. See payout.paid. -
Find a payout by your own reference.
GET /v1/payouts?reference=inv_1042returns the payout you created with thatreference, as a list holding at most one payout. Before this, you could only fetch a payout by itspay_ID.
Changed
-
One change at a time on a subscription. Two plan or seat changes sent to the same subscription at the same moment used to both charge or credit the difference. Now the second waits for the first, then sees its result. If the first is still running after 2 seconds, usually because it is charging a card, the second returns
409withSUBSCRIPTION_CHANGE_IN_PROGRESSand changes nothing. Retry after a few seconds. -
Changes are refused while another is staged. Before, only an upgrade that charged a card was refused. A seat change, downgrade, or change with
proration_behaviornext_cycleornonewent through, and the staged change then overwrote it when it applied. Plan changes now returnSUBSCRIPTION_CHANGE_ALREADY_PENDINGwhile any change is staged, and so do seat changes while an upgrade waits for its charge. Cancel the staged change first withDELETE /v1/subscriptions/{id}/pending_update. - Seat changes go through while a billing cycle change waits. A billing cycle change, for example monthly to annual, waits until renewal, which can be months away. A seat change in that time is applied now, and the waiting change moves to the new seat count, so renewal bills the seats the customer has.
-
A trial on a paid subscription must end after the paid period. Adding a trial to an
activesubscription with atrial_endbeforecurrent_period_endused to bill a whole new period when the trial ended, so the customer paid twice for the days they had already paid for. It now returns400withSUBSCRIPTION_TRIAL_ENDS_IN_PAID_PERIOD. Extending a trial that is already running is unchanged. -
A billing cycle change is refused on a subscription with more than one item. Every item bills on the subscription’s one cycle. Moving one item from monthly to annual used to move the whole subscription at renewal, so the other items’ monthly prices were billed once a year. It now returns
400withSUBSCRIPTION_PLAN_INTERVAL_MISMATCH. The plan-change preview refuses it the same way. -
seat_tiersis refused on a billing cycle change. Before, the tiers were dropped without a word and renewal billed the flat price times the seats. It now returns400withSUBSCRIPTION_PLAN_INTERVAL_MISMATCH. Send the change withoutseat_tiers.
Added
-
seatson the subscription object and its items. Each item showsseats, the same number asquantity. The subscription showsseatswhen it has one priced item, andnullwhen it has more. Webhooks carry the same fields.quantityis unchanged. -
Seat changes are now documented.
PATCH /v1/subscriptions/{subscription_id}with{ "seats": 5 }sets the new total and prorates the difference. Sendsubscription_item_idwhen the subscription has more than one priced item. See Change the seat count.
Added
-
Global Payouts through the existing payout API. Bank destinations support NGN, GHS, KES, TZS, UGX, GBP, USD, CAD and EUR, with mobile money in GHS, KES and TZS and supported stablecoin wallets. Global Payouts is available to all Bachs users; account verification, an active
payoutscapability, destination approval and sufficient available funds still apply. These withdrawals are to the account holder’s own destinations. Register destinations withPOST /v1/payouts/destinationsand checkis_usablebefore requesting a payout. Set the destinationtypeexplicitly for bank or mobile money destinations, and choose aschemefor USD and CAD bank destinations. See Create a payout destination. International bank and mobile money routes debit the available USD balance. For a different destination currency, request a conversion quote and send itsquote_idwith the destination ID, withoutamount, when creating the payout. USD-to-USD payouts useamountwithout a conversion quote. A successful create response confirms acceptance, not delivery; track the payout untilcompletedorfailed. For connected accounts, useX-Account-Idwith that account’s own balance and approved destination. Add scheme-based international bank destinations through the destination API rather than the inline onboardingpayout_destinationfield. See Global Payouts and International bank payouts. -
enabledonPATCH /v1/webhooks/endpoints/{endpoint_id}. Sendfalseto stop all deliveries to an endpoint, ortrueto turn it back on. Before this, the only way to stop deliveries from the API was to delete the endpoint. Turning an endpoint on clears its failure history. Events from while it was off are not sent, so resend the ones you need. -
disabled_atanddisabled_reasonon the webhook endpoint object. Returned everywhere an endpoint is. We now turn off an endpoint whose deliveries have all failed for 72 hours, at least 48 hours after we email a warning. When we do,enabledisfalse,disabled_atis the time, anddisabled_reasonisconsecutive_failures. Both arenullwhile the endpoint is on, and when you turned it off yourself. See When an endpoint keeps failing.
Changed
- Dashboard users need permission to manage webhooks to change them. This covers adding, editing, enabling, disabling and deleting endpoints, rotating and viewing signing secrets, and resending events. API keys are unchanged:
webhooks:writefor changes andwebhooks:readfor reads, including the signing secret.
Added
-
Virtual accounts.
POST /v1/virtual-accountsissues a fixed NGN bank account number for your platform or a connected account, andGET /v1/virtual-accountsreads it back. Each deposit becomes a payment with acollection.succeededwebhook whosecheckout_idisnull. Creating twice returns the same number rather than a second one. NGN is the only currency today. The account needs an activevirtual_accountscapability. Request it through the account API and complete the returned requirements, including the representative’s BVN. The two new permissions,virtual_accounts:readandvirtual_accounts:write, are not on keys that already exist. Add them to your key before your first call, or it returns403. See Accept bank transfers with a virtual account. -
payment_methodnow reports the rail used for a virtual account deposit. It readsNGN_BANK_TRANSFER, the same corridor name a checkout writes for that rail. We also corrected the card description in the reference: a card payment reportsUSD_CARDorNGN_CARD, not a bareCARD. -
payment_method_detailson the payment object and collection webhooks. Returned byGET /v1/payments/{payment_id}and sent oncollection.succeeded, but not on the payment list. For a bank transfer, it names the sender (sender_name,sender_bank,sender_account_number), the interbanksession_id, and the account number that received the money. Use these details to distinguish deposits into the same virtual account. It isnullon payments taken before this shipped and on methods that provide no payer details. See the payment object.
Added
-
customeris now optional on checkout session creation. Omit it and the hosted checkout page collects the buyer’s email and name before they can pay. It stays required for a subscription checkout, which has no later opportunity to collect it. See Guest checkout. -
customer_creationon checkout session creation. Decides whether a buyer who identifies themselves on the hosted page also becomes a customer record.if_required, the default, keeps them out of your directory:customerstaysnulland nocustomer.createdorcustomer.updatedwebhook fires, while the buyer’s email and name reach you oncustomer_detailsand their purchases group together in your dashboard.alwayscreates the record, matched by email to an existing customer where you already have that address, and returns it oncustomeras normal. It is ignored for a subscription orsetupcheckout, which always create a customer, because recurring billing needs a durable record to keep the renewal card on. See Whether a guest becomes a customer. -
customer_detailson the checkout session object and thecheckout.completedwebhook.{ email, name }, present whenever an identity was collected, whether or not a customer record exists for it.customeris unchanged, so nothing that reads it breaks. What gains an identity today is every checkout that used to sendcustomer: nulland nothing else, such as a payment link with a fixed price. Seecustomervscustomer_details.
Changed
-
Two new error codes say why a live checkout can offer no payment method.
CHECKOUT_HAS_NO_PAYMENT_METHODcovered three different problems with one message, and named the wrong one for the two most common: an account that is not live yet, and an account whose methods have been restricted. Those now have their own codes,ACCOUNT_NOT_ACTIVATEDandACCOUNT_PAYMENT_METHODS_RESTRICTED, both still400, and returned everywhere a checkout is created.CHECKOUT_HAS_NO_PAYMENT_METHODstill fires, now only when the account has no payment method configured at all, andCHECKOUT_RESTRICTION_LEAVES_NO_PAYMENT_METHODis unchanged. If you branch on the old code to detect a not-yet-live account, add the two new codes. Sandbox is unaffected: every method is available there. See Why a checkout has no payment method.
Added
-
payment_method_optionson checkout sessions and payment links. Restricts which payment methods a checkout offers, and which currencies each one is offered in. Keys arecard,bank_transfer,mobile_money, andcrypto. A method you leave out is not offered; a method you include with nocurrenciesis offered in all of them. Forcryptothe currencies are asset codes such asUSDT_TRC20rather than fiat codes.Before this, you could turn a whole payment method on or off but not reach inside it, so “cards, but only in USD” was not expressible: you either took every card currency or dropped cards entirely. Restricting only ever narrows what the customer sees. It cannot add a method or a currency your account is not already enabled for, and if a restriction leaves nothing payable the request is rejected rather than creating a checkout nobody can complete. The restriction is enforced when the payment is priced and confirmed, not only on the page, so a request that names an excluded method or currency is refused withPAYMENT_METHOD_NOT_ALLOWED. See Restrict methods and currencies.
Added
-
Three more dispute evidence fields.
access_activity_log(a text log of the customer’s access or activity), pluscancellation_policy_attachment_idandrefund_policy_attachment_idfor the policy documents themselves. Both policy attachments take adocument_idfrom Upload Dispute Document and pair with the existingcancellation_policy_disclosureandrefund_policy_disclosuretext: the text states the policy, the file shows the customer was given it. Accepted onPATCH /v1/disputes/{dispute_id}/evidenceand returned on Get Dispute. -
billing_addresson the customer object. A nested object withline1,line2,city,state,postal_code, andcountry(two-letter code), ornullwhen unset. Accepted onPOST /v1/customersandPATCH /v1/customers/{customer_id}, and returned everywhere a customer is, includingcustomer.createdandcustomer.updatedwebhooks and the customer embedded in subscription and invoice payloads. -
On update, the address is replaced, not merged: omit
billing_addressto leave it untouched, sendnullto clear it, or send an object to replace every component (anything you leave out becomesnull). See the customer object. -
Disputes now arrive with
customer_email_address,customer_name, andbilling_addressprefilled from the customer record where we have them. They remain ordinary editable evidence.
Added
checkout.completedandcheckout.expiredwebhook events.checkout.completedfires whenever a checkout session finishes, acrosspayment,setup, andsubscriptionmodes, and carries a newpayment_statusfield (paidorno_payment_required) so you can tell a real payment apart from a free or setup completion in one event.checkout.expiredfires when an open checkout lapses past its expiry without the customer completing it. Seecheckout.completedandcheckout.expired.- A free (
$0) checkout now settles charge-lessly: no charge is created, and the only event you’ll get ischeckout.completedwithpayment_status: "no_payment_required". Previously this path minted a shell charge; there’s nothing to reconcile against it now.
Removed
collection.abandonedis gone. Usecheckout.expiredinstead, it’s the direct replacement and fires from the same expiry sweep.
Breaking
The payment resource moved and its fields were renamed. The oldpayins paths are gone.On the payment object:
charge_idis nowpayment_id.productsis nowline_items.organization_idwas removed.- The response gained
billing_reason,subscription_id, and a nestedinvoiceobject.
charge on the checkout detail response (GET /v1/checkout-sessions/{id}), so checkout.charge.charge_id becomes checkout.charge.payment_id and checkout.charge.products becomes checkout.charge.line_items.Other resources moved out of the /v1/payments namespace so the payment resource owns its root:Subscription line items now report pricing as
price_type (fixed, free, custom) instead of amount_type. This applies to the subscription response and the customer.subscription.* webhook payloads.The customer object is now { email, name }. first_name and last_name were removed everywhere: customer responses, the customer.* webhook payloads and every embedded customer object, and the POST/PATCH /v1/customers request bodies. Any code reading customer.first_name breaks; read customer.name instead (split client-side if you need parts).Added
-
The overlay checkout SDK. Load
bachs.jsfrom your checkout origin, ornpm install @bachs/jsfor a typed loader, and open any checkout session in a modal withBachs.Checkout.open({ checkoutUrl }). Lifecycle events included. See Add an overlay checkout. -
nameis now optional for a new customer on create checkout session;emailalone is enough. If provided, it must be non-blank. -
customer_nameandcustomer_emailon invoice responses, so lists can show who was billed without a second lookup. -
success_urlon create checkout session: the primary field for where a customer is redirected after a successful payment.return_urlis kept as a deprecated alias. -
expires_in_minuteson create checkout session (1 to 1440, default 60) to control session lifetime. -
billing_reasonon the payment object:purchase,subscription_create,subscription_cycle, orsubscription_update. -
invoiceandsubscription_idon the payment object for subscription payments. -
metadataon the subscription object, on the subscription response and thecustomer.subscription.*webhook payloads. Set it by attaching metadata to the checkout session that starts the subscription (it propagates on success), or update it later withmetadataonPATCH /v1/subscriptions/{id}(a standalone intent). Updates merge: sent keys are added or overwritten, a key sent with an empty-string value is removed, and sending""clears everything. The systemcheckout_idkey is preserved and cannot be overwritten. -
searchquery parameter on list customers to filter by email or name.
Fixed
- The payment object now returns
fee_usd(previously documented asfee, which was never returned). The incorrectsettlement_currencyandsettlement_amountfields were removed from the object; they were never returned. - Customer IDs are documented with the correct
cust_prefix (previously shown ascus_). - Checkout examples in the quickstart used a
productsfield andfirst_name/last_nameon the customer; the real fields areproduct_cartandname, and the examples now say so.
Breaking
Webhook management moved to/v1/webhooks and is now API-key accessible. The endpoint-management routes moved off the /v1/developer/webhooks path.Any code calling the old
/v1/developer/webhooks/* paths breaks; update the base path to /v1/webhooks/*. Authentication is unchanged for dashboard sessions, and API keys with the webhooks:read / webhooks:write scopes now work too.Added
- Webhook Endpoint API. You can now create, list, update, and delete webhook endpoints, rotate signing secrets, read delivery metrics, and list or resend events, all with an API key. Thirteen endpoints under
/v1/webhooks. See the webhook endpoint object.
Fixed
- The webhooks documentation was scattered across three places. It now lives in one Webhooks section: Concepts, Events, and the Endpoint API.

