Onboarding

Create a Stripe Hosted Checkout session for purchasing credits

No Stripe.js required. Returns a checkoutUrl the operator opens in a browser. On payment, webhook auto-provisions credits + API key.

post/api/m2m/credits/checkout/session

Request

  • Base URL: https://coinrailz.com
  • URL: https://coinrailz.com/api/m2m/credits/checkout/session
  • Auth: none required

Request body

amountUsd5 | 10 | 25 | 100 required

Credit tier in USD.

emailstring email

Optional — for Stripe receipt.

keyNamestring

Optional label for the generated API key.

Response

Checkout session created with checkoutUrl and retrievalToken

Changes

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