v1

latestOpenAPI 3.1.02026-07-24620123.6 KB

Universal Payment SDK

The Payment SDK endpoint allows you to collect payments from customers in multiple markets all through this single endpoint.

post/api/b2b/fiat/payment-sdk

Request body

amountinteger required

The amount in the chargeCurrency

chargeCurrencystring required

The currency you want to charge the user in e.g KES

walletCurrencystring required

The wallet you want to be credited. e.g USD

externalReferencestring required

A unique reference provided by the client to prevent duplicate transactions.

successRedirectUrlstring

Where to redirect the user on a successful deposit

failureRedirectUrlstring

Where to redirect the user on a failed deposit

cancelRedirectUrlstring

Where to redirect the user after cancelling the transaction

countrystring

Required when the chargeCurrency is XOF e.g BJ, SN etc

methodstring

Used to filter the charge method the user can use e.g momo, bank, card, opay

Response

200