Trustcrow API v1
  • Introduction
  • Authentication
  • Errors
  • API Reference
    • User Management
      • Create a user
      • Fetch users
      • Fetch user's wallet
    • Transaction
      • Create a transaction
      • Fetch transactions
      • Fetch milestones
      • Fund milestone
      • Deliver item
      • Accept item delivery
      • Reject item delivery
      • Approve returned item
      • Disapprove returned item
    • Dispute Management
      • Create a dispute
      • Fetch dispute
      • Add dispute amount
      • Approve dispute amount
      • Disapprove dispute amount
    • Disbursement
    • Other tools
      • Bank verification
      • File Upload
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. User Management

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
    }
}
PreviousFetch usersNextTransaction

Last updated 1 year ago

Was this helpful?