Directory "Payment units"
Description
Retrieving payment units.
URL structure
GET /v2/references/payment/units
List of parameters
Name | Description | Parameter transfer type | Required(+)/Default(value) |
---|---|---|---|
language |
Localization language. Usage details. | Query string parameter | ru |
ids |
Additional filtering options. | Query string parameter |
Result
Array of structures "Basic directory element".
Sample request
curl -X GET -H "Accept: application/json" -H "Authorization: 3WQ1EQ465C4005000130" "https://api.lardi-trans.com/v2/references/payment/units?ids=2,4"
Sample response
JSON
[
{
"id": 2,
"name": "км"
},
{
"id": 4,
"name": "т"
}
]