Skip to main content
GET
Get a user's points balance

Authorizations

Api-Key
string
header
required

Query Parameters

userId
string<uuid>
required

The ID of the user to get the balance for

Response

Successful operation. Response shape varies by tenant points mode.

Full balance breakdown for Rain-managed tenants

onChainPoints
string
required

The user's on-chain points balance, returned as a string to preserve precision

withheldPoints
string
required

Points withheld for in-flight travel bookings, returned as a string to preserve precision

pendingPoints
string
required

Points pending from earned transactions that have not yet been minted on-chain, returned as a string to preserve precision

pendingStatementCredits
string
required

Pending statement credits from completed redemptions not yet on a statement, returned as a string to preserve precision

availablePoints
string
required

Available points (on-chain minus withheld), returned as a string to preserve precision