EasyPay
Browse guides
DocsPayment guides

Direct payments

Collect a mobile number in your checkout and guide the customer through provider approval.

Supported methods

ProviderPayment methodUsual authorization
TelebirrtelebirrHandset prompt
CBE BirrcbebirrHandset prompt
Coopay-EbirrebirrHandset prompt
M-PesampesaHandset prompt
AwashBirrawashbirrHandset prompt
YaYa WalletyayaHandset prompt
Bank of Abyssiniaboa_ussdUSSD
AmoleamoleOTP

Chapa describes direct charge as designed for physical stores and integrated ERP software. Availability depends on your merchant account. Enat Bank requires a separate portal window. The returned authorization step determines what your checkout displays. Chapa direct charge

Start a payment

Load the order for the authenticated customer on your backend. Persist one unique reference per attempt before contacting Chapa.

const result = await payments.createPayment({
  txRef: order.txRef,
  amount: order.totalETB,
  paymentType: "telebirr",
  mobile: customerPhone,
});

For pending, show the provider's message as plain text and let the customer approve on their handset. For otp_required, save the returned challenge with the order and show an OTP input. For unknown, reconcile the same reference before offering another charge.

Authorize an OTP

Receive the OTP as a string so leading zeros are preserved. Load the saved challenge on the server.

const result = await payments.authorizePayment({
  ...order.savedChallenge,
  otp: submittedOtp,
});

An accepted OTP returns awaiting_verification. Verify the order before delivering goods or credits. Chapa authorization

Next guide Hosted checkout