## Confirm BLIK setup

`stripe.confirmBlikSetup(clientSecret: string, data: object, options?: object)`

Use `stripe.confirmBlikSetup` in the [Set up future BLIK recurring payments](https://docs.stripe.com/payments/blik/set-up-payment.md) flow when the customer submits your setup form.
Pass the customer's BLIK code in `payment_method_options.blik.code` to confirm the `SetupIntent`.
By default, this method handles the next action while the customer authorizes the setup in their banking app.
Refer to the [integration guide](https://docs.stripe.com/payments/blik/set-up-payment.md) for prerequisites and the full integration flow.

> BLIK authorization can take several seconds. Disable your form while confirmation is in progress and show a waiting indicator.
> If the result contains an error, display it to the customer, re-enable the form, and hide the waiting indicator.

- `clientSecret`
  The [client secret](https://docs.stripe.com/api/setup_intents/object.md#setup_intent_object-client_secret) of the `SetupIntent`.

- `data`
  Data to send with the request. Refer to the [Setup Intents API](https://docs.stripe.com/api/setup_intents/confirm.md) for a full list of parameters.
    - `payment_method`
      Data used to create the BLIK PaymentMethod.
      - `blik`
        An empty object identifying BLIK as the payment method.
      - `billing_details`
        The customer's [billing details](https://docs.stripe.com/api/payment_methods/create.md#create_payment_method-billing_details).
    - `payment_method_options`
      An object containing options specific to the payment method.
      - `blik`
        Options specific to BLIK.
        - `code`
          Your customer's 6-digit BLIK code.

- `options`
  An options object to control the behavior of this method.
    - `handleActions`
      Set this to `false` to handle any required customer actions yourself.

### Example

```title
Confirm BLIK setup
```
