CardSetupIntent
Represents the intent of a customer to create/replace a payment method on there account
Fetch all setup intents for the current account:
query SetupIntentsQuery {
billing {
cardSetupIntents {
id,
clientSecret
usage
status
createdAt
}
}
}
type CardSetupIntent {
clientSecret: String!
createdAt: DateTime!
id: ID!
status: SetupIntentStatus!
usage: SetupIntentUsage!
}
Fields
CardSetupIntent.clientSecret ● String! non-null scalar common
The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
CardSetupIntent.createdAt ● DateTime! non-null scalar common
Time at which the object was created. Measured in seconds since the Unix epoch.
CardSetupIntent.id ● ID! non-null scalar common
The external id for this setup intent
CardSetupIntent.status ● SetupIntentStatus! non-null enum common
The duration applied for this coupon
CardSetupIntent.usage ● SetupIntentUsage! non-null enum common
The duration applied for this coupon
Member of
BillingType object