curl --request POST \
--url https://nini.monieswitch.com/wallet/transfer \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 100,
"fromWalletId": "0ed45265-c7bc-44c4-9669-c521415c2958",
"metadata": {
"Key": "value"
},
"narration": "Testing",
"pin": "2811",
"toWalletId": "eb8b935f-188e-40f5-b27a-6d8f1ba408f1"
}'
{
"data": {
"amount": 100,
"charge": 5,
"createdAt": "2023-12-11T15:19:59.230Z",
"fromWalletId": "0ed45265-c7bc-44c4-9669-c521415c2958",
"metadata": {
"Key": "value"
},
"narration": "Testing",
"reference": "sA2phjgx8u8wEyJHPvRn5S8LhSxokhza1gCm",
"status": "SUCCESS",
"toWalletId": "eb8b935f-188e-40f5-b27a-6d8f1ba408f1",
"totalAmount": 105,
"transactionId": "c9feb72a-3320-448d-ab51-6efc79cf8d0c"
},
"message": "Wallet transfer successfully completed.",
"status": true
}
Wallet To Wallet Transfer
curl --request POST \
--url https://nini.monieswitch.com/wallet/transfer \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 100,
"fromWalletId": "0ed45265-c7bc-44c4-9669-c521415c2958",
"metadata": {
"Key": "value"
},
"narration": "Testing",
"pin": "2811",
"toWalletId": "eb8b935f-188e-40f5-b27a-6d8f1ba408f1"
}'
{
"data": {
"amount": 100,
"charge": 5,
"createdAt": "2023-12-11T15:19:59.230Z",
"fromWalletId": "0ed45265-c7bc-44c4-9669-c521415c2958",
"metadata": {
"Key": "value"
},
"narration": "Testing",
"reference": "sA2phjgx8u8wEyJHPvRn5S8LhSxokhza1gCm",
"status": "SUCCESS",
"toWalletId": "eb8b935f-188e-40f5-b27a-6d8f1ba408f1",
"totalAmount": 105,
"transactionId": "c9feb72a-3320-448d-ab51-6efc79cf8d0c"
},
"message": "Wallet transfer successfully completed.",
"status": true
}
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
Wallet To Wallet Transfer
The response is of type object
.