@@ -35,7 +35,18 @@ Base URLs:
3535> Code samples
3636
3737``` javascript
38- const inputBody = ' {}' ;
38+ const inputBody = ' {
39+ "totalAmount": 0,
40+ "currency": "string",
41+ "status": "string",
42+ "paymentGatewayId": "string",
43+ "paymentMethod": "string",
44+ "metaData": {},
45+ "startDate": "2019-08-24T14:15:22Z",
46+ "endDate": "2019-08-24T14:15:22Z",
47+ "gatewaySubscriptionId": "string",
48+ "planId": "string"
49+ }' ;
3950const headers = {
4051 ' Content-Type' : ' application/json' ,
4152 ' Accept' : ' text/html'
@@ -57,7 +68,18 @@ fetch('/create-subscription-and-pay',
5768
5869``` javascript--nodejs
5970const fetch = require('node-fetch');
60- const inputBody = {};
71+ const inputBody = {
72+ "totalAmount": 0,
73+ "currency": "string",
74+ "status": "string",
75+ "paymentGatewayId": "string",
76+ "paymentMethod": "string",
77+ "metaData": {},
78+ "startDate": "2019-08-24T14:15:22Z",
79+ "endDate": "2019-08-24T14:15:22Z",
80+ "gatewaySubscriptionId": "string",
81+ "planId": "string"
82+ };
6183const headers = {
6284 'Content-Type':'application/json',
6385 'Accept':'text/html'
@@ -87,14 +109,25 @@ fetch('/create-subscription-and-pay',
87109> Body parameter
88110
89111``` json
90- {}
112+ {
113+ "totalAmount" : 0 ,
114+ "currency" : " string" ,
115+ "status" : " string" ,
116+ "paymentGatewayId" : " string" ,
117+ "paymentMethod" : " string" ,
118+ "metaData" : {},
119+ "startDate" : " 2019-08-24T14:15:22Z" ,
120+ "endDate" : " 2019-08-24T14:15:22Z" ,
121+ "gatewaySubscriptionId" : " string" ,
122+ "planId" : " string"
123+ }
91124```
92125
93126<h3 id =" subscriptiontransactionscontroller.subscriptionandtransactionscreate-parameters " >Parameters</h3 >
94127
95128| Name| In| Type| Required| Description|
96129| ---| ---| ---| ---| ---|
97- | body| body| object | false| none|
130+ | body| body| [ NewSubscriptions ] ( #schemanewsubscriptions ) | false| none|
98131
99132> Example responses
100133
@@ -1860,7 +1893,7 @@ fetch('/place-order-and-pay',
18601893
18611894| Name| In| Type| Required| Description|
18621895| ---| ---| ---| ---| ---|
1863- | body| body| [ NewMessage ] ( #schemanewmessage ) | false| none|
1896+ | body| body| [ NewOrder ] ( #schemaneworder ) | false| none|
18641897
18651898> Example responses
18661899
@@ -2172,6 +2205,11 @@ fetch('/transactions/refund/parse/{id}',
21722205
21732206` GET /transactions/refund/parse/{id} `
21742207
2208+ | Permissions |
2209+ | ------- |
2210+ | CreateRefund |
2211+ | CreateRefundNum |
2212+
21752213<h3 id =" transactionscontroller.transactionsrefundparse-parameters " >Parameters</h3 >
21762214
21772215| Name| In| Type| Required| Description|
@@ -2242,6 +2280,11 @@ fetch('/transactions/refund/{id}',
22422280
22432281` POST /transactions/refund/{id} `
22442282
2283+ | Permissions |
2284+ | ------- |
2285+ | CreateRefund |
2286+ | CreateRefundNum |
2287+
22452288<h3 id =" transactionscontroller.transactionsrefund-parameters " >Parameters</h3 >
22462289
22472290| Name| In| Type| Required| Description|
@@ -3519,7 +3562,6 @@ None
35193562
35203563``` javascript
35213564const inputBody = ' {
3522- "id": "string",
35233565 "totalAmount": 0,
35243566 "currency": "string",
35253567 "status": "string",
@@ -3553,7 +3595,6 @@ fetch('/subscriptions',
35533595``` javascript--nodejs
35543596const fetch = require('node-fetch');
35553597const inputBody = {
3556- "id": "string",
35573598 "totalAmount": 0,
35583599 "currency": "string",
35593600 "status": "string",
@@ -3595,7 +3636,6 @@ fetch('/subscriptions',
35953636
35963637``` json
35973638{
3598- "id" : " string" ,
35993639 "totalAmount" : 0 ,
36003640 "currency" : " string" ,
36013641 "status" : " string" ,
@@ -4992,12 +5032,12 @@ TransactionsPartial
49925032| orderId| string| false| none| none|
49935033| res| object| false| none| none|
49945034
4995- <h2 id =" tocS_NewMessage " >NewMessage </h2 >
5035+ <h2 id =" tocS_NewOrder " >NewOrder </h2 >
49965036<!-- backwards compatibility -->
4997- <a id =" schemanewmessage " ></a >
4998- <a id =" schema_NewMessage " ></a >
4999- <a id =" tocSnewmessage " ></a >
5000- <a id =" tocsnewmessage " ></a >
5037+ <a id =" schemaneworder " ></a >
5038+ <a id =" schema_NewOrder " ></a >
5039+ <a id =" tocSneworder " ></a >
5040+ <a id =" tocsneworder " ></a >
50015041
50025042``` json
50035043{
@@ -5011,7 +5051,7 @@ TransactionsPartial
50115051
50125052```
50135053
5014- NewMessage
5054+ NewOrder
50155055
50165056### Properties
50175057
@@ -5307,7 +5347,6 @@ Subscriptions
53075347
53085348``` json
53095349{
5310- "id" : " string" ,
53115350 "totalAmount" : 0 ,
53125351 "currency" : " string" ,
53135352 "status" : " string" ,
@@ -5328,7 +5367,6 @@ NewSubscriptions
53285367
53295368| Name| Type| Required| Restrictions| Description|
53305369| ---| ---| ---| ---| ---|
5331- | id| string| true| none| none|
53325370| totalAmount| number| true| none| none|
53335371| currency| string| false| none| none|
53345372| status| string| true| none| none|
0 commit comments