Skip to main content
POST
/
coa
/
api
/
v1
/
credit-memo
/
{credit_memo_id}
/
mark-used
Mark Credit Memo as Used
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>"

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

credit_memo_id
integer
required

ID of the credit memo to mark as used

Body

Serializer for marking a credit memo as used with a transaction.

transaction_id
integer
required
account_id
integer
required
amount
number<double>
required
Required range: -1000000000000000000 < x < 1000000000000000000
payment_date
string<date>
required
memo
string | null

Response

200 - application/json

Credit memo marked as used successfully