Skip to content

Who this key is

GET
/v1/me
curl --request GET \
--url https://api.sotirea.com/v1/me \
--header 'Authorization: Bearer <token>'

The key’s name, its organisation and whether that is Test or Live, and the permissions the key holds. A good first call.

Done.

Media typeapplication/json
object
data
required
object
key
required
object
id
required
integer
name
required
string
organisation
required
object
environment
required

Test or live. A Test organisation’s money is on test networks and is worth nothing; a Live organisation’s is real.

string
id
required
integer
name
required
string
permissions
required

What the key may do, as permission names: balances.view, payments.request and so on.

Array<string>
meta
object
request_id

Quote it when asking about a request; it is in the X-Request-Id header too.

string
success
required

Example

{
"success": true
}

Refused or failed, in words a person can act on.

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
meta
object
request_id

Quote it when asking about a request.

string
success
required

Example

{
"success": false
}