The charges of a standing order
GET
/businesses/{bid}/standing-orders/{id}/chargesRequires the documents scope.
Newest first. Each charge is a payment request with the day it was due (dueOn): paid with its receiptDocumentId, open while a refusal waits for its retry (attempts, lastError), cancelled when the order stopped before it was taken. A paid charge is given back with POST .../payment-requests/{id}/refund.
Path parameters
bidstringrequiredBusiness id, from
POST /businesses.idstringrequiredStanding order id.
Response
200: { "ok": true, … }
okbooleanrequiredchargesarray of objectrequiredErrors: 400, 401, 403, 404, 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).