Skip to main content
POST
/
topup
Add credits via Stripe
curl --request POST \
  --url https://api.tryhuntr.com/topup \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "amount": 10
}'
{
  "checkout_url": "https://checkout.stripe.com/pay/cs_live_xxx",
  "amount": 10,
  "current_balance": 4.89
}

Authorizations

x-api-key
string
header
required

Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on all authenticated requests.

Body

application/json
amount
number
required

Amount to add in USD. Minimum $1.

Required range: x >= 1

Response

Stripe Checkout URL.

checkout_url
string<uri>

Redirect the user here to complete payment.

amount
number

Amount being added in USD.

current_balance
number

Balance before this top-up.