Credits

Buy Credits

Buy prepaid credits for WebLens API. Credits are used for all paid endpoints and offer bonuses at $10/$50/$100 tiers. Price: the amount you buy, $2-$1000.

post/credits/buy

Request

  • Base URL: https://api.weblens.dev
  • URL: https://api.weblens.dev/credits/buy
  • Auth: API key in header Payment-Signature

Request body

amountnumber required

Amount in USD to buy

Example request

{
  "amount": 10
}

Response

Prepay credits; deposit bonuses at $10 / $50 / $100.

successboolean
duplicateboolean

True when this payment was already applied; nothing was added

messagestring
addedstring

Amount added, e.g. "$10.00"

bonusstring

Deposit bonus accrued, e.g. "$2.00"

newBalancestring

Balance after the deposit, e.g. "$12.0000"

tierstring

standard, premium or enterprise

requestIdstring

Changes

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