Payments

Create a Stripe Checkout session

post/payments/checkout

Request

  • Base URL: https://opnplatform.com/api
  • URL: https://opnplatform.com/api/payments/checkout
  • Auth: HTTP bearer

Request body

cancel_urlstring uri
product_idstring required

Stripe Price ID (price_xxx)

success_urlstring uri
type'subscription' | 'credits' required

Response

Checkout URL

session_idstring
urlstring

Changes

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