---
title: "Get all stored user attributes"
method: GET
path: "/attribute/{user_token}"
tags: ["Attribute"]
---

# Get all stored user attributes

`GET /attribute/{user_token}`

This **GET** endpoint is used to retrieve all stored user attributes for all destination token. <br> You can use this endpoint to retrieve user attributes and provide personalized service to your users based on their preferences, demographic data, or other relevant information. <br> To use this endpoint, you need to provide the `user_token` as parameters in the URL Path. <br> The endpoint will then return all the stored attributes for the provided user in the context of the destination token. If multiple `attribute set tokens` are available, all the sets and their values will be returned.

## Path parameters

- `user_token` string, required

## Query parameters

- `show_translated_labels` boolean

## Headers

- `Idempotency-Key` string
- `Language` string

## Response `200`

successful operation

- AllAttributesSetResp[]
  - `destination_token` string, uuid — Token that represents the payout destination. 36 characters long
  - `payer_logo` string, byte — base64 representation of the payer logo
  - `payer_name` string — Name of payer
  - `exchange_rate` object[] — Lists all available currencies and their estimated rates
    - `currency_symbol` string, required — Using [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
    - `exchange_rate` number, double, required — Estimated rate
  - `max_limit` number, double — The maximum amount (inclusive) the user can send with this service. 0 if no upper limit
  - `min_limit` number, double — The minimum amount (inclusive) the user can send with this service. 0 if no lower limit
  - `number_of_locations` integer — Total number of locations. Mostly relevant for cash pickup services. 0 if unknown or irrelevant
  - `estimated_availability` string, date-time — Estimated availability of funds. When funds would be available to pickup/deposited
  - `additional_description` string — When available, additional description that explains the service offered or requirements for funds delivery.
  - `is_dynamic_token` boolean — When set to true, it indicates that this destination_token will auto retry the transaction for a set time until it is successful or timesout. False value means the transaction will be processed by the payer in real-time with instant feedback on success/failure.
  - `attributes` AttrSetRequirement[]
    - `attr_set_token` string, required — The token that represents the stored attributes for this payer. You would use this token in attr_set_token of `initiatePayout` if you have to specify an account number when paying a transaction out. For attributes that are not endpoint specific, like ID, EIN, SSN, etc, `attr_set_token` will not be set.
    - `last_attr_value_used` boolean, required — If set to true, it means this was the last value that was used and if no attr_set_token is provided to init payout, this value will be used by default
    - `label` string — User-defined label for identifying or naming the set of attributes. Useful for UI display or future reference.
    - `destination_currency` string — The currency that the `attr_set_token` is associated with
    - `attributes` object[]
      - `token` string, required — The token that represents the attribute.
      - `label` string, required — The label that describes that required attribute
      - `validation` string, required — RegEx that validates that input
      - `is_optional` boolean, required — Flag to indicate whether this field is required or not
      - `value` string, required — The existing value that is stored. 'Null' if no existing value is stored.
      - `expected_value` string, required — Written explanation of the value that the regex validation requires
      - `type` 'CardNumber' | 'BankAccountType' | 'BankAccountNumber' | 'BankAccountBranchNumber' | 'BankName' | 'PhoneNumber' | 'Gender' | 'IdentificationNumber' | 'BillReferenceNumber' | 'BankRoutingNumber' | 'BankAccountName' | 'MaidenName' | 'SocialSecurity' | 'EmploymentName' | 'EmploymentAddress' | 'EmploymentPhone' | 'EmploymentOccupation' | 'EmploymentSupervisor' | 'RemittanceReason' | 'Relationship' | 'SecondLastName' | 'SWIFT' | 'BirthCountry' | 'SourceOfFunds' | 'DateOfBirth' | 'CardExpiration' | 'CardZip' | 'IdentificationType' | 'BankCity' | 'BankState' | 'IDSelfieCollection' | 'City' | 'Country' | 'IdentificationExpiration' | 'Address1' | 'IFramePaymentCollection' | 'PostalCode' | 'GuardianFullName' | 'GuardianGovIDType' | 'GuardianGovIDNumber' | 'GuardianConsent' | 'EIN' | 'WalletAddress', required — The type of attribute
      - `input_type` 'text' | 'options' | 'date', required — The type of input field that is suggested for this this attribute

## 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)
