Billing
billing

Create Checkout

Create a Stripe checkout session for upgrading to a paid plan or buying report credits

post/api/v1/billing/checkout

Request

  • Base URL: https://api.freeastroapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.freeastroapi.com/api/v1/billing/checkout
  • Auth: none declared

Headers

authorizationstring

Request body

purchase_type'subscription' | 'report_credits'
tier_namestring nullable
pack_sizeinteger nullable
product_codestring nullable
user_idstring nullable
success_urlstring nullable
cancel_urlstring nullable

Response

Successful Response

unknown required

Changes

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