Wallets
Wallet To Wallet Transfer
API Documentations
API Endpoints
- Merchant
- Wallets
- Virtual accounts
- Payment links
- Subaccounts
- Payout
- Checkout
- Helpers
Wallets
Wallet To Wallet Transfer
Wallet To Wallet Transfer
POST
/
wallet
/
transfer
Authorization
string
*
Authorization
Required
string
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
object
amount
number
amount
number
Add Example Value
fromWalletId
string
fromWalletId
string
Add Example Value
metadata
object
metadata
object
Key
string
Key
string
Add Example Value
narration
string
narration
string
Add Example Value
pin
string
pin
string
Add Example Value
toWalletId
string
toWalletId
string
Add Example Value
Copy
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"
}'
Copy
{
"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
}
Headers
Authorization
string
requiredSet value to 'Bearer {{MERCHANT_SECRET_KEY}}'
Body
application/json
amount
number
fromWalletId
string
metadata
object
narration
string
pin
string
toWalletId
string
Response
200 - application/json
data
object
message
string
status
boolean
Was this page helpful?
Copy
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"
}'
Copy
{
"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
}