Vouchers

Redeem a voucher with a voucher code

Redeems a Hyperstack voucher and applies its credit to your organization's billing balance. Submit the voucher_code of a valid, unused voucher in the request body. The credit is applied to the currently selected organization's account. For voucher constraints and credit behavior, see Voucher Rules and Account Credit Behavior.

post/billing/billing/vouchers/redeem

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/billing/billing/vouchers/redeem
  • Auth: API key in header api_key

Request body

voucher_codestring required

Voucher code to redeem. Must consist only of uppercase letters and hyphens, and must exactly match a valid, unredeemed code issued by Hyperstack.

Response

Success

messagestring

Response message.

statusboolean

Success status of the operation.

Changes

No recorded changes to this operation across all 1 revision of this API.