Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
make requiredPaymentDetails optional
Browse files Browse the repository at this point in the history
fixes #90
  • Loading branch information
finn-block committed Jan 16, 2024
1 parent e8ee946 commit 6b67fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down

0 comments on commit 6b67fe0

Please sign in to comment.