Requisição
Adicionar o parâmetro Authorization
a Cabeçalhos, cujo valor é concatenar o Token após o Bearer. Exemplo:Authorization: Bearer ********************
Parâmetros Bodyapplication/json
{
"receiver": "b5b26192-ce6e-41dc-8596-f5ec130a301c",
"amount": 1000,
"type": "pix"
}
Códigos de solicitação
curl --location --request POST '/transfers/' \
--header 'Accept: application/json' \
--header 'X-Workspace-Id: {{workspace_id}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"receiver": "b5b26192-ce6e-41dc-8596-f5ec130a301c",
"amount": 1000,
"type": "pix"
}'
Respostas
application/json {
"receiver": "<uuid>",
"amount": "<integer>",
"id": "<uuid>",
"type": "pix",
"status": "success",
"scheduled_for": "<dateTime>",
"transaction_id": "<string>",
"payment_info": "<string>",
"created_at": "<dateTime>",
"updated_at": "<dateTime>",
"tags": [
"<string>",
"<string>"
],
"fee": "<integer>"
}
Modificado em 2025-05-15 20:31:40