PUT
/
bankAccounts
/
{bankAccountId}
curl --request PUT \
  --url https://test.onlinecheckwriter.com/api/v3/bankAccounts/{bankAccountId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Updated Bank Name",
  "nickName": "Updated Nickname",
  "accountNumber": "123456789012",
  "addressLine1": "Updated Address Line 1",
  "addressLine2": "Updated Address Line 2",
  "city": "Updated City",
  "state": "ST",
  "zip": "12345",
  "phone": "1234567890"
}'
{
  "success": true,
  "message": "Bank account updated successfully."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bankAccountId
string
required

The ID of the bank account to update.

Example:

"3Ez2Ggn8JP4qQgA"

Body

application/json

Payload for updating bank account details.

The body is of type object.

Response

200
application/json

Bank account updated successfully.

The response is of type object.