import * as pulumi from "@pulumi/pulumi"; export declare class Card extends pulumi.CustomResource { /** * Get an existing Card resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CardState, opts?: pulumi.CustomResourceOptions): Card; /** * Returns true if the given object is an instance of Card. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Card; /** * Address map with fields related to the address: line1, line2, city, state, zip and country */ readonly address: pulumi.Output<{ [key: string]: string; } | undefined>; /** * If addressLine1 was provided, results of the check: pass, fail, unavailable, or unchecked. */ readonly addressLine1Check: pulumi.Output; /** * If addressZip was provided, results of the check: pass, fail, unavailable, or unchecked. */ readonly addressZipCheck: pulumi.Output; /** * A set of available payout methods for this card. Only values from this set should be passed as the method when creating * a payout. */ readonly availablePayoutMethods: pulumi.Output; /** * Card brand. Can be American Express, Diners Club, Discover, JCB, MasterCard, UnionPay, Visa, or Unknown. */ readonly brand: pulumi.Output; /** * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the * international breakdown of cards you’ve collected. */ readonly country: pulumi.Output; /** * The customer that this card belongs to. */ readonly customer: pulumi.Output; /** * Card security code. Highly recommended to always include this value, but it's required only for accounts based in * European countries. */ readonly cvc: pulumi.Output; /** * If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that * CVC was provided but hasn’t been checked yet. */ readonly cvcCheck: pulumi.Output; /** * Two-digit number representing the card's expiration month. */ readonly expMonth: pulumi.Output; /** * Four-digit number representing the card's expiration year. */ readonly expYear: pulumi.Output; /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve * signed up with you are using the same card number, for example. For payment methods that tokenize card information * (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. */ readonly fingerprint: pulumi.Output; /** * Card funding type. Can be credit, debit, prepaid, or unknown. */ readonly funding: pulumi.Output; /** * The last four digits of the card. */ readonly last4: pulumi.Output; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Cardholder name. */ readonly name: pulumi.Output; /** * The card number, as a string without any separators. */ readonly number: pulumi.Output; /** * If the card number is tokenized, this is the method that was used. Can be androidPay (includes Google Pay), apple_pay, * masterpass, visa_checkout, or null. */ readonly tokenizationMethod: pulumi.Output; /** * Create a Card resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CardArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Card resources. */ export interface CardState { /** * Address map with fields related to the address: line1, line2, city, state, zip and country */ address?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * If addressLine1 was provided, results of the check: pass, fail, unavailable, or unchecked. */ addressLine1Check?: pulumi.Input; /** * If addressZip was provided, results of the check: pass, fail, unavailable, or unchecked. */ addressZipCheck?: pulumi.Input; /** * A set of available payout methods for this card. Only values from this set should be passed as the method when creating * a payout. */ availablePayoutMethods?: pulumi.Input[]>; /** * Card brand. Can be American Express, Diners Club, Discover, JCB, MasterCard, UnionPay, Visa, or Unknown. */ brand?: pulumi.Input; /** * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the * international breakdown of cards you’ve collected. */ country?: pulumi.Input; /** * The customer that this card belongs to. */ customer?: pulumi.Input; /** * Card security code. Highly recommended to always include this value, but it's required only for accounts based in * European countries. */ cvc?: pulumi.Input; /** * If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that * CVC was provided but hasn’t been checked yet. */ cvcCheck?: pulumi.Input; /** * Two-digit number representing the card's expiration month. */ expMonth?: pulumi.Input; /** * Four-digit number representing the card's expiration year. */ expYear?: pulumi.Input; /** * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve * signed up with you are using the same card number, for example. For payment methods that tokenize card information * (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. */ fingerprint?: pulumi.Input; /** * Card funding type. Can be credit, debit, prepaid, or unknown. */ funding?: pulumi.Input; /** * The last four digits of the card. */ last4?: pulumi.Input; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Cardholder name. */ name?: pulumi.Input; /** * The card number, as a string without any separators. */ number?: pulumi.Input; /** * If the card number is tokenized, this is the method that was used. Can be androidPay (includes Google Pay), apple_pay, * masterpass, visa_checkout, or null. */ tokenizationMethod?: pulumi.Input; } /** * The set of arguments for constructing a Card resource. */ export interface CardArgs { /** * Address map with fields related to the address: line1, line2, city, state, zip and country */ address?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The customer that this card belongs to. */ customer: pulumi.Input; /** * Card security code. Highly recommended to always include this value, but it's required only for accounts based in * European countries. */ cvc?: pulumi.Input; /** * Two-digit number representing the card's expiration month. */ expMonth: pulumi.Input; /** * Four-digit number representing the card's expiration year. */ expYear: pulumi.Input; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Cardholder name. */ name?: pulumi.Input; /** * The card number, as a string without any separators. */ number: pulumi.Input; }