Fetch user's wallet
You can retrieve all customers or specify a customer by their ID. When fetching by ID, simply provide the user ID, and it will return the corresponding customer information.
Fetch a specific user's wallet
GET
{{api_url}}/v1/users/{user_id}/wallet
Query Parameters
Name
Type
Description
user_id*
string
specify the customer id
Headers
Name
Type
Description
Authorization
string
your Trustcrow API keys to authorize customers
{
"status": true,
"message": "Wallet retrieved successfully",
"data": {
"id": "b78ec8db-4bab-43c3-84a1-a9d55d036d54",
"name": "Haleemah Opeyemi's Wallet",
"account_reference": "TRC_ACC_YST1LVV9HXCIQBPR",
"provider": "MONNIFY",
"balance": 0
}
}
Last updated
Was this helpful?