Read a payment link
GET
/businesses/{bid}/payment-requests/{id}Requires the documents scope.
Path parameters
bidstringrequiredBusiness id, from
POST /businesses.idstringrequiredPayment request id.
Response
200: { "ok": true, … }
okbooleanrequiredpaymentRequestPaymentRequestrequiredA request for a payment and its public link. When the card company confirms the payment, BillOS issues the receipt itself: a קבלה (400) for an invoice it pays, a חשבונית מס/קבלה (320) for a proforma or for its own lines (a 400 for an עוסק פטור), and the invoice it paid is closed.
Errors: 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).