Download OpenAPI specification:
Public API for Vitorio payments.
| taxId required | string CPF ou CNPJ - apenas números: 11 dígitos para CPF, 14 dígitos para CNPJ |
| name required | string Nome da pessoa ou empresa |
| externalId | string Seu identificador único do cliente |
| phone | string Telefone do cliente |
required | object Endereço do cliente |
Exemplo de opt-in usando CNPJ com campos obrigatórios
{- "taxId": "12345678000199",
- "name": "Empresa LTDA",
- "address": {
- "street": "Av Paulista",
- "number": "1000",
- "neighborhood": "Bela Vista",
- "city": "São Paulo",
- "state": "SP",
- "postalCode": "01310100"
}
}{ }Upsert a payment from an Asaas webhook
| taxId required | string Tax ID of the customer (CPF: 11 digits, CNPJ: 14 digits) |
required | object The Asaas webhook payload |
Example of upserting a boleto payment from an Asaas PAYMENT_CREATED webhook
{- "taxId": "12345678000195",
- "webhook": {
- "event": "PAYMENT_CREATED",
- "payment": {
- "id": "pay_613raayijduautxe",
- "customer": "cus_000005118238",
- "billingType": "BOLETO",
- "value": 1000,
- "status": "PENDING",
- "dueDate": "2027-01-01",
- "fine": {
- "value": 5,
- "type": "FIXED"
}, - "interest": {
- "value": 2,
- "type": "PERCENTAGE"
}
}
}
}{ }