@redwoodjs-stripe/api
Version:
API-side code for RedwoodJS-Stripe projects
2 lines (1 loc) • 3.69 kB
TypeScript
export declare const schema = "\nscalar Metadata\nscalar Hash\nscalar Timestamp\n\ntype StripePaymentMethod {\n id: ID!\n object: String\n billing_details: StripePaymentMethodBillingDetails\n customer: String\n metadata: Metadata\n type: StripePaymentMethodTypeEnum\n acss_debit: StripeACSSDebit\n affirm: Hash\n afterpay_clearpay: Hash\n alipay: Hash\n au_becs_debit: StripeAUBECSDebit\n bacs_debit: StripeBACSDebit\n bancontact: Hash\n blik: Hash\n boleto: StripeBoleto\n card: StripePaymentMethodCard\n}\n\ntype StripePaymentMethodCard {\n brand: String\n checks: StripePaymentMethodCardChecks\n country: String\n exp_month: Int\n exp_year: Int\n fingerprint: String\n funding: String\n generated_from: StripePaymentMethodCardGenFrom\n}\n\ntype StripePaymentMethodCardGenFrom {\n charge: String\n payment_method_details: StripePaymentMethodCardGenFromDetails\n setup_attempt: String\n}\n\ntype StripePaymentMethodCardGenFromDetails {\n card_present: StripePaymentMethodCardSnapshot\n type: String\n}\n\ntype StripePaymentMethodCardSnapshot {\n amount_authorized: Int\n brand: String\n capture_before: Timestamp\n cardholder_name: String\n country: String\n emv_auth_data: String\n exp_month: Int\n exp_year: Int\n fingerprint: String\n funding: String\n generated_card: String\n incremental_authorization_supported: Boolean\n last4: String\n network: String\n overcapture_supported: Boolean\n read_method: StripePaymentMethodCardReadMethodEnum\n receipt: StripePaymentMethodCardReceipt\n}\n\ntype StripePaymentMethodCardReceipt {\n account_type: StripePaymentMethodCardReceiptAccountTypeEnum\n application_cryptogram: String\n application_preferred_name: String\n authorization_code: String\n authorization_response_code: String\n cardholder_verification_method: String\n dedicated_file_name: String\n terminal_verification_results: String\n transaction_status_information: String\n}\n\nenum StripePaymentMethodCardReceiptAccountTypeEnum {\n credit\n prepaid\n checking\n unknown\n}\n\nenum StripePaymentMethodCardReadMethodEnum {\n contact_emv\n contactless_emv\n magnetic_stripe_track2\n magnetic_stripe_fallback\n contactless_magstripe_mode\n}\n\ntype StripePaymentMethodCardChecks {\n address_line1_check: String\n address_postal_code_check: String\n cvc_check: String\n}\n\ntype StripeBoleto {\n fingerprint: String\n tax_id: String\n}\n\ntype StripeBACSDebit {\n fingerprint: String\n last4: String\n sort_code: String\n}\n\ntype StripeAUBECSDebit {\n bsb_number: String\n fingerprint: String\n last4: String\n}\n\ntype StripeACSSDebit {\n bank_name: String\n fingerprint: String\n institution_number: String\n last4: String\n transit_number: String\n}\n\nenum StripePaymentMethodTypeEnum {\n acss_debit\n affirm\n afterpay_clearpay\n alipay\n au_becs_debit\n bacs_debit\n bancontact\n blik\n boleto\n card\n card_present\n customer_balance\n eps\n fpx\n giropay\n grabpay\n ideal\n interac_present\n klarna\n konbini\n link\n oxxo\n p24\n paynow\n promptpay\n sepa_debit\n sofort\n us_bank_account\n wechat_pay\n}\n\ntype StripePaymentMethodBillingDetails {\n address: StripePaymentMethodBillingDetailsAddress\n email: String\n name: String\n phone: String\n}\n\ntype StripePaymentMethodBillingDetailsAddress {\n city: String\n country: String\n line1: String\n line2: String\n postal_code: String\n state: String\n}\n";