API Reference

get
Query parameters
currencystringRequired
transaction_typestringRequired
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
Responses
200

Payment providers retrieved successfully.

application/json
get
/data/payment-providers
200

Payment providers retrieved successfully.

get
Query parameters
currencystringOptional
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
secret-keystringRequired
Responses
200

Wallet balances retrieved successfully.

application/json
get
/data/wallet-balances
200

Wallet balances retrieved successfully.

get
Path parameters
merchant_referencestringRequired
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
Responses
200

Transaction retrieved successfully.

application/json
get
/data/transaction/verify/{merchant_reference}
200

Transaction retrieved successfully.

post
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
Body
transaction_methodstring · enumRequired

The transaction method to be used.

Example: MOBILE_MONEYPossible values:
provider_codestringRequired

The provider code as obtained from the payment options

Example: mtn_ug
merchant_referencestring · min: 8 · max: 36Required

The unique reference for this request. It must be at least 8 characters long. Alternatively, the value auto can be passed, and a unique reference will be created for you by the API

Example: MCTREF123456
msisdnstringOptional

The mobile money number of the customer. Mandatory for Mobile Money.

Example: 256787701800
mobile_money_hppbooleanOptional

Should be sent with the value true in order for the API to handle the mobile money payment via hosted page

Default: false
currencystringRequired

The 3-character ISO currency code for the request currency

amountnumberRequired

The amount being requested

descriptionstring · min: 10 · max: 30Required

The description/narration for the transaction. Between 10-30 characters

customer_namestringOptional

The name of the customer

customer_emailstringOptional

The email of the customer

redirect_urlstringOptional

The HTTPs redirect URL to which the API will redirect when the payment is successful/failed

card_cipherstringOptional
charge_customerbooleanOptional

Whether or not the customer should bear the charge for the transaction. By default, this is false to mean that the merchant bears the charge

Default: false
allow_final_status_changebooleanOptional

Whether or not the final transaction status can be altered as described in the document

Default: true
Responses
post
/collections/initialize
post
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
Body
internal_referencestringRequired

Internal/gateway transaction reference

Example: ELEMIRMGRXNNYBWATKJ
otpnumber · min: 4Required

OTP Auth

Example: 123456
Responses
post
/collections/authorize
get
Query parameters
provider_codestringRequired
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
Responses
200

Payout bank codes retrieved successfully.

application/json
get
/data/payout-bank-codes
200

Payout bank codes retrieved successfully.

post
Header parameters
public-keystringRequired
x-api-versionnumberRequired
Accept-Languagestring · enumRequiredDefault: enPossible values:
secret-keystringRequired
Body
merchant_referencestring · min: 8 · max: 36Required

The unique reference for this request. It must be at least 8 characters long.

Example: MCTREF123456
transaction_methodstring · enumRequired

The transaction method to be used.

Example: MOBILE_MONEYPossible values:
currencystring · min: 3Required

The 3-character ISO currency code for the request currency.

Example: UGX
amountnumberRequired

The amount being requested

Example: 5000
provider_codestringRequired

The provider code as obtained from the payment options

Example: mtn_ug
account_numberstringRequired

The bank account or mobile money number of the recipient.

Example: 17100000034
customer_namestringRequired

The name of the customer.

Example: John Doe
descriptionstring · min: 10 · max: 30Required

The description/narration for the transaction. Between 10-30 characters

Responses
post
/payout/send-funds

Last updated