Skip to main content
POST
/
auth
Get access token
curl --request POST \
  --url https://api.balampay.com/auth \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "client_id": "{{client_id}}",
  "password": "{{password}}"
}
'
{
  "message": "Auth token",
  "data": {
    "access_token": "eyJ…",
    "expires_in": 3600,
    "token_type": "Bearer"
  }
}

Authorizations

x-api-key
string
header
required

API key issued by Kira. Required on every request, including /auth.

Body

application/json

The body is of type object.

Response

Access token issued.

message
string
required
data
object
required