swag-analytics/spec/definitions/Chargeback.yaml

73 lines
1.9 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

type: object
required:
- invoiceId
- paymentId
- chargebackId
- shopID
- createdAt
- bodyAmount
- bodyCurrency
- levyAmount
- levyCurrency
properties:
invoiceId:
description: Идентификатор инвойса
type: string
paymentId:
description: Идентификатор платежа
type: string
chargebackId:
description: Идентификатор чарджбэка
type: string
externalId:
description: Внешний идентификатор
type: string
shopID:
description: Идентификатор магазина
type: string
createdAt:
description: Дата и время создания
type: string
format: date-time
levyAmount:
description: Сумма списываемых средств у чарджбека
type: integer
format: int64
minimum: 1
levyCurrency:
x-merge-obj:
- $ref: '#/definitions/Currency'
bodyAmount:
description: Сумма чарджбэка
type: integer
format: int64
minimum: 1
bodyCurrency:
x-merge-obj:
- $ref: '#/definitions/Currency'
fee:
description: 'Комиссия системы, в минорных денежных единицах'
type: integer
format: int64
minimum: 0
providerFee:
description: 'Комиссия провайдера, в минорных денежных единицах'
type: integer
format: int64
minimum: 0
externalFee:
description: 'Комиссия внешней системы системы, в минорных денежных единицах'
type: integer
format: int64
minimum: 0
status:
x-merge-obj:
- $ref: '#/definitions/ChargebackStatus'
stage:
x-merge-obj:
- $ref: '#/definitions/ChargebackStage'
chargebackReason:
$ref: '#/definitions/ChargebackReason'
content:
$ref: '#/definitions/Content'