Describe the calling account
GET/v1/account
Returns the account behind the calling key. This is the call an SDK makes to confirm credentials work, so it requires only a valid key and no particular scope.
Example
curl https://api.woyra.io/v1/account \
-H "Authorization: Bearer $WOYRA_KEY"Response
200 The account.
| Field | Type | Description |
|---|---|---|
| object | "account" | |
| id | string | |
| name | string | |
| country | string | |
| currency | string | |
| status | string | One of pending, active, suspended, closed. |
| region | string | One of global, ethiopia. |
| project_id | string | |
| mode | string | One of live, test. |
Errors
| Status | Codes |
|---|---|
| 401 | authentication_required, invalid_api_key |
Also in Accounts
- POST /v1/accounts — Create an account