POST
/
v1
/
webhooks
/
qitech
curl --request POST \
  --url https://api.base39.io/v1/webhooks/qitech \
  --header 'Authorization: Bearer <token>' \
  --header 'Base39-Disbursement: <base39-disbursement>' \
  --header 'Content-Type: application/json' \
  --data '{
  "encoded_body": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Base39-Disbursement
string
required

Para esse endpoint a autenticação deve ser passada no header, assim como a chave de desembolso. Exemplo { "Authorization":"Bearer SUA_API_KEY", "Base39-Disbursement":"SUA_CHAVE_DESEMBOLSO" }

Body

application/json

Receber evento qitech

encoded_body
string
required

Informações provenientes de terceiros com encode jwt

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"

Response

200

Retorna o id da fila