Skip to main content

Validate a discount coupon

POST 

/api/v1/accounts/:account_id/billing/coupon

Resolves a coupon code against the payment provider so the order summary shows the same discount the invoice will apply. Validating here rather than computing the discount in the screen is what keeps the total the customer sees and the total that reaches the card from drifting apart.

Administrators only, like the rest of billing.

Request​

Responses​

The coupon can be applied