@@ -11,22 +11,22 @@ info:
1111 version : 1.0.1
1212
1313servers :
14- - url : https://staging.payment.simard.io/api/v1
15- description : The Simard Pay Staging server
14+ - url : https://staging.payment.simard.io/api/v1
15+ description : The Simard Pay Staging server
1616
1717tags :
18- - name : balances
19- description : Operations with Balances
20- - name : quotes
21- description : Operations with currency conversions
22- - name : accounts
23- description : Operation with recipient accounts
24- - name : cards
25- description : Operation with virtual cards
26- - name : tokens
27- description : Operations with card tokens
28- - name : test
29- description : Operations available only in test environments
18+ - name : balances
19+ description : Operations with Balances
20+ - name : quotes
21+ description : Operations with currency conversions
22+ - name : accounts
23+ description : Operation with recipient accounts
24+ - name : cards
25+ description : Operation with virtual cards
26+ - name : tokens
27+ description : Operations with card tokens
28+ - name : test
29+ description : Operations available only in test environments
3030
3131paths :
3232 /balances :
@@ -193,10 +193,10 @@ paths:
193193 $ref : ' #/components/schemas/Guarantee'
194194 example :
195195 {
196- " currency " : " USD" ,
197- " amount " : " 300.00" ,
198- " creditorOrgId " : " 0x71cd1781a3082f33d2521ac8290c9d4b3b3b116e4e8548a4914b71a1f7201da0" ,
199- " expiration " : " 2020-03-30T13:37:38.835Z" ,
196+ ' currency ' : ' USD' ,
197+ ' amount ' : ' 300.00' ,
198+ ' creditorOrgId ' : ' 0x71cd1781a3082f33d2521ac8290c9d4b3b3b116e4e8548a4914b71a1f7201da0' ,
199+ ' expiration ' : ' 2020-03-30T13:37:38.835Z' ,
200200 }
201201 responses :
202202 200 :
@@ -444,7 +444,7 @@ paths:
444444 /accounts :
445445 post :
446446 tags :
447- - accounts
447+ - accounts
448448 summary : Provides a recipient account
449449 operationId : registerAccount
450450 requestBody :
@@ -714,7 +714,7 @@ paths:
714714 content :
715715 application/json :
716716 schema :
717- $ref : ' #/components/schemas/Quote '
717+ $ref : ' #/components/schemas/QuoteRequest '
718718 responses :
719719 200 :
720720 description : Quote has been created
@@ -753,7 +753,7 @@ paths:
753753 $ref : ' #/components/schemas/UUID'
754754 get :
755755 tags :
756- - quotes
756+ - quotes
757757 summary : Retrieve a quote
758758 operationId : retrieveQuote
759759 responses :
@@ -816,6 +816,7 @@ paths:
816816 application/json :
817817 schema :
818818 type : object
819+ required : ['rate']
819820 properties :
820821 rate :
821822 $ref : ' #/components/schemas/Rate'
@@ -975,7 +976,7 @@ paths:
975976 schema :
976977 $ref : ' #/components/schemas/Error'
977978 security :
978- - bearerAuth : []
979+ - bearerAuth : []
979980
980981 /tokens/travel-account :
981982 post :
@@ -1072,7 +1073,7 @@ paths:
10721073 schema :
10731074 $ref : ' #/components/schemas/Error'
10741075 security :
1075- - bearerAuth : []
1076+ - bearerAuth : []
10761077
10771078 /intents :
10781079 post :
@@ -1114,4 +1115,4 @@ paths:
11141115 schema :
11151116 $ref : ' #/components/schemas/Error'
11161117 security :
1117- - bearerAuth : []
1118+ - bearerAuth : []
0 commit comments