profee-waas-pf-waas-api/async-api/waas-async-api.yaml

78 lines
2.1 KiB
YAML
Raw Normal View History

2022-04-08 10:48:07 +03:00
asyncapi: 2.3.0
info:
2022-04-08 11:52:16 +03:00
title: Profee WAAS Notificatioins API
2022-04-08 11:52:49 +03:00
version: '1.0'
2022-04-08 11:52:16 +03:00
description: The following notifications will be sent to partner system. Please provide us with URLs which will be responsible in every notification.
2022-04-08 10:48:07 +03:00
channels:
2022-04-08 11:50:34 +03:00
card/authorization:
2022-04-08 11:49:26 +03:00
publish:
2022-04-08 10:48:07 +03:00
message:
2022-04-08 11:49:26 +03:00
$ref: '#/components/messages/CardOperationNotificationDto'
2022-04-08 10:48:07 +03:00
components:
messages:
2022-04-08 11:49:26 +03:00
CardOperationNotificationDto:
2022-04-08 10:48:07 +03:00
payload:
type: object
properties:
2022-04-08 11:49:26 +03:00
cardId:
2022-04-08 10:48:07 +03:00
type: string
2022-04-08 11:49:26 +03:00
description: Card ID
walletId:
2022-04-08 10:48:07 +03:00
type: string
2022-04-08 11:49:26 +03:00
description: Wallet ID
notification:
type: object
description: Notification about card operation authorization
properties:
uuid:
type: string
status:
type: string
type:
type: object
properties:
code:
type: string
direction:
type: string
description:
type: string
mcc:
type: number
authDate:
type: string
format: date
authTyme:
type: string
firmat: time
postingDate:
type: string
authCode:
type: string
rrn:
type: number
merchantId:
type: number
terminalId:
type: number
merchantName:
type: string
merchantCity:
type: string
merchantSum:
type: object
properties:
amount:
type: number
currency:
type: string
cardSum:
type: object
properties:
amount:
type: number
currency:
type: string
authDescription:
type: string