Update PaymentMethod swagger def for processor_token migration

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/4/head
Vernon Keenan 2026-07-12 06:58:16 +00:00
parent 05b7ffcca2
commit 9218e2e06a
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