Authorization: Bearer ********************curl --location --request POST '/invoices//credits' \
--header 'Content-Type: application/json' \
--data-raw '{
"bill_payments": [
{
"payment_id": "460000000076027",
"amount_applied": 150
}
],
"apply_vendor_credits": [
{
"vendor_credit_id": "460000000030049",
"amount_applied": 150
}
]
}'{
"code": 0,
"message": "Credits have been applied to the bill(s).\""
}