Orders & money
Goods release verification
Under Murabaha the Bank buys the goods from the vendor and sells them to the customer. You may hand over goods only when the Bank has authorised release — and you must confirm that authorisation through the API.
The rule#
GET /api/v1/releases/{reference} is the only acceptable proof
release_authorized: true and status: "AUTHORIZED", for the expected order and items. A webhook, a redirect, a customer’s screenshot, an email or a payment notice is never sufficient on its own.A release is authorised only after the vendor payment is confirmed by the authoritative payment system and every contractual condition (possession evidenced, cost and profit disclosed, sale contract executed) is satisfied. You learn the release reference from the goods.release_authorized webhook (data.release_reference) or from release.reference on the application.
Retrieve a release#
/api/v1/releases/{release_reference}scope orders:readcurl https://pay-with-araf.onrender.com/api/v1/releases/REL-000009 \
-H "Authorization: Bearer $ARAF_SECRET_KEY"{
"object": "release_authorization",
"reference": "REL-000009",
"status": "AUTHORIZED",
"release_authorized": true,
"application_reference": "ARAF-2026-000002",
"merchant_order_reference": "ORD-10045",
"vendor_reference": "VENDOR-LEKKI-ELEC",
"currency": "NGN",
"authorized_amount": 45000000,
"authorized_items": [
{
"sku": "PHONE-001",
"name": "Sandbox Smartphone X",
"quantity": 1
}
],
"payment_reference": "PAY-000014",
"payment_status": "CONFIRMED",
"vendor_payment_amount": 45000000,
"authorized_at": "2026-11-25T10:55:02.441Z",
"suspended_at": null,
"suspension_reason": null,
"simulated": true,
"livemode": false
}release_authorizedbooleanrequired- true only while
statusisAUTHORIZED. statusstringrequired- AUTHORIZED, SUSPENDED, CONSUMED or REVOKED (below).
merchant_order_referencestringrequired- Must match the order you are about to fulfil.
authorized_itemsarrayrequired- The SKUs, names and quantities you may hand over. Release nothing else.
authorized_amountinteger (kobo)required- Purchase amount covered by the authorisation.
payment_reference / payment_status / vendor_payment_amountstring / string / integerrequired- The confirmed vendor payment backing this release.
suspended_at / suspension_reasonISO 8601 / stringoptional- Set when the Bank suspended the release.
simulatedbooleanrequired- true in the sandbox (payment rails are simulated).
Release statuses#
| Status | release_authorized | Meaning |
|---|---|---|
| AUTHORIZED | true | You may hand over the authorised items. |
| SUSPENDED | false | Do not release. Suspended by the Bank, after a cancellation request, or after a vendor payment reversal. You receive goods.release_suspended. |
| CONSUMED | false | Already used: you recorded dispatch or collection. |
| REVOKED | false | Withdrawn permanently (e.g. order cancelled and refunded). Do not release. |
A suspended release can be reinstated by the Bank; you then receive another goods.release_authorized with reinstated: true. Always re-verify immediately before handing over goods.
Release checklist#
- Receive
goods.release_authorized(verify its signature) or see the order in the Partner portal’s Ready for release queue. - Call
GET /api/v1/releases/{reference}. Checkrelease_authorized === true, the order reference and the items. - Hand over only the authorised items to the customer’s verified delivery contact.
- Record it immediately with POST /orders/{ref}/fulfil (
DISPATCHEDorCOLLECTED). This consumes the authorisation.
Fulfilment calls are rejected with 409 RELEASE_NOT_AUTHORIZED when no active authorisation exists — the API enforces the rule even if your code does not.