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"
}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"
}Customer session created successfully
Customer session ID
"507f1f77bcf86cd799439011"
Public session ID used in customer URL
"e3f1c2d4b6a89f001122334455667788"
Session status
"active"
Customer URL to open the customer page
"https://solvapay.com/customer/manage?id=e3f1c2d4b6a89f001122334455667788"