The account a party's cheques are drawn on
GET
/businesses/{bid}/parties/{id}/cheque-accountRequires the businesses scope.
Read off the last document issued to this party against a cheque that named its bank: fill the next cheque's bankCode, branchCode and accountNumber from it. null until one exists. Nothing is stored on the party.
Path parameters
bidstringrequiredBusiness id, from
POST /businesses.idstringrequiredParty id.
Response
200: { "ok": true, … }
okbooleanrequiredchequeAccountobject,nullrequiredErrors: 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).