Wallet
Includes the endpoints for wallet operations
Fund Wallet
Use this endpoint to fund a client wallet.
POST https://ecn.afexnigeria.com/AFEXOVS/api/v1/wallet/deposit/create
Request Body
Name
Type
Description
cid*
String
Client CID whose wallet is to be funded
request_id*
String
Unique ID for the request
amount*
String
Amount to fund wallet with
transaction_type*
String
This should be set to "Credit".
note
String
A short note to attach to transaction
{
"responseCode": '100',
'data': [
{
"cid": "3000000001",
"request_id": "FND-090484930239",
"amount": "1000.50",
"transaction_type": "Credit",
"note": "Funding"
}
],
"passed_data": [
"FND-090484930239"
]
}Wallet Withdrawal
Use this endpoint to withdraw
POST https://ecn.afexnigeria.com/AFEXOVS/api/v1/wallet/withdrawal-request/create/third-party
Request body is the same as Fund Wallet above except that 'transaction_type' is "Debit".
{
"responseCode": '100',
'data': [
{
"cid": "3000000001",
"request_id": "FND-090484930239",
"amount": "1000.50",
"transaction_type": "Debit",
"note": "Withdrawal"
}
],
"passed_data": [
"FND-090484930239"
]
}Last updated