Skip to main content
GET
/
payment
/
usage
/
rent
Usage Rent
curl --request GET \
  --url https://api.example.com/payment/usage/rent \
  --header 'Authorization: Bearer <token>'
{
  "id_to_duration": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from
integer
required

start of period, in seconds since unix epoch

to
integer | null

end of period, in seconds since unix epoch

Cookies

session
String

Response

Successful Response

id_to_duration
Id To Duration · object
required

container id to duration in seconds