Docs

API documentation

Real REST endpoints — same bank truth as the app. Create a key, send Bearer auth, verify payments from any backend.

Authenticate every request

Create a key in Developer or Workspace → API keys, then send it as Bearer or X-Api-Key.

Authorization: Bearer vk_live_…

X-Api-Key: vk_live_…

Base URL: https://liqverify.liqsolutions.site · Prefer server-side calls so keys stay secret.

Verify body fields

POST /api/v1/verify

FieldRequiredNotes
bankyescbe, telebirr, boa, mpesa, dashen, … — see GET /banks
referenceyesFT ref, receipt id, share link, or receipt URL
accountNumbersometimesLast 8 (legacy CBE) or last 5 (BOA typed refs)
phoneNumberCBE BirrPayer phone when required
expectedAmountnoEnables amountMatched + paymentConfirmed
expectedReceivernoSoft name match against receiver

Verify response

JSON fields you can trust for checkout

FieldMeaning
okBank returned a valid receipt
paymentConfirmedok + optional amount/receiver checks passed
amountMatchedtrue / false / null (null if expectedAmount omitted)
receiverMatchedtrue / false / null when expectedReceiver set
provider, ref, sender…Receipt fields: receiver, amount, when
reasonError detail when ok is false

Code samples

Pick a language — examples update for every endpoint below.

Verify payment
Confirm a receipt against the bank. Optional expectedAmount → paymentConfirmed.
POST/api/v1/verify
const res = await fetch("https://liqverify.liqsolutions.site/api/v1/verify", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${process.env.LIQVERIFY_API_KEY}`,
  },
  body: JSON.stringify({
    bank: "telebirr",
    reference: "DET8FJGUJ4",
    expectedAmount: 500,
  }),
});

const data = await res.json();
if (data.paymentConfirmed) {
  // mark order paid
}
List banks
Live bank / wallet ids and required fields (account digits, phone, etc.).
GET/api/v1/banks
const res = await fetch("https://liqverify.liqsolutions.site/api/v1/banks", {
  headers: { Authorization: `Bearer ${process.env.LIQVERIFY_API_KEY}` },
});
const { banks } = await res.json();
console.log(banks.map((b) => b.id));
Usage & quota
Monthly plan usage, remaining checks, and this-month mix.
GET/api/v1/usage
const res = await fetch("https://liqverify.liqsolutions.site/api/v1/usage", {
  headers: { Authorization: `Bearer ${process.env.LIQVERIFY_API_KEY}` },
});
const usage = await res.json();
console.log(usage.usedThisMonth, usage.monthlyQuota, usage.remaining);
Verification history
Recent org verifications for your API key’s workspace.
GET/api/v1/history
const res = await fetch("https://liqverify.liqsolutions.site/api/v1/history", {
  headers: { Authorization: `Bearer ${process.env.LIQVERIFY_API_KEY}` },
});
const { items } = await res.json();
items.forEach((v) => console.log(v.ref, v.status));

Webhooks

Configure in Workspace → Hooks. Events: verification.success, verification.failed.

POST your-endpoint
X-LIQverify-Signature: sha256=<hmac>
X-LIQverify-Event: verification.success

{ "event": "verification.success", "data": { ... }, "sentAt": "..." }

Verify HMAC-SHA256 of the raw body with your webhook secret. Auto-disabled after 10 failures.

Errors

  • 401 — Missing or invalid API key
  • 429 — Monthly workspace quota exceeded
  • 400 — Bad input or bank rejected the check
  • 202 — needs_device_fetch (rare; server abroad, device must fetch)
  • 500 — Unexpected server error
Need help integrating?
Usually reply within 24 hours
Contact support