Developers · API reference
Generated from qoyla.yaml (OpenAPI 3.1). Every money figure you read is tool-computed inside the customer’s bank, the API never estimates.
| Endpoint | What it does | Scope |
|---|---|---|
| GET /v1/safe-to-spend | The customer’s available-to-spend with its reason chain. | money.read |
| GET /v1/plans | Active money plans with funding state and pace. | money.read |
| POST /v1/proposals | Propose an action, a transfer, a plan change, an offer claim. Never executes. | propose |
| POST /v1/approvals | Record the customer’s explicit approval of a proposal. This is the only path to execution. | approve |
| GET /v1/records/{ref} | Fetch a sealed record: reason → verification → action → outcome, signed. | records.read |
| GET /v1/offers/match | Offers matched to spending intent, category signals only, never raw transactions. | offers.read |
curl · sandbox
curl https://sandbox.api.qoyla.ai/v1/safe-to-spend \ -H "Authorization: Bearer $QOYLA_SANDBOX_KEY" \ -H "Qoyla-Customer: cus_test_tunde" # → { "amount": "542430.46", "currency": "NGN", # "reasons": [ "rent reserved", "school fees reserved", ... ], # "record": "QRY-STS-8821" }
Sandbox keys are free. Production access comes with FI or merchant partnership.