WoyraDocs
Get an API key

Describe the calling account

GET/v1/account

Accounts · Requires an API key

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.

FieldTypeDescription
object"account"
idstring
namestring
countrystring
currencystring
statusstring
One of pending, active, suspended, closed.
regionstring
One of global, ethiopia.
project_idstring
modestring
One of live, test.

Errors

StatusCodes
401authentication_required, invalid_api_key

Also in Accounts