Skip to main content
GET
Get wallet cashback
Use default as the walletId to read the organization’s default wallet. The caller must be an administrator of the organization or a user the wallet is shared with: anyone else receives a 403 with code FORBIDDEN_WALLET, and an unknown account or wallet is a 404 with code ACCOUNT_NOT_FOUND or WALLET_NOT_FOUND. Those three are relayed from the wallet ledger and carry origin: BANKING.

Path Parameters

realmId
string
required
organizationId
string
required
accountId
string
required
walletId
string
required

Response

Successful response

Lifetime cashback earned by a wallet.

totalCashbackEarned
number
required

Total cashback the wallet has earned since it was created.

Example:

12345