Idempotency Supported
This API call can be used to deduct promotional credits for a customer. Learn more about Promotional Credits.
For example, if a customer has a credit balance of $20, if you pass the amount as $5, then the customer's credit balance would become $15.
If you do not pass any amount as the input parameter then, it will deduct the whole available amount from the credit balance.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/promotional_credits/deduct
Input Parameters
Returns
Customer object
Resource object representing customer
Promotional credit object
Resource object representing promotional_credit