POST /v1/customers/{customer}/cards/{id}

Update a specified source for a given customer.

Servers

Path parameters

Name Type Required Description
id String Yes
customer String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
address_line1 String No

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

exp_year String No

Four digit number representing the card’s expiration year.

exp_month String No

Two digit number representing the card’s expiration month.

address_zip String No

ZIP or postal code.

expand[] Array No

Specifies which fields in the response should be expanded.

metadata No

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

account_holder_name String No

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

address_country String No

Billing address country, if provided when creating card.

address_line2 String No

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

address_city String No

City/District/Suburb/Town/Village.

name String No

Cardholder name.

address_state String No

State/County/Province/Region.

owner Object No
owner.email String No
owner.name String No
owner.phone String No
owner.address Object No
owner.address.line2 String No
owner.address.line1 String No
owner.address.postal_code String No
owner.address.country String No
owner.address.state String No
owner.address.city String No
account_holder_type String No

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

Possible values:

  • "company"
  • "individual"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.