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
- 200
- 401
- 422
The coupon can be applied
Not an administrator of this account
No active coupon with that code