Billing

Start a top-up

Returns a hosted checkout link with amountCents filled in. The buyer can change it there, from $20 to $5,000. The balance is credited within a minute of payment, and tracking paused for balance resumes right away. This call charges nothing by itself. successUrl must be on an origin this deployment trusts. Leave it out to return to the dashboard's billing page.

post/v1/billing/top-ups

Request

  • Base URL: https://api.rumoro.dev
  • URL: https://api.rumoro.dev/v1/billing/top-ups
  • Auth: HTTP bearer

Request body

amountCentsinteger required

The amount to add in US cents, from 2000 to 500000. Checkout starts with it and the buyer can change it.

successUrlstring uri

Page to return to after payment. It must be on an origin this deployment trusts, like the dashboard, and defaults to the dashboard's billing page.

Response

A checkout link with the amount filled in

urlstring required

The Polar checkout link.

Changes

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