From 6b67fe0ff1ade69e9a21f1c721ffb56a98106304 Mon Sep 17 00:00:00 2001 From: finn Date: Tue, 16 Jan 2024 15:34:58 -0800 Subject: [PATCH] make requiredPaymentDetails optional fixes #90 --- packages/protocol/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/src/types.ts b/packages/protocol/src/types.ts index a01e9073..a6b46a24 100644 --- a/packages/protocol/src/types.ts +++ b/packages/protocol/src/types.ts @@ -109,7 +109,7 @@ export type PaymentMethod = { /** The type of payment method. e.g. BITCOIN_ADDRESS, DEBIT_CARD etc */ kind: string /** A JSON Schema containing the fields that need to be collected in order to use this payment method */ - requiredPaymentDetails: JsonSchema + requiredPaymentDetails?: JsonSchema } /**