Open a standing order on a card
/businesses/{bid}/standing-ordersRequires the documents scope.
A monthly charge of the customer's card on the business's own terminal. Nothing is charged by this call: it answers a url for the customer, who types his own card there and ticks a consent stating the amount, the day, the end and how to cancel. The business never types a card. chargeAtConsent takes the first charge when he agrees; otherwise the first charge is on the next dayOfMonth. It runs until cancelled unless maxCharges or endDate is given (one of them, not both). A refused charge is retried 1, 3 and 7 days after its day, then the order is failed (webhook standing_order.updated; every refusal is standing_order.charge_failed). The customer can cancel from his link at any time. Send an Idempotency-Key so a retried call is the same order. ⚠️ 422 not_supported where standing orders are not open: today they run only on a simulated terminal (sandbox keys), where a card ending 0002 is refused at every charge.
Path parameters
bidstringrequiredPOST /businesses.Headers
Idempotency-Keystringdeduped: true instead of creating a duplicate. Interchangeable with externalRef in the body.Body
amountintegerrequireddescriptionstringrequireddayOfMonthintegerrequiredpartyobjectrequiredpartyId) or a name.ShowHide 5 child attributes
party.partyIdstringparty.namestringparty.phonestringparty.emailstringparty.taxIdstringchargeAtConsentbooleanmaxChargesintegerendDatestringexternalRefstringIdempotency-Key header.Response
201: { "ok": true, … }
okbooleanrequiredstandingOrderStandingOrderrequiredamount every month on dayOfMonth, on the business's own terminal. Opening one charges nothing: the customer opens url, types his own card and agrees to the terms himself, and the consent is recorded as he gave it. Every charge is a payment request (GET .../standing-orders/{id}/charges) that issues its receipt like a paid link. The card is kept as the card company's token, sealed, and is shown by its last four digits only.dedupedbooleanErrors: 400, 401, 403, 404, 422, 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).