Receipt verifier
Playground
Build a verification payload and preview the response shape returned by the package.
Bank
Commercial Bank of Ethiopia
Method
LINK
Response
SUCCESS
Verification payload
Enter the proof exactly as your backend receives it.
Generated TypeScript
verify.ts
typescript
import { VerificationEngine } from "@localpay/verification-engine";
const engine = new VerificationEngine();
const result = await engine.verify({
bank: "CBE",
amount: 500,
verMethod: "LINK",
rawProof: "https://apps.cbe.com.et:100/?id=FT26093JCD3218872366",
countryCode: "ET",
});
if (result.status === "SUCCESS") {
console.log(result.receipt.receipt.transactionNumber);
console.log(result.receipt.receipt.amount);
}No preview yet
Click "Preview response" to see the SUCCESS response and extracted receipt fields.