Idempotency Supported
Try in API ExplorerThis API call can be used to add promotional credits to a customer. Learn more about Promotional Credits.
For example, if a customer has credits of $10, if you pass the amount as $10, then the customer's credit balance would become $20.
Sample Request
URL Format
POST https://[site].chargebee.com/api/v2/promotional_credits/add
Input Parameters
required if Multicurrency is enabled, string, max chars=3
The currency code (ISO 4217 format) for promotional credit.
optional, enumerated string, default=general
Type of promotional credits provided to customer.
loyalty_credits
Loyalty Credits
referral_rewards
Referral
general
General
Returns
customerCustomer object
Resource object representing customer
promotional_creditPromotional credit object
Resource object representing promotional_credit