Skip to main content
POST
Create document upload token

Authorizations

Authorization
string
header
required

HTTP Basic authentication. Use your secret key as the username and an empty string as password. The API key should be base64 encoded in the format 'username:' when sending the Authorization header.

Path Parameters

merchantId
string
required

Id da subconta.

Example:

"2vorkDcXyvzifL63YX09S9VqcnI"

Body

application/json

Sócio ao qual os documentos de pessoa serão vinculados. Deve pertencer à subconta (senão 404). Omitido, vincula ao representante legal.

Example:

"2vorkEbbbCccDddEeeFffGggHhh"

Response

Token emitido

token
string

Token de upload (use como Bearer no POST /v1/document-uploads)

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

expiresIn
integer

Validade do token em segundos

Example:

300