PUT
/
ca
/
api
/
account
/
{id}
Update Bank Account
curl --request PUT \
  --url https://api.meetcampfire.com/ca/api/account/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currency": "<string>",
  "external_account_id": "<string>",
  "name": "<string>",
  "nickname": "<string>",
  "status": "<string>",
  "type": "CHECKING",
  "available_balance": 0,
  "current_balance": 0,
  "institution_id": "<string>",
  "source": "<string>",
  "entity": 123,
  "chart_of_accounts_account": 123
}'
{
  "id": 123,
  "entity_name": "<string>",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "currency": "<string>",
  "external_account_id": "<string>",
  "name": "<string>",
  "nickname": "<string>",
  "status": "<string>",
  "type": "CHECKING",
  "available_balance": 0,
  "current_balance": 0,
  "institution_id": "<string>",
  "source": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "entity": 123,
  "chart_of_accounts_account": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

Response

200 - application/json

The response is of type object.