Skip to content

Express Docs v0.1.0


Express Docs / BraintreePayLaterOptions

Interface: BraintreePayLaterOptions ​

Defined in: src/types.ts:1200

SDK-level options for the Braintree PayLater provider (Braintree:PayLater).

Remarks ​

Identical to BraintreePayPalExpressOptions. The provider automatically sets fundingSource to PAYLATER and enables the Pay Later funding source when loading the PayPal SDK.

Example ​

ts
const braintreePayLater: ProviderButtonConfig<'Braintree:PayLater'> = {
  providerProtocolType: 'Braintree',
  paymentMethodType: 'PayLater',
  container: '#braintree-paylater-container',
  style: { color: 'white', shape: 'pill' },
  options: {
    tokenizationKey: 'sandbox_g42y39zp_348jhnfdew59qi3c',
    intent: 'authorize',
    currencyCode: 'EUR',
  },
};

Extends ​

  • CheckoutFlowFlags

Properties ​

currencyCode ​

currencyCode: string

Defined in: src/types.ts:1210

ISO 4217 currency code (e.g. 'EUR', 'USD').


isBillingCustomerDataRequired? ​

optional isBillingCustomerDataRequired?: boolean

Defined in: src/types.ts:253

When true, billing address data is required from the customer.

Inherited from ​

CheckoutFlowFlags.isBillingCustomerDataRequired


isShippingCustomerDataRequired? ​

optional isShippingCustomerDataRequired?: boolean

Defined in: src/types.ts:251

When true, shipping address data is required from the customer.

Inherited from ​

CheckoutFlowFlags.isShippingCustomerDataRequired


locale? ​

optional locale?: string

Defined in: src/types.ts:1212

BCP 47 locale for the PayPal button (e.g. 'de_DE', 'en_US').


pspAutoCaptureEnabled ​

pspAutoCaptureEnabled: boolean

Defined in: src/types.ts:263

When true (default), the payment is captured immediately after authorization. When false, the payment is authorized only and must be captured separately.

Remarks ​

This flag is mapped to the provider-native concept:

  • PayPal / Braintree / Adyen PayPal → intent: 'capture' (true) / 'authorize' (false)
  • Stripe → captureMethod: 'automatic' (true) / 'manual' (false)

Inherited from ​

CheckoutFlowFlags.pspAutoCaptureEnabled


tokenizationKey ​

tokenizationKey: string

Defined in: src/types.ts:1208

Braintree tokenization key from the Braintree Control Panel.

Remarks ​

A static credential (e.g. sandbox_xxx_yyy) that requires no server-side request before rendering the button.

collana pay SDK Documentation