POST /users/{user_id}/credits
POST
/users/{user_id}/credits
Retrieves the current credit balance for a specific user.
This endpoint provides the most up-to-date view of how many credits a user has available.
Typical use cases
Checking the user’s available credit balance before a payment or service request
Displaying real-time credit balance in credit-based services
Content-Type
application/json
Authorization (API Key)
Bearer <API Key>
user_id
User identifier (user_id). Optional on create — if not provided, a system-generated ID will be used More description
This HTTP status is returned when no user profile entity is found for the given userId.
Last updated 8 months ago
{ "message": "fetch resource successfully", "credit_balance": 100 }
{ "message": "Can not find user with the given user_id." }