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).
/api/v1/credits/topupStart 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
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request bodyrequired
amount_usdintegerrequiredWhole dollars, 10 to 2000.
Responses
Open `url` to pay.
amount_usdintegercreditsintegercredits_per_usdintegerurlstring (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>"
}