Get the signed-in shopper's marketplace wallet
Return the shopper’s marketplace wallet: the balance the marketplace has credited
them (for example when a dispute is decided as credit rather than a refund) and the
credits that make it up. The balance is spendable at this marketplace’s checkout
with wallet_amount or use_wallet. It is held by the marketplace, not by any
merchant, and is separate in sandbox and production.
Requires the marketplace operator key plus exactly one shopper credential, as for
GET /v1/customers/me.
Authorizations
API Key Authentication
Use your API key in the Authorization header:
Key Types:
Secret Keys (Server-Side Only):
- Format:
tybrite_sk_live_*(production) ortybrite_sk_test_*(sandbox) - Full read/write access to all endpoints
- ⚠️ NEVER expose in client-side code or public repositories
- Required for: write operations, authentication, payment verification, AI recommendations
Publishable Keys (Client-Safe):
- Format:
tybrite_pk_live_*(production) ortybrite_pk_test_*(sandbox) - Read-only access (GET requests only, plus POST semantic search)
- ✅ Safe for client-side JavaScript, mobile apps, and public code
- Allowed for: browsing products, search, CMS content, pricing queries
Endpoint-Specific Requirements:
- Authentication endpoints (
/v1/auth/*): Secret key required - Payment verification (
POST /v1/payments/verify): Secret key required - AI Recommendations (
POST /v1/recommendations): Secret key required - Semantic Search (
POST /v1/search): Both key types allowed (read-only operation) - All write operations: Secret key required
- All read operations: Both key types allowed
Using a publishable key for restricted operations returns 403 Forbidden.
Headers
The signed-in shopper's session token.
Alias of x-auth-token.
A shopper assertion signed with the marketplace's signing secret.
Response
The shopper's wallet.

