These credits can be provided to the customer for promoting the product. You can use Promotional Credits to offer referral bonuses, cash back offers and more. When a customer has promotional credits, it is automatically applied whenever a new invoice is created.
{
"amount": 100,
"closing_balance": 100,
"created_at": 1517501388,
"credit_type": "general",
"currency_code": "USD",
"customer_id": "__test__KyVnHhSBWStxi4s",
"description": "add promotional credits",
"done_by": "full_access_key_v1",
"id": "pc___test__KyVnHhSBWStz44u",
"object": "promotional_credit",
"type": "increment"
}
This 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.
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.
This API call can be used to set the promotional credits balance of a customer. Learn more about Promotional Credits.
For example,