Skip to main content

CreateQP

POST 

/orgs/:org_guid/terminals/quick-payments/:terminal_guid/transactions

CreateQP

Request

Path Parameters

    org_guid uuidrequired
    terminal_guid uuidrequired

Query Parameters

    presentation PresentationModes

    Possible values: [compact, full]

Header Parameters

    X-LP-Client-Identifier stringrequired

    Идентификатор клиента

    Example: 197f3dc6-0e11-40ff-99c3-a6744beb90a9
    X-LP-Client-Type stringrequired

    Possible values: [Unknown, App, WebApp, Service]

    Тип клиента

    Example: App
    X-LP-Client-Name string

    Имя клиента

    Example: Swagger
    X-LP-Client-OS-Name string

    ОС клиента

    Example: SwaggerDoc
    X-LP-Client-OS-Version string

    Версия ОС клиента

    Example: 1.0
    X-LP-Client-Screen-Resolution string

    Разрешение экрана ОС клиента

    Example: 1280x0900
    X-LP-Client-Model string

    Модель оборудования клиента

    Example: Chrome 75
    X-LP-Organization-Alias string

    Организация по умолчанию

    X-LP-Client-Extensions csv

    Поддерживаемые клиентом расширения моделей

    Accept-Language stringrequired

    Язык используемый для ответов

    Example: en-US

Body

    transaction_id stringrequired

    Possible values: non-empty and <= 48 characters

    transaction_id

    requested_at date-timenullable

    requested_at

    sources

    object

    operation QPEOperations (string)required

    Possible values: [Payment, Refund]

    terminal_id stringrequired

    Possible values: non-empty and <= 24 characters

    terminal_id

    merchant_id stringnullable

    Possible values: <= 24 characters

    merchant_id

    transaction_id stringrequired

    Possible values: non-empty and <= 48 characters

    transaction_id

    registered_at date-timerequired

    registered_at

    requested_at date-time

    requested_at

    amount int32required

    amount

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    quick_payments_terminal

    object

    guid uuid

    guid

    type_of string

    type_of

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    registered_at date-timerequired

    registered_at

    operation TransactionOperationTypes (string)required

    Possible values: [Payment, Cancellation, Refund]

    transaction_type PTTransactionType (string)

    Possible values: [Offline, Online]

    status PTTransactionStatus (string)

    Possible values: [Completed, Hold, Rejected]

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

Responses

Created

Schema

    transaction_id stringrequired

    Possible values: non-empty and <= 48 characters

    transaction_id

    requested_at date-timenullable

    requested_at

    sources

    object

    operation QPEOperations (string)required

    Possible values: [Payment, Refund]

    terminal_id stringrequired

    Possible values: non-empty and <= 24 characters

    terminal_id

    merchant_id stringnullable

    Possible values: <= 24 characters

    merchant_id

    transaction_id stringrequired

    Possible values: non-empty and <= 48 characters

    transaction_id

    registered_at date-timerequired

    registered_at

    requested_at date-time

    requested_at

    amount int32required

    amount

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    quick_payments_terminal

    object

    guid uuid

    guid

    type_of string

    type_of

    type_of stringnullable

    type_of

    amount

    object

    required

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    registered_at date-timerequired

    registered_at

    operation TransactionOperationTypes (string)required

    Possible values: [Payment, Cancellation, Refund]

    transaction_type PTTransactionType (string)

    Possible values: [Offline, Online]

    status PTTransactionStatus (string)

    Possible values: [Completed, Hold, Rejected]

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

Loading...