Skip to main content
PATCH
/
ca
/
api
/
transaction
/
{id}
Partial Update Bank Transaction
curl --request PATCH \
  --url https://api.meetcampfire.com/ca/api/transaction/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "external_transaction_id": "<string>",
  "currency": "<string>",
  "amount": 0,
  "amount_native": 0,
  "posted_at": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "note": "<string>",
  "bank_description": "<string>",
  "external_memo": "<string>",
  "merchant_id": "<string>",
  "merchant_name": "<string>",
  "merchant_nickname": "<string>",
  "kind": "<string>",
  "excluded": true,
  "assigned": true,
  "metadata": "<any>",
  "account": 123
}'
{
  "id": 123,
  "is_deleted": false,
  "deleted_at": "2023-11-07T05:31:56Z",
  "account_name": "<string>",
  "date_month": "<string>",
  "date_year": "<string>",
  "journal": 123,
  "journal_order": "<string>",
  "intercompany_journal": 123,
  "reconciliation_report": 123,
  "reconciliation_report_ending_date": "2023-12-25",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "external_transaction_id": "<string>",
  "currency": "<string>",
  "amount": 0,
  "amount_native": 0,
  "posted_at": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "note": "<string>",
  "bank_description": "<string>",
  "external_memo": "<string>",
  "merchant_id": "<string>",
  "merchant_name": "<string>",
  "merchant_nickname": "<string>",
  "kind": "<string>",
  "excluded": true,
  "assigned": true,
  "metadata": "<any>",
  "created_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "account": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

transaction_id
string<uuid>
external_transaction_id
string | null
Maximum length: 200
currency
string
Maximum length: 3
amount
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
amount_native
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
posted_at
string<date-time> | null
status
string | null
Maximum length: 250
note
string | null
Maximum length: 1024
bank_description
string | null
external_memo
string | null
merchant_id
string | null
merchant_name
string | null
merchant_nickname
string | null
kind
string | null
excluded
boolean
assigned
boolean
metadata
any
account
integer

Response

200 - application/json
id
integer
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
account_name
string
required
date_month
string | null
required
date_year
string | null
required
journal
integer | null
required
journal_order
string | null
required
intercompany_journal
integer | null
required
reconciliation_report
integer
required
reconciliation_report_ending_date
string<date>
required
last_modified_at
string<date-time>
required
created_at
string<date-time>
required
customer
integer
required
account
integer
required
transaction_id
string<uuid>
external_transaction_id
string | null
Maximum length: 200
currency
string
Maximum length: 3
amount
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
amount_native
number | null
Required range: -1000000000000000000 < x < 1000000000000000000
posted_at
string<date-time> | null
status
string | null
Maximum length: 250
note
string | null
Maximum length: 1024
bank_description
string | null
external_memo
string | null
merchant_id
string | null
merchant_name
string | null
merchant_nickname
string | null
kind
string | null
excluded
boolean
assigned
boolean
metadata
any
I