swag-payments/spec/definitions/InvoicesTopic.yaml

32 lines
952 B
YAML
Raw Normal View History

description: |
Область охвата, включающая события по инвойсам в рамках определённого
магазина
allOf:
- $ref: '#/definitions/WebhookScope'
- type: object
required:
- shopID
- eventTypes
properties:
shopID:
description: Идентификатор магазина
type: string
maxLength: 40
minLength: 1
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
- PaymentFailed