Sign in

Duplicate boleto

documented

Create a duplicate of a boleto, with options to modify fields for the new boleto or cancel the copy.

POST /v1/bank_billets/{id}/duplicateCobrançasno implementation yet0 runs
No 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}}/duplicate" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"bank_billet_account_id": "{{$bank_billet_account_id}}", "amount": {{$amount}}, "expire_at": "{{$expire_at}}", "description": "{{$description}}", "customer_person_name": "{{$customer_person_name}}", "customer_cnpj_cpf": "{{$customer_cnpj_cpf}}", "customer_email": "{{$customer_email}}", "tags": ["{{$tag1}}","{{$tag2}}"], "custom_data": {{$custom_data}} }'