Revised

Start a credit top-up

Start a credit top-up. Returns a Stripe Checkout `url` for a person to open and pay; no card passes through the API. Whole dollars from $10 to $2,000, priced by the tier that single payment falls in (see `GET /credits`). Credits arrive when Stripe confirms the payment. Each call creates a Checkout Session, so there is a small per-account limit (5 a minute).

POST/api/v1/credits/topup

Start a credit top-up. Returns a Stripe Checkout `url` for a person to open and pay; no card passes through the API. Whole dollars from $10 to $2,000, priced by the tier that single payment falls in (see `GET /credits`). Credits arrive when Stripe confirms the payment. Each call creates a Checkout Session, so there is a small per-account limit (5 a minute).

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Request bodyrequired

amount_usdintegerrequired

Whole dollars, 10 to 2000.

Responses

Open `url` to pay.

amount_usdinteger
creditsinteger
credits_per_usdinteger
urlstring (uri)
curl --request POST \
  --url "https://getrevised.com/api/v1/credits/topup" \
  --header "Authorization: Bearer YOUR_API_KEY"
{
  "amount_usd": 123,
  "credits": 123,
  "credits_per_usd": 123,
  "url": "<url>"
}

Type to search…

↑↓ navigate↵ openesc close