@eventcatalog/create-eventcatalog 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
openapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
description: A Payment Service API
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
title: Payment service API
|
|
6
|
+
servers:
|
|
7
|
+
- url: http://payment.example.com/v1
|
|
8
|
+
description: Optional server description, e.g. Main (production) server
|
|
9
|
+
- url: http://payment.example.com
|
|
10
|
+
description: Optional server description, e.g. Internal staging server for testing
|
|
11
|
+
paths:
|
|
12
|
+
/getSinglePaymentURL:
|
|
13
|
+
get:
|
|
14
|
+
tags:
|
|
15
|
+
- PaymentServices
|
|
16
|
+
summary: Generate a Payment endpoint URL
|
|
17
|
+
operationId: singlepaymenturlUsingGET
|
|
18
|
+
consumes:
|
|
19
|
+
- application/json
|
|
20
|
+
produces:
|
|
21
|
+
- application/xml
|
|
22
|
+
parameters:
|
|
23
|
+
- name: transType
|
|
24
|
+
in: query
|
|
25
|
+
description: transType
|
|
26
|
+
required: true
|
|
27
|
+
type: string
|
|
28
|
+
- name: invoiceNumber
|
|
29
|
+
in: query
|
|
30
|
+
description: invoiceNumber
|
|
31
|
+
required: true
|
|
32
|
+
type: string
|
|
33
|
+
- name: approvedPage
|
|
34
|
+
in: query
|
|
35
|
+
description: approvedPage
|
|
36
|
+
required: true
|
|
37
|
+
type: string
|
|
38
|
+
- name: declinedPage
|
|
39
|
+
in: query
|
|
40
|
+
description: declinedPage
|
|
41
|
+
required: true
|
|
42
|
+
type: string
|
|
43
|
+
- in: query
|
|
44
|
+
name: errorPage
|
|
45
|
+
description: errorPage
|
|
46
|
+
required: true
|
|
47
|
+
type: string
|
|
48
|
+
- in: query
|
|
49
|
+
name: totalItemsAmount
|
|
50
|
+
description: totalItemsAmount
|
|
51
|
+
required: true
|
|
52
|
+
type: string
|
|
53
|
+
- name: ref1
|
|
54
|
+
in: query
|
|
55
|
+
description: ref1
|
|
56
|
+
required: false
|
|
57
|
+
type: string
|
|
58
|
+
- name: ref2
|
|
59
|
+
in: query
|
|
60
|
+
description: ref2
|
|
61
|
+
required: false
|
|
62
|
+
type: string
|
|
63
|
+
- name: ref3
|
|
64
|
+
in: query
|
|
65
|
+
description: ref3
|
|
66
|
+
required: false
|
|
67
|
+
type: string
|
|
68
|
+
- name: minutesToExpire
|
|
69
|
+
in: query
|
|
70
|
+
description: minutesToExpire
|
|
71
|
+
required: true
|
|
72
|
+
type: string
|
|
73
|
+
responses:
|
|
74
|
+
'200':
|
|
75
|
+
description: Successful operation
|
|
76
|
+
schema:
|
|
77
|
+
$ref: '#/definitions/SinglePaymentResponse'
|
|
78
|
+
'401':
|
|
79
|
+
description: Unauthorized
|
|
80
|
+
'403':
|
|
81
|
+
description: Forbidden
|
|
82
|
+
'404':
|
|
83
|
+
description: Not Found
|
|
84
|
+
definitions:
|
|
85
|
+
SinglePaymentResponse:
|
|
86
|
+
type: object
|
|
87
|
+
properties:
|
|
88
|
+
respCode:
|
|
89
|
+
type: integer
|
|
90
|
+
format: int32
|
|
91
|
+
respMsg:
|
|
92
|
+
type: string
|
|
93
|
+
respValue:
|
|
94
|
+
type: string
|