Update a specified source for a given customer.

post/v1/customers/{customer}/bank_accounts/{id}

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/customers/{customer}/bank_accounts/{id}
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Path parameters

customerstring required
idstring required

Request body application/x-www-form-urlencoded

account_holder_namestring

The name of the person or business that owns the bank account.

account_holder_type'company' | 'individual'

The type of entity that holds the account. This can be either individual or company.

address_citystring

City/District/Suburb/Town/Village.

address_countrystring

Billing address country, if provided when creating card.

address_line1string

Address line 1 (Street address/PO Box/Company name).

address_line2string

Address line 2 (Apartment/Suite/Unit/Building).

address_statestring

State/County/Province/Region.

address_zipstring

ZIP or postal code.

exp_monthstring

Two digit number representing the card’s expiration month.

exp_yearstring

Four digit number representing the card’s expiration year.

expandstring[]

Specifies which fields in the response should be expanded.

namestring

Cardholder name.

Response

Successful response.

OR
OR

Changes

    • warning

      added the new final_payment_failure enum value to the ///////// response property for the response status

    • warning

      added the new first_payment_failure enum value to the ///////// response property for the response status

    • info

      added the optional property ////// to the response with the status

Some revisions have not been checked yet.