Skip to main content
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
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
currency
string
required

Currency code (e.g., MWK, RWF, KES).

Example:

"MWK"

country
string
required

Country code (e.g., MW, RW, KE).

Example:

"MW"

amount
number
required
Example:

100

mobile
object
required
paymentMethod
enum<string>
required
Available options:
MOBILE_MONEY
Example:

"MOBILE_MONEY"

Response

200 - application/json

Funding transaction initiated successfully.

status
string
required
Example:

"success"

message
string
required
Example:

"Operation completed successfully."

data
object

The payload of the successful response.