KERSHI DEVELOPERS

REST API Examples

Use the current REST API directly with server-side examples for TypeScript, Python, and PHP.

Real-provider checks use the server-side Ethiopian Payment Verify SDK. Only bank-fetched evidence with matching amount and receiver is marked verified.
TypeScript
import { CbeVerifyClient } from 'ethio-pay-verify';

const client = new CbeVerifyClient({
  apiKey: process.env.ETHIO_PAY_VERIFY_KEY!,
  baseUrl: process.env.ETHIO_PAY_VERIFY_URL!
});

const upstream = await client.verify({
  bank: 'cbe', referenceNumber: 'FT26262VQ6GV', accountSuffix: '35207333'
});
// Kershi then requires authoritative assurance plus amount and receiver matches.

TypeScript

Choose TypeScript in the language selector to view the local demo request.

Python

Choose Python in the language selector to view the local demo request.

PHP

Choose PHP in the language selector to view the local demo request.

Error Handling

Handle mismatches, duplicate references, provider outages, and parsed evidence explicitly. Only verified with authoritative assurance proves the configured checks passed.

❋ An Apex Software Solution Product ↗