Billing

Redeem staking points for plan time or credits

Spends points from the wallet on the account.

quantity is months for pro_months and points for credits; the response always states the cost actually charged.

Pro months extend an existing period rather than replacing it, so redeeming twice does not discard the time already granted. They are refused when the organisation has a Stripe subscription, or is on a tier above Pro: a comped tier would overwrite the plan being paid for and would never expire. Credits apply on top of a subscription and are the right choice there.

Redemption serialises on the wallet's ledger, so two concurrent requests cannot spend the same points.

post/v1/staking/redeem

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/staking/redeem
  • Auth: HTTP bearer

Request body

reward_type'pro_months' | 'credits' required
quantityinteger required

Months for pro_months; points for credits

Response

Redeemed

redemption_idstring uuid
points_spentinteger
remaining_availableinteger
reward_typestring
reward_detailobject

Changes

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