Skip to main content
POST
Gerar JWT access token

Autorizaciones

X-SSL-Client-Cert
string
header
requerido

Certificado X.509 do cliente em PEM URL-encoded

Encabezados

X-SSL-Client-Cert
string
requerido

Certificado X.509 em PEM URL-encoded

Cuerpo

application/json
clientId
string
requerido

OAuth 2.0 client ID da sua conta NTX Pay (fornecido no onboarding)

Ejemplo:

"qr-93-550e8400"

clientSecret
string
requerido

OAuth 2.0 client secret (8-64 caracteres)

Required string length: 8 - 64
Ejemplo:

"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"

Respuesta

Token gerado

access_token
string

JWT de acesso

Ejemplo:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

token_type
string
Ejemplo:

"Bearer"

expires_in
integer

Tempo de expiração em segundos

Ejemplo:

600

scope
string
Ejemplo:

"email profile"