curl --request POST \
--url https://api.example.com/v1/sdk/customers/customer-sessions \
--header 'Content-Type: application/json' \
--data '
{
"customerRef": "cus_3c4d5e6f7g8h"
}
'{
"customerUrl": "https://solvapay.com/customer/manage?id=e3f1c2d4b6a89f001122334455667788",
"sessionId": "e3f1c2d4b6a89f001122334455667788"
}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.
curl --request POST \
--url https://api.example.com/v1/sdk/customers/customer-sessions \
--header 'Content-Type: application/json' \
--data '
{
"customerRef": "cus_3c4d5e6f7g8h"
}
'{
"customerUrl": "https://solvapay.com/customer/manage?id=e3f1c2d4b6a89f001122334455667788",
"sessionId": "e3f1c2d4b6a89f001122334455667788"
}Customer session creation request data
Customer reference identifier
"cus_3c4d5e6f7g8h"
Customer session created successfully