From 9218e2e06a2dd58f5cfd8d2c37e6336d68696cea Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Sun, 12 Jul 2026 06:58:16 +0000 Subject: [PATCH] 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 --- swagger/defs/payment-method.yaml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/swagger/defs/payment-method.yaml b/swagger/defs/payment-method.yaml index 774d830..f4abe93 100644 --- a/swagger/defs/payment-method.yaml +++ b/swagger/defs/payment-method.yaml @@ -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