2017-04-21 12:59:45 +00:00
|
|
|
|
get:
|
|
|
|
|
description: Поиск платежей
|
|
|
|
|
tags:
|
|
|
|
|
- Search
|
|
|
|
|
operationId: searchPayments
|
|
|
|
|
parameters:
|
|
|
|
|
- $ref: '#/parameters/requestID'
|
2018-09-27 06:44:49 +00:00
|
|
|
|
- $ref: '#/parameters/deadline'
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- $ref: '#/parameters/shopID'
|
|
|
|
|
- $ref: '#/parameters/fromTime'
|
|
|
|
|
- $ref: '#/parameters/toTime'
|
|
|
|
|
- $ref: '#/parameters/limit'
|
|
|
|
|
- name: paymentStatus
|
|
|
|
|
in: query
|
|
|
|
|
description: Статус платежа для поиска
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
enum:
|
|
|
|
|
- pending
|
|
|
|
|
- processed
|
|
|
|
|
- captured
|
|
|
|
|
- cancelled
|
2017-09-18 16:20:46 +00:00
|
|
|
|
- refunded
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- failed
|
2017-08-29 16:15:47 +00:00
|
|
|
|
- name: paymentFlow
|
|
|
|
|
in: query
|
|
|
|
|
description: Flow платежа
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
enum:
|
|
|
|
|
- instant
|
|
|
|
|
- hold
|
2017-09-28 12:54:09 +00:00
|
|
|
|
- name: paymentMethod
|
|
|
|
|
in: query
|
|
|
|
|
description: Метод оплаты
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
enum:
|
|
|
|
|
- bankCard
|
|
|
|
|
- paymentTerminal
|
|
|
|
|
- name: paymentTerminalProvider
|
|
|
|
|
in: query
|
|
|
|
|
description: Провайдер платежного терминала
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
enum:
|
|
|
|
|
- euroset
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- name: invoiceID
|
|
|
|
|
in: query
|
|
|
|
|
description: Идентификатор инвойса
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2017-05-12 14:23:24 +00:00
|
|
|
|
maxLength: 40
|
2017-11-01 13:11:48 +00:00
|
|
|
|
minLength: 1
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- name: paymentID
|
|
|
|
|
in: query
|
|
|
|
|
description: Идентификатор платежа
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2017-05-12 14:23:24 +00:00
|
|
|
|
maxLength: 40
|
2017-11-01 13:11:48 +00:00
|
|
|
|
minLength: 1
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- name: payerEmail
|
|
|
|
|
in: query
|
|
|
|
|
description: 'Email, указанный при оплате'
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2017-05-12 14:23:24 +00:00
|
|
|
|
format: email
|
|
|
|
|
maxLength: 100
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- name: payerIP
|
|
|
|
|
in: query
|
|
|
|
|
description: IP-адрес плательщика
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2017-05-12 14:23:24 +00:00
|
|
|
|
format: ip-address
|
|
|
|
|
maxLength: 45
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- name: payerFingerprint
|
|
|
|
|
in: query
|
|
|
|
|
description: Уникальный отпечаток user agent'а плательщика
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2017-05-12 14:23:24 +00:00
|
|
|
|
maxLength: 1000
|
2017-10-23 13:26:44 +00:00
|
|
|
|
- name: customerID
|
|
|
|
|
in: query
|
|
|
|
|
description: Идентификатор плательщика
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
maxLength: 40
|
2017-11-01 13:11:48 +00:00
|
|
|
|
minLength: 1
|
2019-06-21 10:24:27 +00:00
|
|
|
|
- name: first6
|
2017-04-21 12:59:45 +00:00
|
|
|
|
in: query
|
2019-06-21 10:24:27 +00:00
|
|
|
|
description: Первые 6 цифр номера карты
|
2018-05-22 12:38:59 +00:00
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2019-06-21 10:24:27 +00:00
|
|
|
|
pattern: '^\d{6}$'
|
|
|
|
|
- name: last4
|
2018-05-22 12:38:59 +00:00
|
|
|
|
in: query
|
2019-06-21 10:24:27 +00:00
|
|
|
|
description: Последние 4 цифры номера карты
|
2017-04-21 12:59:45 +00:00
|
|
|
|
required: false
|
|
|
|
|
type: string
|
2019-06-21 10:24:27 +00:00
|
|
|
|
pattern: '^\d{4}$'
|
2019-06-14 09:35:20 +00:00
|
|
|
|
- name: rrn
|
|
|
|
|
in: query
|
|
|
|
|
description: 'Retrieval Reference Number'
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
pattern: '^\d{12}$'
|
|
|
|
|
- name: approval_code
|
|
|
|
|
in: query
|
|
|
|
|
description: 'Authorization Approval Code'
|
|
|
|
|
required: false
|
|
|
|
|
type: string
|
|
|
|
|
maxLength: 40
|
|
|
|
|
minLength: 1
|
2018-05-22 12:38:59 +00:00
|
|
|
|
- x-rebillyMerge:
|
|
|
|
|
- name: bankCardTokenProvider
|
|
|
|
|
in: query
|
|
|
|
|
required: false
|
|
|
|
|
- $ref: '#/definitions/BankCardTokenProvider'
|
|
|
|
|
- x-rebillyMerge:
|
|
|
|
|
- name: bankCardPaymentSystem
|
|
|
|
|
in: query
|
|
|
|
|
required: false
|
|
|
|
|
- $ref: '#/definitions/BankCardPaymentSystem'
|
2017-04-21 12:59:45 +00:00
|
|
|
|
- name: paymentAmount
|
|
|
|
|
in: query
|
|
|
|
|
description: Сумма платежа
|
|
|
|
|
required: false
|
|
|
|
|
type: integer
|
|
|
|
|
format: int64
|
|
|
|
|
minimum: 1
|
2018-07-11 13:07:01 +00:00
|
|
|
|
- x-rebillyMerge:
|
|
|
|
|
- name: continuationToken
|
|
|
|
|
in: query
|
|
|
|
|
required: false
|
|
|
|
|
- $ref: '#/definitions/ContinuationToken'
|
2017-04-21 12:59:45 +00:00
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Найденные платежи
|
|
|
|
|
schema:
|
|
|
|
|
type: object
|
|
|
|
|
properties:
|
2018-07-11 13:07:01 +00:00
|
|
|
|
continuationToken:
|
|
|
|
|
x-rebillyMerge:
|
|
|
|
|
- $ref: '#/definitions/ContinuationToken'
|
2017-04-21 12:59:45 +00:00
|
|
|
|
result:
|
|
|
|
|
type: array
|
|
|
|
|
items:
|
|
|
|
|
$ref: '#/definitions/PaymentSearchResult'
|
|
|
|
|
'404':
|
|
|
|
|
$ref: '#/responses/NotFound'
|
2018-10-22 07:08:37 +00:00
|
|
|
|
'401':
|
|
|
|
|
$ref: '#/responses/Unauthorized'
|
2018-05-07 13:05:18 +00:00
|
|
|
|
'400':
|
2018-10-22 11:43:35 +00:00
|
|
|
|
$ref: '#/responses/DefaultLogicError'
|