Update PaymentMethod swagger def for processor_token migration (#4)

go/db v0.7.3 replaced the card_* columns with processor_token. Drop
CardHolderName/CardNumber/CardType/ExpirationMonth/ExpirationYear and
add ProcessorToken + TenantID to match prod DDL truth (sql/members.sql).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
pull/5/head
Vernon Keenan 2026-07-12 00:01:14 -07:00 committed by GitHub
parent 05b7ffcca2
commit e676f0e6b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 13 deletions

View File

@ -1,24 +1,11 @@
PaymentMethod:
properties:
CardHolderName:
type: string
x-nullable: true
CardNumber:
type: string
x-nullable: true
CardType:
type: string
x-nullable: true
CreatedByID:
type: string
x-nullable: true
CreatedDate:
type: string
x-nullable: true
ExpirationMonth:
type: integer
ExpirationYear:
type: integer
ID:
type: string
Isdefault:
@ -29,6 +16,12 @@ PaymentMethod:
LastModifiedDate:
type: string
x-nullable: true
ProcessorToken:
type: string
x-nullable: true
TenantID:
type: string
x-nullable: true
UserID:
type: string
x-nullable: true