Initiate Collection
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
currency: 'MWK',
country: 'MW',
amount: 100,
mobile: {number: '+265123456789', provider: 'Airtel Money'},
paymentMethod: 'MOBILE_MONEY'
})
};
fetch('https://sandboxapi.me-cash.com/v1/funding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "fund transaction initiated successfully",
"status": "success",
"data": {
"referenceNumber": "Q1PEGKO4QFRRR",
"uniqueReference": "ad33948f-68fd-4279-8d5c-651f43ec294a",
"transactionId": "be6a81e7-59f3-406b-9d92-a615e8ccfb4c",
"paymentMethod": "MOBILE_MONEY",
"amount": 100
}
}Collection
Initiate Collection
Initiates a mobile money collection request to fund the merchant’s wallet.
POST
/
v1
/
funding
Initiate Collection
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
currency: 'MWK',
country: 'MW',
amount: 100,
mobile: {number: '+265123456789', provider: 'Airtel Money'},
paymentMethod: 'MOBILE_MONEY'
})
};
fetch('https://sandboxapi.me-cash.com/v1/funding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "fund transaction initiated successfully",
"status": "success",
"data": {
"referenceNumber": "Q1PEGKO4QFRRR",
"uniqueReference": "ad33948f-68fd-4279-8d5c-651f43ec294a",
"transactionId": "be6a81e7-59f3-406b-9d92-a615e8ccfb4c",
"paymentMethod": "MOBILE_MONEY",
"amount": 100
}
}Documentation Index
Fetch the complete documentation index at: https://developer.me-cash.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
application/json
Currency code (e.g., MWK, RWF, KES).
Example:
"MWK"
Country code (e.g., MW, RW, KE).
Example:
"MW"
Example:
100
Show child attributes
Show child attributes
Available options:
MOBILE_MONEY Example:
"MOBILE_MONEY"
Was this page helpful?
⌘I

