Cashbuddy API
We have discovered a more inclusive and convenient way for you to pay your bills, receive payments and also become a bill payment service provider.
Bills Payments
Airtime API
POST
https://app.cashbuddy.ng/apis/apiAirtime
This endpoint allows you to get free airtime.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
string
Account email attributed your secret key.
amount
number
Amount of the airtime
phone
number
Phone number to recharge
network
string
The network provider of the user
Data API
POST
https://app.cashbuddy.ng/apis/apiData
This endpoint help you to recharge data and internet services To get biller_name call https://app.cashbuddy.ng/apis/apiFetchBills?network=airtel, See https://cashbuddyng.gitbook.io/cashbuddy/#fetch-bills-items. The networks available are airtel, 9mobile, glo, mtn, smile, spectranet. Send the amount of the plan returned on bills endpoint.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
biller_name
string
Get the biller name from fetch bills endpoint after supplying the network needed, all list of data plans will be returned.
amount
number
The amount attributed to the data plan.
network
string
The network providers e.g mtn, glo, 9mobile, airtel, smile, spectranet.
phone
number
Phone number to recharge.
string
The email attributed to your secret key.
Electricity API
POST
https://app.cashbuddy.ng/apis/apiElectricity
This endpoint help you pay for your electricity bills, to get biller_name call https://app.cashbuddy.ng/apis/apiFetchBills?network=eko-electric, See https://cashbuddyng.gitbook.io/cashbuddy/#fetch-bills-items. The distributions available are eko-electric, ibadan-electric, ikeja-electric, portharcourt-electric and enugu-electric. Send the amount to be paid by users to the distribution.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
amount
integer
Amount to be paid to the electricity distribution.
meter_number
number
The meter number of your electronic meter.
biller_name
string
Get bills name from fetch electricity bills payment after supplying the network, URL https://app.cashbuddy.ng/apis/apiFetchBills?network=eko-electric to fetch your data.
network
string
Available networks are eko-electric, ibadan-electric, ikeja-electric, portharcourt-electric and enugu-electric.
string
The email account attributed to your secret key.
Cable/TV Subscription API
POST
https://app.cashbuddy.ng/apis/apiTv
Use this endpoint to pay for your dstv, gotv and startimes and earn commission on each single transaction.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
card_no
number
This is your smart card number from your service provider's decoder.
network
string
Networks are gotv, dstv and startimes.
biller_name
string
Get bills name from fetch cable/tv subscription payment after supplying the network, URL https://app.cashbuddy.ng/apis/apiFetchBills?network=dstv to fetch your data.
amount
number
The amount returned by fetch cable/tv bills endpoint.
string
The email account attributed to your secret key.
Funds API
Funds Transfer API
POST
https://app.cashbuddy.ng/apis/apiTransfer
This endpoint will enable you to transfer money to any bank in Nigeria.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
message
string
Transfer description.
amount
integer
The amount to be transfered.
bank_code
number
the bank code of the bank gotten from Fetch all banks api.
account_number
number
The account number to send the money to.
string
The email account attributed to your secret key.
Cash Pin Generation
Generate Pin
POST
https://app.cashbuddy.ng/apis/apiGeneratePins
Cash card pin is one card unlimited use, used to recharge, purchace data, pay for bills e.g bet, gotv, dstv, startimes, electricity and funds transfer also to pay for anything online using Cashbuddy Payment Processor.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
amount
integer
Amount value to pin printed on cash card.
count
number
The number of times to generate that value.
string
The email account attributed to your secret key.
Fetch bills payment item
Fetch all banks with bank codes API
POST
https://app.cashbuddy.ng/apis/apiFetchBanks
Fetch all banks in nigeria with this endpoint.
Headers
Secret-Key
string
Secret Authentication Key to access your product, found in your cashbuddy settings.
Request Body
string
The email account attributed to your secret key.