Wallet Conversion
Wallet to Wallet Conversion
You can convert fund from a user wallet to another wallet i.e convert from USD wallet to NGN wallet.
POST METHOD
Note
You can only supply a Currency ISO Code of 3-character at the currency
{{baseUrl}}/api/v2/wallet-conversion
{
"fromCur" : "NGN",
"toCur" : "USD",
"amount": 10.0,
"email":"[email protected]"
}
Field | Required | Data Type | Description |
---|---|---|---|
fromCur | true | String | Wallet Converting from. Length: 3, Currency ISO code i.e USD |
toCur | true | String | Wallet Converting to. Length: 3, Currency ISO code i.e USD |
amount | true | decimal | Amount to be debited from the fromCur Wallet |
true | String | Subuser email Address |
Response
{
"status": true,
"content": {
"data": [
{
"id": 905,
"transId": "blqtrans1676317081",
"transType": "Conversion",
"transRef": "blqtrans1676317081",
"purpose": "Fund Conversion",
"desc": "Convert of 10 NGN => 0.017 USD, charges => 0",
"fromCur": "NGN",
"toCur": "USD",
"fromAmount": "10",
"toAmount": "0.017",
"charges": "0",
"rate": "0.0017",
"externalType": "",
"externalName": "",
"externalId": 0,
"remittance": "",
"remittancePurpose": "",
"remittancePurposeFile": "",
"fundSource": "",
"confirmation": "Payment Confirmed",
"status": "Confirmed",
"created_at": "2023-02-13T19:38:05.000000Z",
"updated_at": "2023-02-13T19:38:05.000000Z",
"reason": null,
"batchReference": null
},
{
"id": 906,
"transId": "blqtrans1676317081",
"transType": "Conversion",
"transRef": "blqtrans1676317081",
"purpose": "Fund Conversion",
"desc": "Convert of 10 NGN => 0.017 USD, charges => 0",
"fromCur": "USD",
"toCur": "NGN",
"fromAmount": "0.017",
"toAmount": "10",
"charges": "0",
"rate": "0.0017",
"externalType": "",
"externalName": "",
"externalId": 0,
"remittance": "",
"remittancePurpose": "",
"remittancePurposeFile": "",
"fundSource": "",
"confirmation": "Payment Confirmed",
"status": "Confirmed",
"created_at": "2023-02-13T19:38:05.000000Z",
"updated_at": "2023-02-13T19:38:05.000000Z",
"reason": null,
"batchReference": null
}
]
}
}
Updated almost 2 years ago