2017-04-24 13:30:38 +00:00
|
|
|
|
description: |
|
|
|
|
|
Область охвата, включающая события по инвойсам в рамках определённого
|
|
|
|
|
магазина
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: '#/definitions/WebhookScope'
|
|
|
|
|
- type: object
|
|
|
|
|
required:
|
|
|
|
|
- shopID
|
|
|
|
|
- eventTypes
|
|
|
|
|
properties:
|
|
|
|
|
shopID:
|
|
|
|
|
description: Идентификатор магазина
|
2017-07-17 11:46:51 +00:00
|
|
|
|
type: string
|
|
|
|
|
maxLength: 40
|
2017-11-01 13:11:48 +00:00
|
|
|
|
minLength: 1
|
2017-04-24 13:30:38 +00:00
|
|
|
|
eventTypes:
|
|
|
|
|
description: Набор типов событий инвойсов, о которых следует оповещать
|
|
|
|
|
type: array
|
|
|
|
|
items:
|
|
|
|
|
type: string
|
|
|
|
|
enum:
|
|
|
|
|
- InvoiceCreated
|
|
|
|
|
- InvoicePaid
|
|
|
|
|
- InvoiceCancelled
|
|
|
|
|
- InvoiceFulfilled
|
|
|
|
|
- PaymentStarted
|
|
|
|
|
- PaymentProcessed
|
|
|
|
|
- PaymentCaptured
|
|
|
|
|
- PaymentCancelled
|
2017-09-18 16:20:46 +00:00
|
|
|
|
- PaymentRefunded
|
2017-04-24 13:30:38 +00:00
|
|
|
|
- PaymentFailed
|