curl --request POST \
--url https://api.leanpay.fr/v1/public/clients/portal-session \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"client": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"expiresInSeconds": 2
}
'{
"url": "<string>"
}curl --request POST \
--url https://api.leanpay.fr/v1/public/clients/portal-session \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"client": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"expiresInSeconds": 2
}
'{
"url": "<string>"
}