-
Notifications
You must be signed in to change notification settings - Fork 1
/
getBalance.json
180 lines (179 loc) · 5.16 KB
/
getBalance.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
openapi: 3.0.0
info:
title: fundsTransferByCustomerService2
description: ''
termsOfService: ''
contact:
name: Quantiguous Solutions
url: 'http://apibanking.com'
email: [email protected]
license:
name: Commercial
url: 'http://apibanking.com'
version: '1.0'
x-targetNamespace: 'http://www.quantiguous.com/services'
servers:
- url: 'https://ditto.quantiguous.com/fundsTransferByCustomerService2'
description: fundsTransferByCustomerService2HttpPort
paths:
/:
summary: getBalance
post:
summary: getBalance
operationId: getBalance
parameters:
- in: header
name: SOAPAction
schema:
type: string
enum:
- getBalance
required: true
requestBody:
description: getBalanceRequest
content:
application/json:
schema:
type: object
properties:
getBalance:
$ref: '#/components/schemas/getBalance'
application/soap+xml:
schema:
type: object
properties:
Header:
type: object
xml:
prefix: soap
Body:
type: object
properties:
getBalance:
$ref: '#/components/schemas/getBalance'
xml:
prefix: soap
xml:
namespace: 'http://www.w3.org/2003/05/soap-envelope'
prefix: soap
name: Envelope
required: true
responses:
'200':
description: getBalanceResponse
content:
application/json:
schema:
type: object
properties:
getBalanceResponse:
$ref: '#/components/schemas/getBalanceResponse'
'500':
description: Fault
content:
application/json:
schema:
type: object
properties:
Fault:
$ref: '#/components/schemas/Fault'
components:
schemas:
Fault:
type: object
properties:
Code:
type: object
properties:
Value:
type: string
Subcode:
type: object
properties:
Value:
type: string
Reason:
type: object
properties:
Text:
type: string
getBalance:
type: object
properties:
version:
type: string
maxLength: 5
minLength: 1
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
appID:
type: string
maxLength: 20
minLength: 5
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
customerID:
type: string
description: The maximum length is 10 as per backend systems.
maxLength: 10
minLength: 1
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
AccountNumber:
type: string
description: ' The account to be debited for the funds transfer. The customer should have appropriate access (or ownership) to this account. '
maxLength: 20
minLength: 10
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
required:
- version
- appID
- customerID
- AccountNumber
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
getBalanceResponse:
type: object
properties:
Version:
type: string
maxLength: 5
minLength: 1
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
accountCurrencyCode:
type: string
description: ' The currency of the funding account. '
enum:
- INR
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
accountBalanceAmount:
type: number
description: ' The balance in the funding account. This is represented in the account currency. '
format: float
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
lowBalanceAlert:
type: boolean
description: ' A low balance threshold can be configured for the partners, If the balance in the drawing account drops below this threshold, alerts are sent, to give advance notice to the partner. This is important transactions are rejected the drawing account is not sufficiently funded. '
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns
required:
- Version
- accountCurrencyCode
- accountBalanceAmount
- lowBalanceAlert
xml:
namespace: 'http://www.quantiguous.com/services'
prefix: tns