Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Body

application/json

The Checkout session to claim

session_id
string
required

The Stripe Checkout session id from the session_id query parameter on the success URL.

Example:

"cs_live_a1b2c3d4e5f6g7h8i9j0"

Response

Subscription attached to the authenticated account (or already was)

status
enum<string>
required
Available options:
success
subscription_id
string
required

The Stripe subscription now attached to the authenticated account.

Example:

"sub_1Rz0abc123"

plan
enum<string>
required

The plan the subscription is on, resolved from its Stripe price.

Available options:
starter,
pro
Example:

"pro"