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

Get Balance

Retrieves the end user’s fiat/crypto balance summary.

Endpoint

GET /whitelabel/wallet/getBalance

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.

Example Request

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

Signed query object:

{
  "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
}

The exact asset parameter name must be confirmed against the deployed balance API schema.

Code Snippet

Example Response

Use Cases

Use this endpoint before:

  • Creating an on-chain payout

  • Creating an internal transfer

  • Displaying an asset-specific wallet screen

  • Verifying whether sufficient funds are available


Last updated