Credits

Start a credit purchase (Stripe Checkout)

Creates a Stripe Checkout session for the chosen bundle and returns a URL to redirect the buyer to. Credits are granted via the Stripe webhook after payment. Authenticated and rate-limited.

post/api/v1/credits/purchase

Request

  • Base URL: https://investormatch.pro
  • URL: https://investormatch.pro/api/v1/credits/purchase
  • Auth: HTTP bearer

Request body

bundle_idinteger required

ID of the bundle from GET /api/v1/credits/bundles.

Example request

{
  "bundle_id": 2
}

Response

Checkout session created.

checkout_urlstring uri

Stripe Checkout URL to redirect the buyer to.

session_idstring

Example response

{
  "session_id": "cs_test_a1b2c3"
}

Changes

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