Search + K

Command Palette

Search for a command to run...

Sign In

Delete a customer source

DELETE /v1/customers/{customer}/cards/{id}
Copy endpoint
https://api.stripe.com/

Parameters

path Path Parameters

Name Type
customer required
string
id required
string

Request Body

application/x-www-form-urlencoded
{ expand?: string[]; }

Responses

200 application/json

Successful response.

type PaymentSource = interface Account {
business_profile?: AccountBusinessProfile
interface AccountBusinessProfile {
annual_revenue?: AccountAnnualRevenue | null;
estimated_worker_count?: number | null;
mcc?: string | null;
minority_owned_business_designation?: ("lgbtqi_owned_business" | "minority_owned_business" | "none_of_these_apply" | "prefer_not_to_answer" | "women_owned_business")[] | null;
monthly_estimated_revenue?: AccountMonthlyEstimatedRevenue;
name?: string | null;
product_description?: string | null;
support_address?: Address | null;
support_email?: string | null;
support_phone?: string | null;
support_url?: string | null;
url?: string | null;
}
| null
;
business_type?: "company" | "government_entity" | "individual" | "non_profit" | null;
capabilities?: AccountCapabilities
interface AccountCapabilities {
acss_debit_payments?: "active" | "inactive" | "pending";
affirm_payments?: "active" | "inactive" | "pending";
afterpay_clearpay_payments?: "active" | "inactive" | "pending";
alma_payments?: "active" | "inactive" | "pending";
amazon_pay_payments?: "active" | "inactive" | "pending";
au_becs_debit_payments?: "active" | "inactive" | "pending";
bacs_debit_payments?: "active" | "inactive" | "pending";
bancontact_payments?: "active" | "inactive" | "pending";
bank_transfer_payments?: "active" | "inactive" | "pending";
billie_payments?: "active" | "inactive" | "pending";
blik_payments?: "active" | "inactive" | "pending";
boleto_payments?: "active" | "inactive" | "pending";
card_issuing?: "active" | "inactive" | "pending";
card_payments?: "active" | "inactive" | "pending";
cartes_bancaires_payments?: "active" | "inactive" | "pending";
cashapp_payments?: "active" | "inactive" | "pending";
crypto_payments?: "active" | "inactive" | "pending";
eps_payments?: "active" | "inactive" | "pending";
fpx_payments?: "active" | "inactive" | "pending";
gb_bank_transfer_payments?: "active" | "inactive" | "pending";
giropay_payments?: "active" | "inactive" | "pending";
grabpay_payments?: "active" | "inactive" | "pending";
ideal_payments?: "active" | "inactive" | "pending";
india_international_payments?: "active" | "inactive" | "pending";
jcb_payments?: "active" | "inactive" | "pending";
jp_bank_transfer_payments?: "active" | "inactive" | "pending";
kakao_pay_payments?: "active" | "inactive" | "pending";
klarna_payments?: "active" | "inactive" | "pending";
konbini_payments?: "active" | "inactive" | "pending";
kr_card_payments?: "active" | "inactive" | "pending";
legacy_payments?: "active" | "inactive" | "pending";
link_payments?: "active" | "inactive" | "pending";
mb_way_payments?: "active" | "inactive" | "pending";
mobilepay_payments?: "active" | "inactive" | "pending";
multibanco_payments?: "active" | "inactive" | "pending";
mx_bank_transfer_payments?: "active" | "inactive" | "pending";
naver_pay_payments?: "active" | "inactive" | "pending";
nz_bank_account_becs_debit_payments?: "active" | "inactive" | "pending";
oxxo_payments?: "active" | "inactive" | "pending";
p24_payments?: "active" | "inactive" | "pending";
pay_by_bank_payments?: "active" | "inactive" | "pending";
payco_payments?: "active" | "inactive" | "pending";
paynow_payments?: "active" | "inactive" | "pending";
payto_payments?: "active" | "inactive" | "pending";
pix_payments?: "active" | "inactive" | "pending";
promptpay_payments?: "active" | "inactive" | "pending";
revolut_pay_payments?: "active" | "inactive" | "pending";
samsung_pay_payments?: "active" | "inactive" | "pending";
satispay_payments?: "active" | "inactive" | "pending";
sepa_bank_transfer_payments?: "active" | "inactive" | "pending";
sepa_debit_payments?: "active" | "inactive" | "pending";
sofort_payments?: "active" | "inactive" | "pending";
swish_payments?: "active" | "inactive" | "pending";
tax_reporting_us_1099_k?: "active" | "inactive" | "pending";
tax_reporting_us_1099_misc?: "active" | "inactive" | "pending";
transfers?: "active" | "inactive" | "pending";
treasury?: "active" | "inactive" | "pending";
twint_payments?: "active" | "inactive" | "pending";
us_bank_account_ach_payments?: "active" | "inactive" | "pending";
us_bank_transfer_payments?: "active" | "inactive" | "pending";
zip_payments?: "active" | "inactive" | "pending";
}
;
charges_enabled?: boolean;
company?: LegalEntityCompany
interface LegalEntityCompany {
address?: Address;
address_kana?: LegalEntityJapanAddress | null;
address_kanji?: LegalEntityJapanAddress | null;
directors_provided?: boolean;
directorship_declaration?: LegalEntityDirectorshipDeclaration | null;
executives_provided?: boolean;
export_license_id?: string;
export_purpose_code?: string;
name?: string | null;
name_kana?: string | null;
name_kanji?: string | null;
owners_provided?: boolean;
ownership_declaration?: LegalEntityUboDeclaration | null;
ownership_exemption_reason?: "qualified_entity_exceeds_ownership_threshold" | "qualifies_as_financial_institution";
phone?: string | null;
registration_date?: LegalEntityRegistrationDate;
representative_declaration?: LegalEntityRepresentativeDeclaration | null;
structure?: "free_zone_establishment" | "free_zone_llc" | "government_instrumentality" | "governmental_unit" | "incorporated_non_profit" | "incorporated_partnership" | "limited_liability_partnership" | "llc" | "multi_member_llc" | "private_company" | "private_corporation" | "private_partnership" | "public_company" | "public_corporation" | "public_partnership" | "registered_charity" | "single_member_llc" | "sole_establishment" | "sole_proprietorship" | "tax_exempt_government_instrumentality" | "unincorporated_association" | "unincorporated_non_profit" | "unincorporated_partnership";
tax_id_provided?: boolean;
tax_id_registrar?: string;
vat_id_provided?: boolean;
verification?: LegalEntityCompanyVerification | null;
}
;
controller?: AccountUnificationAccountController
interface AccountUnificationAccountController {
fees?: AccountUnificationAccountControllerFees;
is_controller?: boolean;
losses?: AccountUnificationAccountControllerLosses;
requirement_collection?: "application" | "stripe";
stripe_dashboard?: AccountUnificationAccountControllerStripeDashboard;
type: "account" | "application";
}
;
country?: string;
created?: number;
default_currency?: string;
details_submitted?: boolean;
email?: string | null;
external_accounts?: {
data: (BankAccount

These bank accounts are payment methods on Customer objects.

On the other hand External Accounts are transfer destinations on Account objects for connected accounts. They can be bank accounts or debit cards as well, and are documented in the links above.

Related guide: Bank debits and transfers

interface BankAccount {
account?: Account | string | null;
account_holder_name?: string | null;
account_holder_type?: string | null;
account_type?: string | null;
available_payout_methods?: ("instant" | "standard")[] | null;
bank_name?: string | null;
country: string;
currency: string;
customer?: Customer | DeletedCustomer | string | null;
default_for_currency?: boolean | null;
fingerprint?: string | null;
future_requirements?: ExternalAccountRequirements | null;
id: string;
last4: string;
metadata?: { } | null;
object: "bank_account";
requirements?: ExternalAccountRequirements | null;
routing_number?: string | null;
status: string;
}
| Card

You can store multiple cards on a customer in order to charge the customer later. You can also store multiple debit cards on a recipient in order to transfer to those cards later.

Related guide: Card payments with Sources

interface Card {
account?: Account | string | null;
address_city?: string | null;
address_country?: string | null;
address_line1?: string | null;
address_line1_check?: string | null;
address_line2?: string | null;
address_state?: string | null;
address_zip?: string | null;
address_zip_check?: string | null;
allow_redisplay?: "always" | "limited" | "unspecified" | null;
available_payout_methods?: ("instant" | "standard")[] | null;
brand: string;
country?: string | null;
currency?: string | null;
customer?: Customer | DeletedCustomer | string | null;
cvc_check?: string | null;
default_for_currency?: boolean | null;
dynamic_last4?: string | null;
exp_month: number;
exp_year: number;
fingerprint?: string | null;
funding: string;
id: string;
iin?: string;
last4: string;
metadata?: { } | null;
name?: string | null;
networks?: TokenCardNetworks;
object: "card";
regulated_status?: "regulated" | "unregulated" | null;
status?: string | null;
tokenization_method?: string | null;
}
)[]
;
has_more: boolean;
object: "list";
url: string;
}
;
future_requirements?: AccountFutureRequirements
interface AccountFutureRequirements {
alternatives?: AccountRequirementsAlternative[] | null;
current_deadline?: number | null;
currently_due?: string[] | null;
disabled_reason?: "action_required.requested_capabilities" | "listed" | "other" | "platform_paused" | "rejected.fraud" | "rejected.incomplete_verification" | "rejected.listed" | "rejected.other" | "rejected.platform_fraud" | "rejected.platform_other" | "rejected.platform_terms_of_service" | "rejected.terms_of_service" | "requirements.past_due" | "requirements.pending_verification" | "under_review" | null;
errors?: AccountRequirementsError[] | null;
eventually_due?: string[] | null;
past_due?: string[] | null;
pending_verification?: string[] | null;
}
;
groups?: AccountGroupMembership
interface AccountGroupMembership {
payments_pricing?: string | null;
}
| null
;
id: string;
individual?: Person

This is an object representing a person associated with a Stripe account.

A platform can only access a subset of data in a person for an account where account.controller.requirement_collection is stripe, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding.

See the Standard onboarding or Express onboarding documentation for information about prefilling information and account onboarding steps. Learn more about handling identity verification with the API.

interface Person {
account: string;
additional_tos_acceptances?: PersonAdditionalTosAcceptances;
address?: Address;
address_kana?: LegalEntityJapanAddress | null;
address_kanji?: LegalEntityJapanAddress | null;
created: number;
dob?: LegalEntityDob;
email?: string | null;
first_name?: string | null;
first_name_kana?: string | null;
first_name_kanji?: string | null;
full_name_aliases?: string[];
future_requirements?: PersonFutureRequirements | null;
gender?: string | null;
id: string;
id_number_provided?: boolean;
id_number_secondary_provided?: boolean;
last_name?: string | null;
last_name_kana?: string | null;
last_name_kanji?: string | null;
maiden_name?: string | null;
metadata?: { };
nationality?: string | null;
object: "person";
phone?: string | null;
political_exposure?: "existing" | "none";
registered_address?: Address;
relationship?: PersonRelationship;
requirements?: PersonRequirements | null;
ssn_last_4_provided?: boolean;
us_cfpb_data?: PersonUsCfpbData | null;
verification?: LegalEntityPersonVerification;
}
;
metadata?: { };
object: "account";
payouts_enabled?: boolean;
requirements?: AccountRequirements
interface AccountRequirements {
alternatives?: AccountRequirementsAlternative[] | null;
current_deadline?: number | null;
currently_due?: string[] | null;
disabled_reason?: "action_required.requested_capabilities" | "listed" | "other" | "platform_paused" | "rejected.fraud" | "rejected.incomplete_verification" | "rejected.listed" | "rejected.other" | "rejected.platform_fraud" | "rejected.platform_other" | "rejected.platform_terms_of_service" | "rejected.terms_of_service" | "requirements.past_due" | "requirements.pending_verification" | "under_review" | null;
errors?: AccountRequirementsError[] | null;
eventually_due?: string[] | null;
past_due?: string[] | null;
pending_verification?: string[] | null;
}
;
settings?: AccountSettings
interface AccountSettings {
bacs_debit_payments?: AccountBacsDebitPaymentsSettings;
branding: AccountBrandingSettings;
card_issuing?: AccountCardIssuingSettings;
card_payments: AccountCardPaymentsSettings;
dashboard: AccountDashboardSettings;
invoices?: AccountInvoicesSettings;
payments: AccountPaymentsSettings;
payouts?: AccountPayoutSettings;
sepa_debit_payments?: AccountSepaDebitPaymentsSettings;
treasury?: AccountTreasurySettings;
}
| null
;
tos_acceptance?: AccountTosAcceptance
interface AccountTosAcceptance {
date?: number | null;
ip?: string | null;
service_agreement?: string;
user_agent?: string | null;
}
;
type?: "custom" | "express" | "none" | "standard";
}
| interface BankAccount {
account?: Account

This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current requirements or if the account is enabled to make live charges or receive payouts.

For accounts where controller.requirement_collection is application, which includes Custom accounts, the properties below are always returned.

For accounts where controller.requirement_collection is stripe, which includes Standard and Express accounts, some properties are only returned until you create an Account Link or Account Session to start Connect Onboarding. Learn about the differences between accounts.

interface Account {
business_profile?: AccountBusinessProfile | null;
business_type?: "company" | "government_entity" | "individual" | "non_profit" | null;
capabilities?: AccountCapabilities;
charges_enabled?: boolean;
company?: LegalEntityCompany;
controller?: AccountUnificationAccountController;
country?: string;
created?: number;
default_currency?: string;
details_submitted?: boolean;
email?: string | null;
external_accounts?: {
data: (BankAccount | Card)[];
has_more: boolean;
object: "list";
url: string;
}
;
future_requirements?: AccountFutureRequirements;
groups?: AccountGroupMembership | null;
id: string;
individual?: Person;
metadata?: { };
object: "account";
payouts_enabled?: boolean;
requirements?: AccountRequirements;
settings?: AccountSettings | null;
tos_acceptance?: AccountTosAcceptance;
type?: "custom" | "express" | "none" | "standard";
}
| string | null
;
account_holder_name?: string | null;
account_holder_type?: string | null;
account_type?: string | null;
available_payout_methods?: ("instant" | "standard")[] | null;
bank_name?: string | null;
country: string;
currency: string;
customer?: Customer | DeletedCustomer | string | null;
default_for_currency?: boolean | null;
fingerprint?: string | null;
future_requirements?: ExternalAccountRequirements | null;
id: string;
last4: string;
metadata?: { } | null;
object: "bank_account";
requirements?: ExternalAccountRequirements | null;
routing_number?: string | null;
status: string;
}
| interface Card {
account?: Account

This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current requirements or if the account is enabled to make live charges or receive payouts.

For accounts where controller.requirement_collection is application, which includes Custom accounts, the properties below are always returned.

For accounts where controller.requirement_collection is stripe, which includes Standard and Express accounts, some properties are only returned until you create an Account Link or Account Session to start Connect Onboarding. Learn about the differences between accounts.

interface Account {
business_profile?: AccountBusinessProfile | null;
business_type?: "company" | "government_entity" | "individual" | "non_profit" | null;
capabilities?: AccountCapabilities;
charges_enabled?: boolean;
company?: LegalEntityCompany;
controller?: AccountUnificationAccountController;
country?: string;
created?: number;
default_currency?: string;
details_submitted?: boolean;
email?: string | null;
external_accounts?: {
data: (BankAccount | Card)[];
has_more: boolean;
object: "list";
url: string;
}
;
future_requirements?: AccountFutureRequirements;
groups?: AccountGroupMembership | null;
id: string;
individual?: Person;
metadata?: { };
object: "account";
payouts_enabled?: boolean;
requirements?: AccountRequirements;
settings?: AccountSettings | null;
tos_acceptance?: AccountTosAcceptance;
type?: "custom" | "express" | "none" | "standard";
}
| string | null
;
address_city?: string | null;
address_country?: string | null;
address_line1?: string | null;
address_line1_check?: string | null;
address_line2?: string | null;
address_state?: string | null;
address_zip?: string | null;
address_zip_check?: string | null;
allow_redisplay?: "always" | "limited" | "unspecified" | null;
available_payout_methods?: ("instant" | "standard")[] | null;
brand: string;
country?: string | null;
currency?: string | null;
customer?: Customer | DeletedCustomer | string | null;
cvc_check?: string | null;
default_for_currency?: boolean | null;
dynamic_last4?: string | null;
exp_month: number;
exp_year: number;
fingerprint?: string | null;
funding: string;
id: string;
iin?: string;
last4: string;
metadata?: { } | null;
name?: string | null;
networks?: TokenCardNetworks;
object: "card";
regulated_status?: "regulated" | "unregulated" | null;
status?: string | null;
tokenization_method?: string | null;
}
| interface Source {
ach_credit_transfer?: SourceTypeAchCreditTransfer
interface SourceTypeAchCreditTransfer {
account_number?: string | null;
bank_name?: string | null;
fingerprint?: string | null;
refund_account_holder_name?: string | null;
refund_account_holder_type?: string | null;
refund_routing_number?: string | null;
routing_number?: string | null;
swift_code?: string | null;
}
;
ach_debit?: SourceTypeAchDebit
interface SourceTypeAchDebit {
bank_name?: string | null;
country?: string | null;
fingerprint?: string | null;
last4?: string | null;
routing_number?: string | null;
type?: string | null;
}
;
acss_debit?: SourceTypeAcssDebit
interface SourceTypeAcssDebit {
bank_address_city?: string | null;
bank_address_line_1?: string | null;
bank_address_line_2?: string | null;
bank_address_postal_code?: string | null;
bank_name?: string | null;
category?: string | null;
country?: string | null;
fingerprint?: string | null;
last4?: string | null;
routing_number?: string | null;
}
;
alipay?: SourceTypeAlipay
interface SourceTypeAlipay {
data_string?: string | null;
native_url?: string | null;
statement_descriptor?: string | null;
}
;
allow_redisplay?: "always" | "limited" | "unspecified" | null;
amount?: number | null;
au_becs_debit?: SourceTypeAuBecsDebit
interface SourceTypeAuBecsDebit {
bsb_number?: string | null;
fingerprint?: string | null;
last4?: string | null;
}
;
bancontact?: SourceTypeBancontact
interface SourceTypeBancontact {
bank_code?: string | null;
bank_name?: string | null;
bic?: string | null;
iban_last4?: string | null;
preferred_language?: string | null;
statement_descriptor?: string | null;
}
;
card?: SourceTypeCard
interface SourceTypeCard {
address_line1_check?: string | null;
address_zip_check?: string | null;
brand?: string | null;
country?: string | null;
cvc_check?: string | null;
dynamic_last4?: string | null;
exp_month?: number | null;
exp_year?: number | null;
fingerprint?: string;
funding?: string | null;
last4?: string | null;
name?: string | null;
three_d_secure?: string;
tokenization_method?: string | null;
}
;
card_present?: SourceTypeCardPresent
interface SourceTypeCardPresent {
application_cryptogram?: string;
application_preferred_name?: string;
authorization_code?: string | null;
authorization_response_code?: string;
brand?: string | null;
country?: string | null;
cvm_type?: string;
data_type?: string | null;
dedicated_file_name?: string;
emv_auth_data?: string;
evidence_customer_signature?: string | null;
evidence_transaction_certificate?: string | null;
exp_month?: number | null;
exp_year?: number | null;
fingerprint?: string;
funding?: string | null;
last4?: string | null;
pos_device_id?: string | null;
pos_entry_mode?: string;
read_method?: string | null;
reader?: string | null;
terminal_verification_results?: string;
transaction_status_information?: string;
}
;
client_secret: string;
code_verification?: SourceCodeVerificationFlow
interface SourceCodeVerificationFlow {
attempts_remaining: number;
status: string;
}
;
created: number;
currency?: string | null;
customer?: string;
eps?: SourceTypeEps
interface SourceTypeEps {
reference?: string | null;
statement_descriptor?: string | null;
}
;
flow: string;
giropay?: SourceTypeGiropay
interface SourceTypeGiropay {
bank_code?: string | null;
bank_name?: string | null;
bic?: string | null;
statement_descriptor?: string | null;
}
;
id: string;
ideal?: SourceTypeIdeal
interface SourceTypeIdeal {
bank?: string | null;
bic?: string | null;
iban_last4?: string | null;
statement_descriptor?: string | null;
}
;
klarna?: SourceTypeKlarna
interface SourceTypeKlarna {
background_image_url?: string;
client_token?: string | null;
first_name?: string;
last_name?: string;
locale?: string;
logo_url?: string;
page_title?: string;
pay_later_asset_urls_descriptive?: string;
pay_later_asset_urls_standard?: string;
pay_later_name?: string;
pay_later_redirect_url?: string;
pay_now_asset_urls_descriptive?: string;
pay_now_asset_urls_standard?: string;
pay_now_name?: string;
pay_now_redirect_url?: string;
pay_over_time_asset_urls_descriptive?: string;
pay_over_time_asset_urls_standard?: string;
pay_over_time_name?: string;
pay_over_time_redirect_url?: string;
payment_method_categories?: string;
purchase_country?: string;
purchase_type?: string;
redirect_url?: string;
shipping_delay?: number;
shipping_first_name?: string;
shipping_last_name?: string;
}
;
livemode: boolean;
metadata?: { } | null;
multibanco?: SourceTypeMultibanco
interface SourceTypeMultibanco {
entity?: string | null;
reference?: string | null;
refund_account_holder_address_city?: string | null;
refund_account_holder_address_country?: string | null;
refund_account_holder_address_line1?: string | null;
refund_account_holder_address_line2?: string | null;
refund_account_holder_address_postal_code?: string | null;
refund_account_holder_address_state?: string | null;
refund_account_holder_name?: string | null;
refund_iban?: string | null;
}
;
object: "source";
owner?: SourceOwner
interface SourceOwner {
address?: Address | null;
email?: string | null;
name?: string | null;
phone?: string | null;
verified_address?: Address | null;
verified_email?: string | null;
verified_name?: string | null;
verified_phone?: string | null;
}
| null
;
p24?: SourceTypeP24
interface SourceTypeP24 {
reference?: string | null;
}
;
receiver?: SourceReceiverFlow
interface SourceReceiverFlow {
address?: string | null;
amount_charged: number;
amount_received: number;
amount_returned: number;
refund_attributes_method: string;
refund_attributes_status: string;
}
;
redirect?: SourceRedirectFlow
interface SourceRedirectFlow {
failure_reason?: string | null;
return_url: string;
status: string;
url: string;
}
;
sepa_debit?: SourceTypeSepaDebit
interface SourceTypeSepaDebit {
bank_code?: string | null;
branch_code?: string | null;
country?: string | null;
fingerprint?: string | null;
last4?: string | null;
mandate_reference?: string | null;
mandate_url?: string | null;
}
;
sofort?: SourceTypeSofort
interface SourceTypeSofort {
bank_code?: string | null;
bank_name?: string | null;
bic?: string | null;
country?: string | null;
iban_last4?: string | null;
preferred_language?: string | null;
statement_descriptor?: string | null;
}
;
source_order?: SourceOrder
interface SourceOrder {
amount: number;
currency: string;
email?: string;
items?: SourceOrderItem[] | null;
shipping?: Shipping;
}
;
statement_descriptor?: string | null;
status: string;
three_d_secure?: SourceTypeThreeDSecure
interface SourceTypeThreeDSecure {
address_line1_check?: string | null;
address_zip_check?: string | null;
authenticated?: boolean | null;
brand?: string | null;
card?: string | null;
country?: string | null;
customer?: string | null;
cvc_check?: string | null;
dynamic_last4?: string | null;
exp_month?: number | null;
exp_year?: number | null;
fingerprint?: string;
funding?: string | null;
last4?: string | null;
name?: string | null;
three_d_secure?: string;
tokenization_method?: string | null;
}
;
type: "ach_credit_transfer" | "ach_debit" | "acss_debit" | "alipay" | "au_becs_debit" | "bancontact" | "card" | "card_present" | "eps" | "giropay" | "ideal" | "klarna" | "multibanco" | "p24" | "sepa_debit" | "sofort" | "three_d_secure" | "wechat";
usage?: string | null;
wechat?: SourceTypeWechat
interface SourceTypeWechat {
prepay_id?: string;
qr_code_url?: string | null;
statement_descriptor?: string;
}
;
}
| type DeletedPaymentSource = interface DeletedBankAccount {
currency?: string | null;
deleted: true;
id: string;
object: "bank_account";
}
| interface DeletedCard {
currency?: string | null;
deleted: true;
id: string;
object: "card";
}
default application/json

Error response.

interface Error {
error: ApiErrors
interface ApiErrors {
advice_code?: string;
charge?: string;
code?: string;
decline_code?: string;
doc_url?: string;
message?: string;
network_advice_code?: string;
network_decline_code?: string;
param?: string;
payment_intent?: PaymentIntent;
payment_method?: PaymentMethod;
payment_method_type?: string;
request_log_url?: string;
setup_intent?: SetupIntent;
source?: BankAccount | Card | Source;
type: "api_error" | "card_error" | "idempotency_error" | "invalid_request_error";
}
;
}