Note: We will also provide dedicated documentation for user-side integration of promo credits later at Promo Credits Introduction.
GET /merchant/user/get
promoCreditAccounts
: List of promo credit accounts associated with the user.POST /merchant/subscription/update_preview
applyPromoCredit
(boolean): Whether to apply promo credits.applyPromoCreditAmount
(number): The amount of promo credit to apply.invoice.promoCreditAccount
: The promo credit account used.invoice.promoCreditPayout
: Promo credit payout information.invoice.promoCreditDiscountAmount
: Discount amount applied using promo credit.invoice.partialCreditPaidAmount
: Amount partially paid using promo credits.invoice.promoCreditTransaction
: Transaction details related to promo credit usage.POST /merchant/subscription/update_submit
applyPromoCredit
(boolean): Whether to apply promo credits.applyPromoCreditAmount
(number): The amount of promo credit to apply.GET /merchant/user/get
to retrieve user’s promo credit accounts.POST /merchant/subscription/update_preview
with applyPromoCredit
and applyPromoCreditAmount
to preview the effect.invoice
response to confirm how promo credits will be applied.POST /merchant/subscription/update_submit
with the same promo credit fields to apply the changes.applyPromoCreditAmount
does not exceed the available balance in the user’s promo credit account.