veryfront__redeem_credit_coupon

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.

Risk: mutating.

Arguments

NameTypeRequiredDescription
codestringYesProvide the code.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__redeem_credit_coupon",    "arguments": {      "code": "<code>"    }  }}