cURL
curl --request POST \ --url https://api.example.com/api/vendor-credits/{vendorCreditId}/apply-to-bills