clientSecret property

  1. @JsonKey(name: "client_secret")
String get clientSecret
inherited

The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to accept a payment and learn about how client_secret should be handled.

Implementation

@JsonKey(name: "client_secret")
String get clientSecret => throw _privateConstructorUsedError;