Send boleto by email
documentedSend the boleto to a recipient via email.
POST /v1/bank_billets/{id}/send_emailCobrançasno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.kobana.com.br/v1/bank_billets/{{$id}}/send_email" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"recipient_email": "{{$recipient_email}}", "subject": "{{$subject}}", "template_id": "{{$template_id}}", "body": "{{$body}}"}'