curl --request POST \
--url https://api.meetcampfire.com/coa/api/v1/credit-memo/{credit_memo_id}/mark-used \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"transaction_id": 123,
"account_id": 123,
"amount": 0,
"payment_date": "2023-12-25",
"memo": "<string>"
}
'"<unknown>"Mark a credit memo as used by linking to an existing transaction.
The transaction’s debit amount will be recategorized to A/R to clear the credit memo. The credit memo’s status will be updated to “used” or “partially_used” based on the amount applied vs the total amount.
curl --request POST \
--url https://api.meetcampfire.com/coa/api/v1/credit-memo/{credit_memo_id}/mark-used \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"transaction_id": 123,
"account_id": 123,
"amount": 0,
"payment_date": "2023-12-25",
"memo": "<string>"
}
'"<unknown>"Token-based authentication with required prefix "Token"
ID of the credit memo to mark as used
Credit memo marked as used successfully