Skip to main content
POST
Gerar JWT access token

Autorizações

X-SSL-Client-Cert
string
header
obrigatório

Certificado X.509 do cliente em PEM URL-encoded

Cabeçalhos

X-SSL-Client-Cert
string
obrigatório

Certificado X.509 em PEM URL-encoded

Corpo

application/json
clientId
string
obrigatório

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

Exemplo:

"qr-93-550e8400"

clientSecret
string
obrigatório

OAuth 2.0 client secret (8-64 caracteres)

Required string length: 8 - 64
Exemplo:

"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"

Resposta

Token gerado

access_token
string

JWT de acesso

Exemplo:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

token_type
string
Exemplo:

"Bearer"

expires_in
integer

Tempo de expiração em segundos

Exemplo:

600

scope
string
Exemplo:

"email profile"