Skip to content

Directory "Payment types"

Description

Retrieving payment types.

URL structure

GET /v2/references/payment/types

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/types?language=en"

Sample response

JSON
[
    {
        "id": 2,
        "name": "cash"
    },
    {
        "id": 4,
        "name": "wire"
    },
    {
        "id": 6,
        "name": "comb."
    },
    {
        "id": 11,
        "name": "check"
    },
    {
        "id": 8,
        "name": "e.payment"
    },
    {
        "id": 10,
        "name": "card"
    },
    {
        "id": 12,
        "name": "other"
    }
]