POST
/
coa
/
api
/
v1
/
bill
/
{bill_id}
/
payment
/
{payment_id}
/
void
/
Void Bill Payment
curl --request POST \
  --url https://api.meetcampfire.com/coa/api/v1/bill/{bill_id}/payment/{payment_id}/void/ \
  --header 'Authorization: <api-key>'
{
  "id": 123,
  "payment_transaction_bank_description": "<string>",
  "payment_journal_entry_order": "<string>",
  "voided_journal_entry_order": "<string>",
  "currency": "<string>",
  "amount": 0,
  "payment_date": "2023-12-25",
  "source": "<string>",
  "source_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "voided_date": "2023-12-25",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "bill": 123,
  "payment_journal_entry": 123,
  "payment_transaction": 123,
  "voided_journal_entry": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

bill_id
integer
required

ID of the bill

payment_id
integer
required

ID of the payment to void

Response

200 - application/json

The response is of type object.