Open a card terminal
POST
/businesses/{bid}/payment-terminalRequires the businesses scope.
Choose a package. Answers the forms the owner fills next (the acquirer agreement unless acquirer is existing, then the terminal), and the terminal is requested until it is connected: on its own when the card companies approve it, and the owner is told. In the sandbox the terminal is simulated and active at once; with flow: true it starts at forms and POST /payment-terminal/simulate walks it through the stages. Owner only.
Path parameters
bidstringrequiredBusiness id, from
POST /businesses.Body
packagestringrequiredOne of:
small, half, full.acquirerstringnew (default): no agreement with a card company yet. existing: the business already holds a supplier number (its agreement stays as it is, even when its current terminal is with another provider). One of: new, existing.flowbooleanSandbox only: walk the stages instead of an active terminal at once.
Response
201: { "ok": true, … }
okbooleanrequiredterminalPaymentTerminalrequiredThe business's own card terminal (clearing). Opened by the business through the acquirer's and the terminal provider's own forms, held under BillOS's dealer account; the money goes from the acquirer to the business's bank and never passes through BillOS. No credential is ever returned.
nextobjectShowHide 2 child attributes
next.acquirerUrlstringnext.terminalUrlstringErrors: 400, 401, 403, 404, 409, 429. Every failure answers { "error", "reason", "hint", "param", "doc_url", "retryable", "request_id" }: branch on reason, and read hint for what to change (https://docs.billos.co.il/errors.md).