curl --request POST \
--url https://api.meetcampfire.com/rr/api/v1/transactions \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"tags": "<string>",
"source": "<string>",
"description": "<string>",
"external_id": "<string>",
"client_external_id": "<string>",
"contract_external_id": "<string>",
"contract_subscription_external_id": "<string>",
"product_external_id": "<string>",
"accounting_period": "2023-12-25",
"transaction_date": "2023-12-25",
"transaction_end_date": "2023-12-25",
"currency": "<string>",
"exchange_rate": 0,
"exchange_rate_book": 0,
"recognized": 0,
"amount": 0,
"quantity": 0,
"rate": 123,
"discount": 0,
"refunds": 0,
"processing_fees": 0,
"platform_fees": 0,
"transfers": 0,
"tax": 0,
"mrr": 0,
"renewall": true,
"entity": 123,
"client": 123,
"contract": 123,
"contract_subscription": 123,
"non_contract_subscription": 123,
"product": 123,
"contract_bundle": 123,
"journal_entry": 123,
"invoice": 123,
"department": 123
}'
{
"id": 123,
"entity_name": "<string>",
"entity_currency": "<string>",
"client_name": "<string>",
"contract_name": "<string>",
"product_name": "<string>",
"product_is_taxable": true,
"contract_identifier": "<string>",
"client_identifier": "<string>",
"product_identifier": "<string>",
"gross_amount": "<string>",
"invoice_number": "<string>",
"invoice_date": "<string>",
"revenue_type": "<string>",
"journal_entry_order": "<string>",
"contract_subscription_notes": "<string>",
"department_name": "<string>",
"parent_department_name": "<string>",
"parent_department": 123,
"tags": "<string>",
"source": "<string>",
"description": "<string>",
"external_id": "<string>",
"client_external_id": "<string>",
"contract_external_id": "<string>",
"contract_subscription_external_id": "<string>",
"product_external_id": "<string>",
"accounting_period": "2023-12-25",
"transaction_date": "2023-12-25",
"transaction_end_date": "2023-12-25",
"currency": "<string>",
"exchange_rate": 0,
"exchange_rate_book": 0,
"recognized": 0,
"amount": 0,
"quantity": 0,
"rate": 123,
"discount": 0,
"refunds": 0,
"processing_fees": 0,
"platform_fees": 0,
"transfers": 0,
"tax": 0,
"mrr": 0,
"renewall": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"entity": 123,
"client": 123,
"contract": 123,
"contract_subscription": 123,
"non_contract_subscription": 123,
"product": 123,
"contract_bundle": 123,
"journal_entry": 123,
"invoice": 123,
"department": 123
}
curl --request POST \
--url https://api.meetcampfire.com/rr/api/v1/transactions \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"tags": "<string>",
"source": "<string>",
"description": "<string>",
"external_id": "<string>",
"client_external_id": "<string>",
"contract_external_id": "<string>",
"contract_subscription_external_id": "<string>",
"product_external_id": "<string>",
"accounting_period": "2023-12-25",
"transaction_date": "2023-12-25",
"transaction_end_date": "2023-12-25",
"currency": "<string>",
"exchange_rate": 0,
"exchange_rate_book": 0,
"recognized": 0,
"amount": 0,
"quantity": 0,
"rate": 123,
"discount": 0,
"refunds": 0,
"processing_fees": 0,
"platform_fees": 0,
"transfers": 0,
"tax": 0,
"mrr": 0,
"renewall": true,
"entity": 123,
"client": 123,
"contract": 123,
"contract_subscription": 123,
"non_contract_subscription": 123,
"product": 123,
"contract_bundle": 123,
"journal_entry": 123,
"invoice": 123,
"department": 123
}'
{
"id": 123,
"entity_name": "<string>",
"entity_currency": "<string>",
"client_name": "<string>",
"contract_name": "<string>",
"product_name": "<string>",
"product_is_taxable": true,
"contract_identifier": "<string>",
"client_identifier": "<string>",
"product_identifier": "<string>",
"gross_amount": "<string>",
"invoice_number": "<string>",
"invoice_date": "<string>",
"revenue_type": "<string>",
"journal_entry_order": "<string>",
"contract_subscription_notes": "<string>",
"department_name": "<string>",
"parent_department_name": "<string>",
"parent_department": 123,
"tags": "<string>",
"source": "<string>",
"description": "<string>",
"external_id": "<string>",
"client_external_id": "<string>",
"contract_external_id": "<string>",
"contract_subscription_external_id": "<string>",
"product_external_id": "<string>",
"accounting_period": "2023-12-25",
"transaction_date": "2023-12-25",
"transaction_end_date": "2023-12-25",
"currency": "<string>",
"exchange_rate": 0,
"exchange_rate_book": 0,
"recognized": 0,
"amount": 0,
"quantity": 0,
"rate": 123,
"discount": 0,
"refunds": 0,
"processing_fees": 0,
"platform_fees": 0,
"transfers": 0,
"tax": 0,
"mrr": 0,
"renewall": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"entity": 123,
"client": 123,
"contract": 123,
"contract_subscription": 123,
"non_contract_subscription": 123,
"product": 123,
"contract_bundle": 123,
"journal_entry": 123,
"invoice": 123,
"department": 123
}
Token-based authentication with required prefix "Token"
The response is of type object
.