---
title: "Retrieve all available wallets for a user"
method: GET
path: "/wallet/{user_token}"
tags: ["Wallet"]
---

# Retrieve all available wallets for a user

`GET /wallet/{user_token}`

This **GET** endpoint is used to retrieve all available wallets for a provided user token. <br> You can use this endpoint to obtain information about the wallets associated with the provided user token. <br> To use this endpoint, you need to provide the `user_token` as a required parameter in the URL Path. <br> The response will include a JSON array containing details for each wallet including `user_token`, `balance`, `currency_code`.

## Path parameters

- `user_token` string, required

## Query parameters

- `client_only` boolean

## Headers

- `Idempotency-Key` string

## Response `200`

Successful operation.

- WalletTxnResp[]
  - `user_token` string, required — Token representing the user
  - `token` string, uuid, required — Token representing the wallet
  - `balance` number, required — The wallet's current balance in USD
  - `currency_code` string, required — The currency wallet balance is stored in. Using [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format. In most cases this value will be USD
  - `type` 'MASSPAY_CARD' | 'USER_FUNDS', required — Type of wallet
  - `card_type` 'MASTERCARD' | 'VISA' | 'AMEX' | 'DISCOVER' | 'UNIONPAY' — In case type of wallet is MASSPAY_CARD, card_type would be provided with the type of card it is
  - `last_4` string — In case type of wallet is MASSPAY_CARD, last_4 would be provided with the last four digits of the card
  - `active` boolean, required — An indicator whether the wallet is active. If inactive, can still retrieve historical transactions history
  - `client_paying_fees` boolean — An indicator whether the fees for payouts using this wallet are paid by the client. If false, the user pays the fees

## Other responses

- `400` — Bad request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not found.
- `405` — Method Not Allowed.
- `500` — Internal server error.
- `504` — Gateway Time-out.

---

[API](https://skmtc.net/masspay/apis/masspay-api.md) · [All operations](https://skmtc.net/masspay/apis/masspay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/masspay/masspay-api/revisions/c03b61a6a551/schema)
