Account API
Overview¶
Retrieves the account details and current balance for the specified JUID.
- Base URL:
https://{dev-server}/v1 - Path GET:
/account/{juid}
URL Path Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| juid | string | Yes | Unique ID of the resource |
Authentication¶
This API uses OAuth 2.0 for authentication and authorization. All requests must include a valid OAuth access token in the Authorization header as a Bearer token. Access is restricted based on the permissions granted to the authenticated user or application.
HTTP Headers¶
Content Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_TOKEN
traceId: 123
Response¶
{
"status": "Active",
"balance": 10000
}
Error Responses¶
| Status Code | Error Message | Description |
|---|---|---|
| 401 | Unauhotized | Client not authorized to access this service. |
| 400 | Invalid input | The request data is invalid. |
| 500 | Internal server error | An unexpected server error occurred. |