For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Holdings

Retrieves the end user’s wallet holdings across supported assets.

Endpoint

GET /whitelabel/wallet/getHoldings

Request Headers

x-tlp-apikey: <api-key>
x-tlp-signature: <hmac-signature>

Query Parameters

Provide at least one of the following user identifiers: endUserEmail, endUserId, or externalUserId.

Field
Type
Required
Description

endUserEmail

String

Conditional

End user’s registered email address

endUserId

Number

Conditional

Tylt end-user ID

externalUserId

String

Conditional

Merchant’s own user identifier

At least one identifier is required.

GET /whitelabel/wallet/getHoldings?externalUserId=user-10021

The signed query object is:

{
  "endUserId": 20001, // Optional: Provide one user identifier only
  "endUserEmail": "joe@example.com", // Optional: Alternative to endUserId and externalUserId
  "externalUserId": "user-10021", // Optional: Alternative to endUserId and endUserEmail
}

Additional filters may be supported by the underlying wallet controller.

Code Snippet

Example Response

The exact balance fields depend on the deployed wallet controller.

Possible values may include:

Field
Description

currencyId

Token Id

currencySymbol

Currency symbol

balance

Available balance of that currency

currencyImg

Image asset of that currency

Use Cases

Use this endpoint to:

  • Display the user’s wallet portfolio

  • Show multiple asset balances

  • Build a wallet dashboard

  • Determine which assets the user currently holds


Last updated