curl --request POST \
--url https://api.gputrader.io/v1/rentals/checkout \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"returnUrl": "<string>"
}'
{
"id": "<string>",
"client_secret": "<string>"
}
Initialize a new rental checkout session
curl --request POST \
--url https://api.gputrader.io/v1/rentals/checkout \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"returnUrl": "<string>"
}'
{
"id": "<string>",
"client_secret": "<string>"
}
Checkout session successfully created
The response is of type object
.