GET
/
wallets
/
get
/
wallet
/
{walletId}
curl --request GET \
  --url https://waas-staging.cafeone.ng/api/v1/wallets/get/wallet/{walletId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "id": "<string>"
}'

Path Parameters

id
string
required

Unique identifier for the wallet. Example: “3fa85f64-5717-4562-b3fc-2c963f66afa6”

Response

{
  "code": "200",
  "success": true,
  "message": "Wallet details retrieved successfully.",
  "data": {
    "walletId": "eee",
    "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "availableBalance": 5000,
    "ledgerBalance": 7500,
    "currency": "USD",
    "status": "active"
  }
}

❌ Error Responses

Status Code: 400 Bad Request

{
  "code": "400",
  "success": false,
  "message": "Invalid Wallet ID specified",
  "data": null
}