ConfirmCustomPaymentMethodCallback: (
    customPaymentMethod: PaymentSheet.CustomPaymentMethod,
    billingDetails: BillingDetails | null,
    resultHandler: (result: PaymentSheet.CustomPaymentMethodResult) => void,
) => void

Callback function called when a custom payment method is selected and confirmed. Your implementation should complete the payment using your custom payment provider's SDK.

Type declaration