Skip to main content
POST
/
v1
/
ui
/
customers
/
customer-sessions
curl --request POST \
  --url https://api.example.com/v1/ui/customers/customer-sessions \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerRef": "cus_3c4d5e6f7g8h"
}
'
{
  "id": "507f1f77bcf86cd799439011",
  "sessionId": "e3f1c2d4b6a89f001122334455667788",
  "status": "active",
  "customerUrl": "https://solvapay.com/customer/manage?id=e3f1c2d4b6a89f001122334455667788"
}

Body

application/json
customerRef
string
required
Minimum string length: 1
productRef
string

Response

Customer session created successfully

id
string
required

Customer session ID

Example:

"507f1f77bcf86cd799439011"

sessionId
string
required

Public session ID used in customer URL

Example:

"e3f1c2d4b6a89f001122334455667788"

status
string
required

Session status

Example:

"active"

customerUrl
string
required

Customer URL to open the customer page

Example:

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