Create client
documentedCreate a new customer for associations with charges, boletos, and subscriptions.
POST /v1/customersCobranç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/customers" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "email": "{{$email}}", "type": "{{$customer_type}}", "document_number": "{{$document_number}}", "phone": "{{$phone}}", "external_id": "{{$external_id}}", "metadata": {{$metadata}}, "address": {"street": "{{$street}}", "city": "{{$city}}", "state": "{{$state}}", "postal_code": "{{$postal_code}}"}}'