runtime:
  shutdown_timeout_seconds: 15

grpc:
  network: tcp
  address: ":50062"
  advertise_host: "sendico_payments_orchestrator"
  enable_reflection: true
  enable_health: true

metrics:
  address: ":9403"

database:
  driver: mongodb
  settings:
    host_env: PAYMENTS_MONGO_HOST
    port_env: PAYMENTS_MONGO_PORT
    database_env: PAYMENTS_MONGO_DATABASE
    user_env: PAYMENTS_MONGO_USER
    password_env: PAYMENTS_MONGO_PASSWORD
    auth_source_env: PAYMENTS_MONGO_AUTH_SOURCE
    replica_set_env: PAYMENTS_MONGO_REPLICA_SET

messaging:
  driver: NATS
  settings:
    url_env: NATS_URL
    host_env: NATS_HOST
    port_env: NATS_PORT
    username_env: NATS_USER
    password_env: NATS_PASSWORD
    broker_name: Payments Orchestrator Service
    max_reconnects: 10
    reconnect_wait: 5
    buffer_size: 1024

# Service endpoints are sourced from discovery; no static overrides.
card_gateways:
  monetix:
    funding_address: "TGBDXEg9rxSqGFJDcb889zqTjDwx1bmLRF"
    fee_wallet_ref: "694c124ed76f9f811ac57133"

fee_ledger_accounts:
  monetix: "ledger:fees:monetix"

# Gateway instances and capabilities are sourced from service discovery.
