POST
/
ca
/
api
/
transaction
Create Bank Transaction
curl --request POST \
  --url https://api.meetcampfire.com/ca/api/transaction \
  --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,
  "account_name": "<string>",
  "date_month": "<string>",
  "date_year": "<string>",
  "journal": 123,
  "journal_order": "<string>",
  "intercompany_journal": 123,
  "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",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "account": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

Response

201 - application/json

The response is of type object.