Retrieve a bank account
Deprecated GET
/v1/customers/{customer}/bank_accounts/{id} https://api.stripe.com/
Parameters
path Path Parameters
| Name | Type |
|---|---|
customer
required
| string |
id
required
| 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.
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;
}
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;
}
default application/json
Error response.
interface Error {
error:ApiErrors ;
}
error:
}