Skip to content

Retrieve User's Current Service Package

Description

Retrieve the user's current service package. If there is no active package (i.e., a free package), the current currentPacket field will be empty.

URL Structure

GET /v2/users/finance/packet/current

Result

Name Description Data Type Required
currentPacket.name Localized name of the service package String +
currentPacket.dateFrom Start date of the package String +
currentPacket.dateTo End date of the package String +

Request Example

curl -X GET -H "Accept: application/json" -H "Authorization: ******" "https://api.lardi-trans.com/v2/users/finance/packet/current"

Response Example

JSON
{
    "currentPacket": {
        "name": "Premium",
        "dateFrom": "04-06-2024",
        "dateTo": "04-07-2024"
    }
}