Skip to main content
POST
Get user info and purchase status

Authorizations

Authorization
string
header
required

Provider secret API key (sk_live_… / sk_test_…) supplied as a Bearer token.

Body

application/json
customerRef
string
required
Required string length: 1 - 20
productRef
string
required
Required string length: 1 - 20

Response

User info with purchase status

status
string
required

Human-readable status summary

Example:

"Active subscription: My API Product (25% usage consumed)"

purchase
object
user
object
verifyUrl
string | null

Customer portal session URL

Example:

"https://solvapay.com/customer/manage?id=abc123"