/bff/order/add-credit
Adds a credit-granting line item to the order and recalculates the total price.
OrderpostBffOrderAdd-credit
Parameters
5 body
Body · 5
orderHashstringRequiredUnique order hash identifier.
labelstringRequiredItem label displayed on invoice.
pricenumberRequiredUnit price including VAT.
creditnumberRequiredCredit amount to grant to the customer.
vatnumberRequiredVAT rate in percent (e.g. 21).
Request
POST /bff/order/add-credit
curl -X POST "https://api.bizkithub.com/bff/order/add-credit" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"orderHash": "example_orderHash",
"label": "example_label",
"price": 0,
"credit": 0,
"vat": 0
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.