curl -X POST https://kube.acho.io/service/general-ledger/invoice-payments/CP-2024-001/deposit \
-H "Authorization: jwt YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"deposit_date": "2024-02-12"}'
{
"customer_payment_id": "CP-2024-001",
"status": "Deposited",
"deposit_date": "2024-02-12"
}
Mark an invoice payment as deposited
curl -X POST https://kube.acho.io/service/general-ledger/invoice-payments/CP-2024-001/deposit \
-H "Authorization: jwt YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"deposit_date": "2024-02-12"}'
{
"customer_payment_id": "CP-2024-001",
"status": "Deposited",
"deposit_date": "2024-02-12"
}
curl -X POST https://kube.acho.io/service/general-ledger/invoice-payments/CP-2024-001/deposit \
-H "Authorization: jwt YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"deposit_date": "2024-02-12"}'
{
"customer_payment_id": "CP-2024-001",
"status": "Deposited",
"deposit_date": "2024-02-12"
}