DocumentaçãoCobranças
Emitir boleto
Emite um boleto registrado, com Pix no mesmo documento. A baixa é automática assim que o pagamento compensa.
POST
/v1/chargesParâmetros do corpo
amountintegerobrigatórioValor em centavos.
methodstringobrigatórioUse
boleto.customerobjectobrigatórioNome, CPF ou CNPJ e endereço completo.
boleto.due_datestringobrigatórioVencimento no formato
AAAA-MM-DD.boleto.late_feenumberMulta em porcentagem depois do vencimento.
boleto.instructionsstringTexto impresso no boleto, até 255 caracteres.
curl https://api.wolfpay.com.br/v1/charges \
-H "Authorization: Bearer $WOLFPAY_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 89000,
"method": "boleto",
"boleto": { "due_date": "2026-12-04", "late_fee": 2 },
"customer": { "name": "Casa Ipê", "document": "98.765.432/0001-10" }
}'Resposta
JSON
{
"object": "charge",
"id": "ch_b0L7tw",
"status": "pending",
"method": "boleto",
"amount": 89000,
"boleto": {
"url": "https://pay.wolfpay.com.br/b/ch_b0L7tw.pdf",
"barcode": "23793.38128 60082.677139 66003.996409 1 99340000089000",
"pix_copy_paste": "00020126580014br.gov.bcb.pix0136...",
"due_date": "2026-12-04"
}
}