Run in Apidog
Requisição Adicionar o parâmetro Authorization
a Cabeçalhos , cujo valor é concatenar o Token após o Bearer. Exemplo: Authorization: Bearer ********************
Parâmetros Body application/json
{
"amount" : 1 ,
"name" : "string" ,
"tax_id" : "string" ,
"street" : "string" ,
"street_number" : "string" ,
"neighborhood" : "string" ,
"city" : "string" ,
"state" : "st" ,
"postal_code" : "string" ,
"due_date" : "2019-08-24T14:15:22Z" ,
"expiration_date" : "2019-08-24T14:15:22Z" ,
"fine" : 0 ,
"interest" : 0 ,
"tags" : [
"string"
] ,
"descriptions" : [
"string"
]
} Códigos de solicitação
curl --location --request POST '/pix-invoices/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 1,
"name": "string",
"tax_id": "string",
"street": "string",
"street_number": "string",
"neighborhood": "string",
"city": "string",
"state": "st",
"postal_code": "string",
"due_date": "2019-08-24T14:15:22Z",
"expiration_date": "2019-08-24T14:15:22Z",
"fine": 0,
"interest": 0,
"tags": [
"string"
],
"descriptions": [
"string"
]
}' Respostas application/json Gerar Código
{
"amount" : 1000000 ,
"due_date" : "2025-01-17T12:00:00Z" ,
"expiration_date" : "2025-01-20T12:00:00Z" ,
"name" : "João da Silva" ,
"tax_id" : "12345678909" ,
"street" : "Rua das Flores" ,
"street_number" : "123" ,
"neighborhood" : "Centro" ,
"city" : "São Paulo" ,
"state" : "SP" ,
"postal_code" : "01001000" ,
"country" : "BR" ,
"tags" : [
"invoice" ,
"pix"
] ,
"descriptions" : [
"Compra de produtos eletrônicos"
] ,
"fine" : 2 ,
"interest" : 1
} Modificado em 2025-01-16 16:55:59