Wallet API
Wallet API
The Wallet API provides access to your account's credit balance and transaction history.
Endpoints
Manage and monitor your usage credits.
GET
Get Wallet Information
Retrieves the current balance, reward credits, and detailed credit bucket information for your account.
GET/v2/wallet/
RequestHeaders
x-api-key: "YOUR_API_KEY"
200 OKResponse
{
"success": true,
"data": {
"user": {
"id": 1,
"email": "user@example.com",
"fullname": "John Doe"
},
"total_credits": 300,
"reward_credits": 50,
"buy_credits": 250,
"refund_credits": 0,
"admin_adjustment_credits": 0,
"credit_buckets": [
{
"id": 12,
"type": "PURCHASED",
"total_credits": 250,
"remaining_credits": 250,
"expires_at": "2024-12-31T23:59:59Z",
"created_at": "2024-05-01T10:00:00Z"
}
]
}
}What's Next?
Master the Vtryon API to build your own custom fashion applications.