Skip to main content
POST
Create a customer session

Authorizations

Authorization
string
header
required

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

Body

application/json

Customer session creation request data

customerRef
string
required
Required string length: 1 - 20
productRef
string
Maximum string length: 20

Response

Customer session created successfully

customerUrl
string
required

Full customer URL based on backend configuration (ready to redirect customer)

Example:

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

sessionId
string
required

Customer session ID/token

Example:

"e3f1c2d4b6a89f001122334455667788"