Accept Funds
You can accept mobile money funds using the collection api
curl --location --request POST 'https://openapiuat.etheroneafrica.com/api/v1/collection/request' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwiYnVzaW5lc3NfaWQ
iOjEsInN1YnNjcmlwdGlvbnMiOm51bGwsImV4cCI6MTY4OTA4NDIyOH0.v8ua_8ibu6xktHR_xs_325WS4RaHH7DNPjCRBsfj9uU' \
--header 'Content-Type: application/json' \
--data-raw '{
"msisdn": "256757121212",
"amount": 60000,
"transactionID": "876765454543",
"narration": "Collection Request",
}'Make collections request.
POST https://openapiuat.etheroneafrica.com/api/v1/collection/request
Request Body
Name
Type
Description
msisdn*
string
Phone number to collect the funds
amount*
float
Amount to be collected from the phone number wallet
transactionID*
string
Unique transaction id to identify the requestt on our platform
narration*
String
Narration of this collection request
{
"code": "201",
"message": "Transaction received for processing",
"reqTransactionID": "876765454543",
"status": "PENDING",
"transactionID": "554813f9-0113-4fab-813b-5970d44454bc"
} {
"code": "500",
"errorCode": "ER320000005",
"message": "Reason for Failure",
"status": "FAILED"
}Last updated