Retrieve an external account
GET
/v1/accounts/{account}/bank_accounts/{id} https://api.stripe.com/
Parameters
path Path Parameters
| Name | Type |
|---|---|
account
required
| string |
id
required
Unique identifier for the external account to be retrieved. | string |
query Query Parameters
| Name | Type |
|---|---|
expand Specifies which fields in the response should be expanded. | string[] |
Request Body
application/x-www-form-urlencoded
{}
Responses
200 application/json
Successful response.
type ExternalAccount = 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;
} | 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;
}
account?:
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?:
default_for_currency?: boolean | null;
fingerprint?: string | null;
future_requirements?:
id: string;
last4: string;
metadata?: { } | null;
object: "bank_account";
requirements?:
routing_number?: string | null;
status: string;
} | interface Card {
account?:
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?:
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?:
object: "card";
regulated_status?: "regulated" | "unregulated" | null;
status?: string | null;
tokenization_method?: string | null;
}
default application/json
Error response.
interface Error {
error:ApiErrors ;
}
error:
}