Skip to main content

Добавить новую банковскую транзакцию

POST 

/v5/orgs/:org_guid/terminals/bank/:terminal_guid/transactions

Коды возможных ошибок:

[500]: "InternalServerError" - внутренняя ошибка сервера [429]: "TooManyRequests" - превышено ограничение на количество запросов в секунду [401]: "Unauthorized" - для выполнения операции требуется авторизация [403]: "NoPermissions" - нет прав на выполнение этой операции [422]: "RequestIsNotValid" - параметры запроса не прошли валидацию [404]: "NotFound" - запрашиваемый объект или его родительский объект не найдены [422]: "Duplicate" - дубликат (объект с таким уникальным идентификатором уже существует) [422]: "NotNullOrUnique" - одно или несколько полей не соответствуют требованию отсутствя или уникальности [422]: "NotAllowedForArchived" - операция не разрешена для объектов находящихся в архиве

Request

Path Parameters

    org_guid uuidrequired

    Уникальный идентификатор организации

    terminal_guid uuidrequired

    Уникальный идентификатор банковского терминала

Query Parameters

    presentation PresentationModes

    Possible values: [compact, full]

Header Parameters

    Accept-Language stringrequired

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

    Example: ru-RU
    X-LP-Client-Identifier stringrequired

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

    Example: 8fabd934-9531-491b-bab4-f5d3d44d26bc
    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

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

Body

Данные новой банковской транзакции

    authorization_code stringnullable

    Possible values: <= 16 characters

    reference_retrieval_number stringnullable

    Possible values: <= 24 characters

    emv_application_label stringnullable

    Possible values: <= 48 characters

    card_number stringnullable

    Possible values: <= 19 characters

    cardholder_name stringnullable

    Possible values: <= 32 characters

    sources

    object

    operation PTEOperations (string)

    Possible values: [Payment, Cancellation, Refund, Rollback]

    merchant_id stringnullable

    Possible values: <= 24 characters

    terminal_id stringnullable

    Possible values: <= 24 characters

    number int32
    amount int32
    currency_code CurrencyCodes (string)

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

    registered_at date-time
    authorization_code stringnullable

    Possible values: <= 16 characters

    reference_retrieval_number stringnullable

    Possible values: <= 24 characters

    emv_application_identifier stringnullable

    Possible values: <= 24 characters

    emv_application_label stringnullable

    Possible values: <= 48 characters

    card_number stringnullable

    Possible values: <= 19 characters

    cardholder_name stringnullable

    Possible values: <= 32 characters

    card_expires_at date-timenullable
    card_hash stringnullable

    Possible values: <= 256 characters

    host_response_code stringnullable

    Possible values: <= 8 characters

    host_response_message stringnullable

    Possible values: <= 128 characters

    print_view stringnullable

    additional_attributes

    object[]

    nullable

  • Array [

  • name stringnullable

    Possible values: <= 128 characters

    value stringnullable

    Possible values: <= 1024 characters

    type_of stringnullable
  • ]

  • type_of stringnullable

    bank_terminal

    object

    required

    guid uuid
    type_of stringnullable

    amount

    object

    required

    value int64
    currency CurrencyCodes (string)required

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

    type_of stringnullable
    registered_at date-timerequired
    operation TransactionOperationTypes (string)required

    Possible values: [Payment, Cancellation, Refund]

    meta stringnullable

    Possible values: <= 128 characters

    meta_data

    object

    nullable

    property name* string
    guid uuid

Responses

Created

Schema

    authorization_code stringnullable

    Possible values: <= 16 characters

    reference_retrieval_number stringnullable

    Possible values: <= 24 characters

    emv_application_label stringnullable

    Possible values: <= 48 characters

    card_number stringnullable

    Possible values: <= 19 characters

    cardholder_name stringnullable

    Possible values: <= 32 characters

    sources

    object

    operation PTEOperations (string)

    Possible values: [Payment, Cancellation, Refund, Rollback]

    merchant_id stringnullable

    Possible values: <= 24 characters

    terminal_id stringnullable

    Possible values: <= 24 characters

    number int32
    amount int32
    currency_code CurrencyCodes (string)

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

    registered_at date-time
    authorization_code stringnullable

    Possible values: <= 16 characters

    reference_retrieval_number stringnullable

    Possible values: <= 24 characters

    emv_application_identifier stringnullable

    Possible values: <= 24 characters

    emv_application_label stringnullable

    Possible values: <= 48 characters

    card_number stringnullable

    Possible values: <= 19 characters

    cardholder_name stringnullable

    Possible values: <= 32 characters

    card_expires_at date-timenullable
    card_hash stringnullable

    Possible values: <= 256 characters

    host_response_code stringnullable

    Possible values: <= 8 characters

    host_response_message stringnullable

    Possible values: <= 128 characters

    print_view stringnullable

    additional_attributes

    object[]

    nullable

  • Array [

  • name stringnullable

    Possible values: <= 128 characters

    value stringnullable

    Possible values: <= 1024 characters

    type_of stringnullable
  • ]

  • type_of stringnullable

    bank_terminal

    object

    required

    guid uuid
    type_of stringnullable
    type_of stringnullable

    amount

    object

    required

    value int64
    currency CurrencyCodes (string)required

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

    type_of stringnullable
    registered_at date-timerequired
    operation TransactionOperationTypes (string)required

    Possible values: [Payment, Cancellation, Refund]

    created_at date-time
    updated_at date-time
    deleted_at date-timenullable
    meta stringnullable

    Possible values: <= 128 characters

    meta_data

    object

    nullable

    property name* string
    guid uuid
Loading...