{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adro1b33/main/json-schema/adro1b33-current-billing-method-schema.json",
  "title": "CurrentBillingMethod",
  "description": "현재 활성 결제수단 — 표시용 메타만 노출.\n\n보안: raw `billing_key` 는 PortOne 결제 호출용 credential 이므로 브라우저에\n절대 내려주지 않는다 (노출 시 결제 abuse 표면 증가). 구독/결제/교체 호출은\n서버가 팀의 활성 빌링키를 직접 resolve 하므로 FE 는 billing_key 값을 알 필요가 없다.\n채널키 등 내부 식별자도 제외하고 카드 표시 정보만 내려준다.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adro1b33-payments-api-openapi.yml#/components/schemas/CurrentBillingMethod",
  "type": "object",
  "properties": {
    "provider": {
      "enum": [
        "payletter",
        "paypal",
        "galaxia"
      ],
      "type": "string",
      "description": "* `payletter` - PayLetter\n* `paypal` - PayPal\n* `galaxia` - Galaxia",
      "x-spec-enum-id": "57f6d0e06595d82e"
    },
    "method": {
      "type": "string",
      "maxLength": 32
    },
    "cardIssuer": {
      "type": "string",
      "maxLength": 64
    },
    "cardBrand": {
      "type": "string",
      "maxLength": 32
    },
    "cardNumberMasked": {
      "type": "string",
      "maxLength": 32
    }
  }
}