Kimtuexample
Docs
Try with your repository

Customer Service

service

Stores customer records, billing addresses and tax identifiers.

Owner
Accounts Team
Technology
TypeScript
Runtime
Node 20.x
Surface
9 endpoints · 2 events
kimtu/accountsdocs/overview.mda71c4delast commit 6 hours ago by @jtan
Written by the team in docs/overview.md · rendered by Kimtu, ownership and connections below are generated

Overview

Customer Service is the system of record for customer identity in billing. Other services reference customers by their cus_ identifier and never copy address or tax data.

Responsibilities

  • Exposes CRUD endpoints for customer records
  • Validates tax identifiers against regional rules
  • Emits customer.updated when billing details change
This repository has no mkdocs.yml, so pages are ordered by folder structure.

Connections

UpstreamCustomer ServiceDownstream
ComponentDirectionContract
API GatewayCalled byREST /v1/customers · Customer
Admin ConsoleConsumeshttp · Customer
Event BusCallsamqp · customer.updated
Postgres · customersCallspostgres · Customer, BillingAddress, TaxId
Invoice ServiceCalled byGET /v1/customers/{id} · Customer
See the whole system·This neighbourhood on the system map

Published events

events/customer.updated.json
1{
2 "type": "customer.updated",
3 "version": 2,
4 "data": {
5 "customer": "cus_8f21",
6 "fields": ["billing_address", "tax_id"]
7 }
8}

Technology

TypeScriptPostgreSQLRabbitMQ

Related documentation