SetupParams:
    | SetupParamsBase & {
        customerEphemeralKeySecret: string;
        customerSessionClientSecret?: never;
    }
    | SetupParamsBase & {
        customerEphemeralKeySecret?: never;
        customerSessionClientSecret: string;
    }
    | SetupParamsBase

Type declaration

  • SetupParamsBase & {
        customerEphemeralKeySecret: string;
        customerSessionClientSecret?: never;
    }
    • customerEphemeralKeySecret: string

      A short-lived token that allows the SDK to access a Customer’s payment methods.

    • OptionalcustomerSessionClientSecret?: never
  • SetupParamsBase & {
        customerEphemeralKeySecret?: never;
        customerSessionClientSecret: string;
    }
    • OptionalcustomerEphemeralKeySecret?: never
    • customerSessionClientSecret: string

      (Experimental) This parameter can be changed or removed at any time (use at your own risk). The client secret of this Customer Session. Used on the client to set up secure access to the given customer.

  • SetupParamsBase
MMNEPVFCICPMFPCPTTAAATR