Skip to main content
PUT
Update bank

Authorizations

Authorization
string
header
required

An API token from Sign in, sent as Authorization: Bearer <token>. Tokens last 30 days.

Path Parameters

id
integer
required

The bank ID

Example:

1

Body

application/json
name
string

Bank name. Must not be greater than 255 characters.

Example:

"Chase Bank"

code
string | null

Bank code. Must not be greater than 50 characters.

Example:

"CHASE"

email
string | null

Bank email address. Must be a valid email address. Must not be greater than 255 characters.

Example:

"info@example.com"

phone
string | null

Bank phone number. Must not be greater than 50 characters.

Example:

"+1234567890"

street1
string | null

Street address line 1. Must not be greater than 255 characters.

Example:

"123 Main St"

street2
string | null

Street address line 2. Must not be greater than 255 characters.

Example:

"Suite 100"

city
string | null

City. Must not be greater than 100 characters.

Example:

"New York"

zip
string | null

ZIP/Postal code. Must not be greater than 20 characters.

Example:

"10001"

state_id
string | null

State ID. The id of an existing record in the states table.

Example:

9

country_id
string | null

Country ID. The id of an existing record in the countries table.

Example:

233

Response

Success