Buy 100 API credits for $5

Charges the card on file immediately and adds 100 credits to the account balance. Requires an active Stripe customer with a payment method.

post/billing/topup

Request

  • Base URL: https://developer.usepopup.com/api/v0
  • URL: https://developer.usepopup.com/api/v0/billing/topup
  • Auth: HTTP bearer

Response

Credits purchased successfully

Example response

{
  "data": {
    "credits_added": 100,
    "credits_remaining": 947,
    "amount_charged": 500,
    "currency": "usd"
  }
}

Changes

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