Billing

Create credit purchase checkout

Creates a Polar checkout session for credit purchase. Minimum $10. Pass interval "month" to start a recurring monthly top-up instead of a one-time purchase.

post/billing/checkout/credits

Request body

amountnumber required

Amount in dollars (minimum $10)

interval'month'

Omit for a one-time purchase. "month" starts a recurring top-up of the same amount every month.

Response

Checkout session created

Changes