v20

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-214885191.3 KB
Customers

Create a customer session

Creates a customer session URL that can be used to redirect customers to the customer page. Returns the customer URL and session ID. The session is short-lived (15 minutes) for security reasons.

post/v1/sdk/customers/customer-sessions

Request body

customerRefstring required
productRefstring

Response

Customer session created successfully

customerUrlstring required

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

sessionIdstring required

Customer session ID/token

Example response

{
  "customerUrl": "https://solvapay.com/customer/manage?id=e3f1c2d4b6a89f001122334455667788",
  "sessionId": "e3f1c2d4b6a89f001122334455667788"
}