GET
/
wallets
/
get
/
customer
/
{customerId}
/
wallet
/
{walletId}
curl --request GET \
  --url https://waas-staging.cafeone.ng/api/v1/wallets/get/customer/{customerId}/wallet/{walletId} \
  --header 'x-api-key: <api-key>'

Path Parameters

customerId
string
required

Unique identifier for the customer

walletId
string
required

Unique identifier for the wallet

Response

✅ Success Response

  • Status Code: 200 OK
{
  "code": "200",
  "success": true,
  "message": "Wallet details retrieved successfully.",
  "data": {
    "walletId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "customerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "availableBalance": 10000,
    "ledgerBalance": 12000,
    "currency": "USD",
    "status": "active"
  }
}

❌ Error Responses

Status Code: 400 Bad Request

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