Lender network · Headless APIs

One invoice, one lender

Every financed ZATCA invoice UUID is written to a shared, append-only registry. When SNB locks an invoice, any other platform that queries the network gets ALREADY_PLEDGED. Digital lenders such as Lendo or Erad consume the same scoring and registry through the API below.

Double-pledge attempt

Play a rival platform trying to finance an invoice that is already locked.

No locked invoices yet.

API console

Sandbox keys: cw_sandbox_lendo, cw_sandbox_erad, cw_sandbox_snb

curl -H "x-api-key: cw_sandbox_lendo" https://<host>/api/v1/sme/1010887766/score

WORM invoice registry

Append-only, each entry hashes the one before it

#ActionInvoiceLenderEntry hash

Webhooks

Events pushed to lenders (HMAC-signed in production)