curl --request POST \
--url https://api.meetcampfire.com/coa/api/transaction/{transaction_id}/invoice_payments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"transactions": [
{
"invoice_id": 54517,
"account_id": "3298",
"amount": 1500
}
]
}'
"<any>"
Apply a payment transaction to one or more invoices. This endpoint allows you to allocate funds from a transaction to pay outstanding invoices.
curl --request POST \
--url https://api.meetcampfire.com/coa/api/transaction/{transaction_id}/invoice_payments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"transactions": [
{
"invoice_id": 54517,
"account_id": "3298",
"amount": 1500
}
]
}'
"<any>"
Token-based authentication with required prefix "Token"
ID of the transaction to use for payment
Serializer for applying a transaction payment to multiple invoices.
Payment successfully applied