Redeem credit coupon

http
POST /accounts/{account_id}/credits/coupons/redeem

Redeem a coupon code for credits on an account; returns the credits granted and the new balance, or already_redeemed for a code the account used before. Requires account.billing.manage.

Parameters

NameInRequiredDescription
account_idpathYes

Request body

FieldTypeRequiredDescription
codestringYesStripe promotion code to redeem for Veryfront credits

Responses

StatusDescription
200Coupon redemption result
400Bad request
401Unauthorized
402Payment required
403Forbidden
404Not found
409Conflict
500Server error