@gofynd/fdk-client-javascript 0.1.35

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.
Files changed (277) hide show
  1. package/.github/workflows/on_create_release.yml +23 -0
  2. package/.github/workflows/on_merge_main.yml +38 -0
  3. package/.github/workflows/on_pull_request.yml +35 -0
  4. package/.prettierrc +5 -0
  5. package/LICENSE +21 -0
  6. package/README.md +118 -0
  7. package/application.d.ts +3 -0
  8. package/application.js +6 -0
  9. package/common.d.ts +4 -0
  10. package/common.js +9 -0
  11. package/documentation/application/CART.md +7290 -0
  12. package/documentation/application/CATALOG.md +9570 -0
  13. package/documentation/application/COMMON.md +448 -0
  14. package/documentation/application/COMMUNICATION.md +463 -0
  15. package/documentation/application/CONFIGURATION.md +2902 -0
  16. package/documentation/application/CONTENT.md +3350 -0
  17. package/documentation/application/FILESTORAGE.md +491 -0
  18. package/documentation/application/LEAD.md +1891 -0
  19. package/documentation/application/LOGISTIC.md +439 -0
  20. package/documentation/application/ORDER.md +3428 -0
  21. package/documentation/application/PAYMENT.md +5035 -0
  22. package/documentation/application/POSCART.md +7889 -0
  23. package/documentation/application/README.md +21 -0
  24. package/documentation/application/REWARDS.md +714 -0
  25. package/documentation/application/SHARE.md +729 -0
  26. package/documentation/application/THEME.md +5796 -0
  27. package/documentation/application/USER.md +4326 -0
  28. package/documentation/platform/ANALYTICS.md +1150 -0
  29. package/documentation/platform/AUDITTRAIL.md +572 -0
  30. package/documentation/platform/BILLING.md +2396 -0
  31. package/documentation/platform/CART.md +5539 -0
  32. package/documentation/platform/CATALOG.md +21624 -0
  33. package/documentation/platform/COMMON.md +448 -0
  34. package/documentation/platform/COMMUNICATION.md +5714 -0
  35. package/documentation/platform/COMPANYPROFILE.md +2141 -0
  36. package/documentation/platform/CONFIGURATION.md +7335 -0
  37. package/documentation/platform/CONTENT.md +8989 -0
  38. package/documentation/platform/DISCOUNT.md +773 -0
  39. package/documentation/platform/FILESTORAGE.md +994 -0
  40. package/documentation/platform/INVENTORY.md +1775 -0
  41. package/documentation/platform/LEAD.md +4736 -0
  42. package/documentation/platform/ORDER.md +3764 -0
  43. package/documentation/platform/PARTNER.md +216 -0
  44. package/documentation/platform/PAYMENT.md +3444 -0
  45. package/documentation/platform/README.md +27 -0
  46. package/documentation/platform/REWARDS.md +871 -0
  47. package/documentation/platform/SHARE.md +602 -0
  48. package/documentation/platform/THEME.md +35725 -0
  49. package/documentation/platform/USER.md +2305 -0
  50. package/documentation/platform/WEBHOOK.md +587 -0
  51. package/documentation/public/CONFIGURATION.md +448 -0
  52. package/documentation/public/INVENTORY.md +686 -0
  53. package/documentation/public/WEBHOOK.md +348 -0
  54. package/index.d.ts +10 -0
  55. package/index.js +18 -0
  56. package/jest.config.d.ts +4 -0
  57. package/jest.config.js +6 -0
  58. package/package.json +35 -0
  59. package/platform.d.ts +3 -0
  60. package/platform.js +6 -0
  61. package/public.d.ts +3 -0
  62. package/public.js +6 -0
  63. package/sdk/application/ApplicationAPIClient.d.ts +11 -0
  64. package/sdk/application/ApplicationAPIClient.js +44 -0
  65. package/sdk/application/ApplicationClient.d.ts +40 -0
  66. package/sdk/application/ApplicationClient.js +84 -0
  67. package/sdk/application/ApplicationConfig.d.ts +19 -0
  68. package/sdk/application/ApplicationConfig.js +55 -0
  69. package/sdk/application/ApplicationModels.d.ts +826 -0
  70. package/sdk/application/ApplicationModels.js +10474 -0
  71. package/sdk/application/client/CartApplicationClient.d.ts +432 -0
  72. package/sdk/application/client/CartApplicationClient.js +1066 -0
  73. package/sdk/application/client/CatalogApplicationClient.d.ts +694 -0
  74. package/sdk/application/client/CatalogApplicationClient.js +1629 -0
  75. package/sdk/application/client/CommonApplicationClient.d.ts +38 -0
  76. package/sdk/application/client/CommonApplicationClient.js +105 -0
  77. package/sdk/application/client/CommunicationApplicationClient.d.ts +39 -0
  78. package/sdk/application/client/CommunicationApplicationClient.js +131 -0
  79. package/sdk/application/client/ConfigurationApplicationClient.d.ts +210 -0
  80. package/sdk/application/client/ConfigurationApplicationClient.js +649 -0
  81. package/sdk/application/client/ContentApplicationClient.d.ts +256 -0
  82. package/sdk/application/client/ContentApplicationClient.js +785 -0
  83. package/sdk/application/client/FileStorageApplicationClient.d.ts +88 -0
  84. package/sdk/application/client/FileStorageApplicationClient.js +214 -0
  85. package/sdk/application/client/LeadApplicationClient.d.ts +90 -0
  86. package/sdk/application/client/LeadApplicationClient.js +264 -0
  87. package/sdk/application/client/LogisticApplicationClient.d.ts +42 -0
  88. package/sdk/application/client/LogisticApplicationClient.js +128 -0
  89. package/sdk/application/client/OrderApplicationClient.d.ts +190 -0
  90. package/sdk/application/client/OrderApplicationClient.js +479 -0
  91. package/sdk/application/client/PaymentApplicationClient.d.ts +454 -0
  92. package/sdk/application/client/PaymentApplicationClient.js +1378 -0
  93. package/sdk/application/client/PosCartApplicationClient.d.ts +449 -0
  94. package/sdk/application/client/PosCartApplicationClient.js +1123 -0
  95. package/sdk/application/client/RewardsApplicationClient.d.ts +93 -0
  96. package/sdk/application/client/RewardsApplicationClient.js +293 -0
  97. package/sdk/application/client/ShareApplicationClient.d.ts +87 -0
  98. package/sdk/application/client/ShareApplicationClient.js +268 -0
  99. package/sdk/application/client/ThemeApplicationClient.d.ts +52 -0
  100. package/sdk/application/client/ThemeApplicationClient.js +161 -0
  101. package/sdk/application/client/UserApplicationClient.d.ts +446 -0
  102. package/sdk/application/client/UserApplicationClient.js +1275 -0
  103. package/sdk/application/constructUrl.d.ts +5 -0
  104. package/sdk/application/constructUrl.js +13 -0
  105. package/sdk/application/index.d.ts +2 -0
  106. package/sdk/application/index.js +4 -0
  107. package/sdk/application/models/CartValidator.d.ts +29 -0
  108. package/sdk/application/models/CartValidator.js +223 -0
  109. package/sdk/application/models/CatalogValidator.d.ts +33 -0
  110. package/sdk/application/models/CatalogValidator.js +233 -0
  111. package/sdk/application/models/CommonValidator.d.ts +5 -0
  112. package/sdk/application/models/CommonValidator.js +18 -0
  113. package/sdk/application/models/CommunicationValidator.d.ts +6 -0
  114. package/sdk/application/models/CommunicationValidator.js +20 -0
  115. package/sdk/application/models/ConfigurationValidator.d.ts +19 -0
  116. package/sdk/application/models/ConfigurationValidator.js +88 -0
  117. package/sdk/application/models/ContentValidator.d.ts +22 -0
  118. package/sdk/application/models/ContentValidator.js +106 -0
  119. package/sdk/application/models/FileStorageValidator.d.ts +6 -0
  120. package/sdk/application/models/FileStorageValidator.js +24 -0
  121. package/sdk/application/models/LeadValidator.d.ts +10 -0
  122. package/sdk/application/models/LeadValidator.js +48 -0
  123. package/sdk/application/models/LogisticValidator.d.ts +6 -0
  124. package/sdk/application/models/LogisticValidator.js +22 -0
  125. package/sdk/application/models/OrderValidator.d.ts +15 -0
  126. package/sdk/application/models/OrderValidator.js +87 -0
  127. package/sdk/application/models/PaymentValidator.d.ts +40 -0
  128. package/sdk/application/models/PaymentValidator.js +235 -0
  129. package/sdk/application/models/PosCartValidator.d.ts +30 -0
  130. package/sdk/application/models/PosCartValidator.js +232 -0
  131. package/sdk/application/models/RewardsValidator.d.ts +10 -0
  132. package/sdk/application/models/RewardsValidator.js +43 -0
  133. package/sdk/application/models/ShareValidator.d.ts +10 -0
  134. package/sdk/application/models/ShareValidator.js +44 -0
  135. package/sdk/application/models/ThemeValidator.d.ts +7 -0
  136. package/sdk/application/models/ThemeValidator.js +27 -0
  137. package/sdk/application/models/UserValidator.d.ts +38 -0
  138. package/sdk/application/models/UserValidator.js +233 -0
  139. package/sdk/common/AxiosHelper.d.ts +1 -0
  140. package/sdk/common/AxiosHelper.js +141 -0
  141. package/sdk/common/Constant.d.ts +294 -0
  142. package/sdk/common/Constant.js +332 -0
  143. package/sdk/common/FDKError.d.ts +26 -0
  144. package/sdk/common/FDKError.js +51 -0
  145. package/sdk/common/Logger.d.ts +2 -0
  146. package/sdk/common/Logger.js +85 -0
  147. package/sdk/common/Paginator.d.ts +16 -0
  148. package/sdk/common/Paginator.js +26 -0
  149. package/sdk/common/RequestSigner.d.ts +1 -0
  150. package/sdk/common/RequestSigner.js +306 -0
  151. package/sdk/common/Utility.d.ts +9 -0
  152. package/sdk/common/Utility.js +86 -0
  153. package/sdk/common/utils.d.ts +14 -0
  154. package/sdk/common/utils.js +165 -0
  155. package/sdk/platform/OAuthClient.d.ts +26 -0
  156. package/sdk/platform/OAuthClient.js +221 -0
  157. package/sdk/platform/PlatformAPIClient.d.ts +12 -0
  158. package/sdk/platform/PlatformAPIClient.js +43 -0
  159. package/sdk/platform/PlatformApplicationClient.d.ts +24398 -0
  160. package/sdk/platform/PlatformApplicationClient.js +23185 -0
  161. package/sdk/platform/PlatformApplicationModels.d.ts +333 -0
  162. package/sdk/platform/PlatformApplicationModels.js +21262 -0
  163. package/sdk/platform/PlatformClient.d.ts +9535 -0
  164. package/sdk/platform/PlatformClient.js +12336 -0
  165. package/sdk/platform/PlatformConfig.d.ts +29 -0
  166. package/sdk/platform/PlatformConfig.js +36 -0
  167. package/sdk/platform/PlatformModels.d.ts +1396 -0
  168. package/sdk/platform/PlatformModels.js +19222 -0
  169. package/sdk/platform/client/AnalyticsPlatformClient.d.ts +84 -0
  170. package/sdk/platform/client/AnalyticsPlatformClient.js +215 -0
  171. package/sdk/platform/client/AuditTrailPlatformClient.d.ts +38 -0
  172. package/sdk/platform/client/AuditTrailPlatformClient.js +133 -0
  173. package/sdk/platform/client/BillingPlatformClient.d.ts +109 -0
  174. package/sdk/platform/client/BillingPlatformClient.js +381 -0
  175. package/sdk/platform/client/CatalogPlatformClient.d.ts +806 -0
  176. package/sdk/platform/client/CatalogPlatformClient.js +2462 -0
  177. package/sdk/platform/client/CommonPlatformClient.d.ts +30 -0
  178. package/sdk/platform/client/CommonPlatformClient.js +84 -0
  179. package/sdk/platform/client/CommunicationPlatformClient.d.ts +26 -0
  180. package/sdk/platform/client/CommunicationPlatformClient.js +72 -0
  181. package/sdk/platform/client/CompanyProfilePlatformClient.d.ts +182 -0
  182. package/sdk/platform/client/CompanyProfilePlatformClient.js +540 -0
  183. package/sdk/platform/client/ConfigurationPlatformClient.d.ts +277 -0
  184. package/sdk/platform/client/ConfigurationPlatformClient.js +806 -0
  185. package/sdk/platform/client/DiscountPlatformClient.d.ts +118 -0
  186. package/sdk/platform/client/DiscountPlatformClient.js +364 -0
  187. package/sdk/platform/client/FileStoragePlatformClient.d.ts +111 -0
  188. package/sdk/platform/client/FileStoragePlatformClient.js +268 -0
  189. package/sdk/platform/client/InventoryPlatformClient.d.ts +125 -0
  190. package/sdk/platform/client/InventoryPlatformClient.js +409 -0
  191. package/sdk/platform/client/LeadPlatformClient.d.ts +150 -0
  192. package/sdk/platform/client/LeadPlatformClient.js +439 -0
  193. package/sdk/platform/client/OrderPlatformClient.d.ts +190 -0
  194. package/sdk/platform/client/OrderPlatformClient.js +521 -0
  195. package/sdk/platform/client/PaymentPlatformClient.d.ts +98 -0
  196. package/sdk/platform/client/PaymentPlatformClient.js +331 -0
  197. package/sdk/platform/client/WebhookPlatformClient.d.ts +64 -0
  198. package/sdk/platform/client/WebhookPlatformClient.js +207 -0
  199. package/sdk/platform/index.d.ts +2 -0
  200. package/sdk/platform/index.js +4 -0
  201. package/sdk/platform/models/AnalyticsValidator.d.ts +7 -0
  202. package/sdk/platform/models/AnalyticsValidator.js +36 -0
  203. package/sdk/platform/models/AuditTrailValidator.d.ts +7 -0
  204. package/sdk/platform/models/AuditTrailValidator.js +26 -0
  205. package/sdk/platform/models/BillingValidator.d.ts +15 -0
  206. package/sdk/platform/models/BillingValidator.js +72 -0
  207. package/sdk/platform/models/CartValidator.d.ts +0 -0
  208. package/sdk/platform/models/CartValidator.js +0 -0
  209. package/sdk/platform/models/CatalogValidator.d.ts +74 -0
  210. package/sdk/platform/models/CatalogValidator.js +484 -0
  211. package/sdk/platform/models/CommonValidator.d.ts +5 -0
  212. package/sdk/platform/models/CommonValidator.js +18 -0
  213. package/sdk/platform/models/CommunicationValidator.d.ts +4 -0
  214. package/sdk/platform/models/CommunicationValidator.js +11 -0
  215. package/sdk/platform/models/CompanyProfileValidator.d.ts +17 -0
  216. package/sdk/platform/models/CompanyProfileValidator.js +93 -0
  217. package/sdk/platform/models/ConfigurationValidator.d.ts +21 -0
  218. package/sdk/platform/models/ConfigurationValidator.js +134 -0
  219. package/sdk/platform/models/ContentValidator.d.ts +0 -0
  220. package/sdk/platform/models/ContentValidator.js +0 -0
  221. package/sdk/platform/models/DiscountValidator.d.ts +13 -0
  222. package/sdk/platform/models/DiscountValidator.js +75 -0
  223. package/sdk/platform/models/FileStorageValidator.d.ts +9 -0
  224. package/sdk/platform/models/FileStorageValidator.js +44 -0
  225. package/sdk/platform/models/InventoryValidator.d.ts +15 -0
  226. package/sdk/platform/models/InventoryValidator.js +81 -0
  227. package/sdk/platform/models/LeadValidator.d.ts +14 -0
  228. package/sdk/platform/models/LeadValidator.js +78 -0
  229. package/sdk/platform/models/OrderValidator.d.ts +14 -0
  230. package/sdk/platform/models/OrderValidator.js +110 -0
  231. package/sdk/platform/models/PartnerValidator.d.ts +0 -0
  232. package/sdk/platform/models/PartnerValidator.js +0 -0
  233. package/sdk/platform/models/PaymentValidator.d.ts +13 -0
  234. package/sdk/platform/models/PaymentValidator.js +65 -0
  235. package/sdk/platform/models/RewardsValidator.d.ts +0 -0
  236. package/sdk/platform/models/RewardsValidator.js +0 -0
  237. package/sdk/platform/models/ShareValidator.d.ts +0 -0
  238. package/sdk/platform/models/ShareValidator.js +0 -0
  239. package/sdk/platform/models/ThemeValidator.d.ts +0 -0
  240. package/sdk/platform/models/ThemeValidator.js +0 -0
  241. package/sdk/platform/models/UserValidator.d.ts +0 -0
  242. package/sdk/platform/models/UserValidator.js +0 -0
  243. package/sdk/platform/models/WebhookValidator.d.ts +9 -0
  244. package/sdk/platform/models/WebhookValidator.js +42 -0
  245. package/sdk/public/PublicAPIClient.d.ts +11 -0
  246. package/sdk/public/PublicAPIClient.js +38 -0
  247. package/sdk/public/PublicClient.d.ts +12 -0
  248. package/sdk/public/PublicClient.js +24 -0
  249. package/sdk/public/PublicConfig.d.ts +10 -0
  250. package/sdk/public/PublicConfig.js +12 -0
  251. package/sdk/public/PublicModels.d.ts +50 -0
  252. package/sdk/public/PublicModels.js +712 -0
  253. package/sdk/public/client/ConfigurationPublicClient.d.ts +38 -0
  254. package/sdk/public/client/ConfigurationPublicClient.js +102 -0
  255. package/sdk/public/client/InventoryPublicClient.d.ts +81 -0
  256. package/sdk/public/client/InventoryPublicClient.js +239 -0
  257. package/sdk/public/client/WebhookPublicClient.d.ts +28 -0
  258. package/sdk/public/client/WebhookPublicClient.js +92 -0
  259. package/sdk/public/constructUrl.d.ts +5 -0
  260. package/sdk/public/constructUrl.js +13 -0
  261. package/sdk/public/index.d.ts +2 -0
  262. package/sdk/public/index.js +4 -0
  263. package/sdk/public/models/ConfigurationValidator.d.ts +5 -0
  264. package/sdk/public/models/ConfigurationValidator.js +18 -0
  265. package/sdk/public/models/InventoryValidator.d.ts +9 -0
  266. package/sdk/public/models/InventoryValidator.js +43 -0
  267. package/sdk/public/models/WebhookValidator.d.ts +5 -0
  268. package/sdk/public/models/WebhookValidator.js +14 -0
  269. package/tests/application/catalog.spec.js +47 -0
  270. package/tests/common/action-url.spec.js +35 -0
  271. package/tests/common/schema/action-url.json +163 -0
  272. package/tests/common/schema/url-action.json +667 -0
  273. package/tests/common/url-action.spec.js +48 -0
  274. package/tests/helpers/cookie.helper.js +31 -0
  275. package/tests/helpers/oauth.helper.js +43 -0
  276. package/tests/platform/catalog.spec.js +49 -0
  277. package/tests/public/location.spec.js +39 -0
@@ -0,0 +1,3444 @@
1
+
2
+
3
+
4
+
5
+ ##### [Back to Platform docs](./README.md)
6
+
7
+ ## Payment Methods
8
+ Collect payment through many payment gateway i.e Stripe, Razorpay, Juspay etc.into Fynd or Self account
9
+ * [getBrandPaymentGatewayConfig](#getbrandpaymentgatewayconfig)
10
+ * [saveBrandPaymentGatewayConfig](#savebrandpaymentgatewayconfig)
11
+ * [updateBrandPaymentGatewayConfig](#updatebrandpaymentgatewayconfig)
12
+ * [getPaymentModeRoutes](#getpaymentmoderoutes)
13
+ * [getAllPayouts](#getallpayouts)
14
+ * [savePayout](#savepayout)
15
+ * [updatePayout](#updatepayout)
16
+ * [activateAndDectivatePayout](#activateanddectivatepayout)
17
+ * [deletePayout](#deletepayout)
18
+ * [getSubscriptionPaymentMethod](#getsubscriptionpaymentmethod)
19
+ * [deleteSubscriptionPaymentMethod](#deletesubscriptionpaymentmethod)
20
+ * [getSubscriptionConfig](#getsubscriptionconfig)
21
+ * [saveSubscriptionSetupIntent](#savesubscriptionsetupintent)
22
+ * [getBankAccountDetailsOpenAPI](#getbankaccountdetailsopenapi)
23
+ * [addRefundBankAccountUsingOTP](#addrefundbankaccountusingotp)
24
+ * [verifyIfscCode](#verifyifsccode)
25
+ * [getUserOrderBeneficiaries](#getuserorderbeneficiaries)
26
+ * [getUserBeneficiaries](#getuserbeneficiaries)
27
+ * [confirmPayment](#confirmpayment)
28
+ * [getUserCODlimitRoutes](#getusercodlimitroutes)
29
+ * [setUserCODlimitRoutes](#setusercodlimitroutes)
30
+
31
+
32
+
33
+ ## Methods with example and description
34
+
35
+
36
+ ### getBrandPaymentGatewayConfig
37
+ Get All Brand Payment Gateway Config Secret
38
+
39
+
40
+
41
+ ```javascript
42
+ // Promise
43
+ const promise = client.application("<APPLICATION_ID>").payment.getBrandPaymentGatewayConfig();
44
+
45
+ // Async/Await
46
+ const data = await client.application("<APPLICATION_ID>").payment.getBrandPaymentGatewayConfig();
47
+ ```
48
+
49
+
50
+
51
+
52
+
53
+
54
+ Get All Brand Payment Gateway Config Secret
55
+
56
+ *Returned Response:*
57
+
58
+
59
+
60
+
61
+ [PaymentGatewayConfigResponse](#PaymentGatewayConfigResponse)
62
+
63
+ Refund Transfer Mode
64
+
65
+
66
+
67
+
68
+ <details>
69
+ <summary><i>&nbsp; Example:</i></summary>
70
+
71
+ ```json
72
+ {
73
+ "success": true,
74
+ "created": true,
75
+ "app_id": "000000000000000000000004",
76
+ "excluded_fields": [
77
+ "config_type",
78
+ "aggregator"
79
+ ],
80
+ "display_fields": [
81
+ "logo",
82
+ "display"
83
+ ],
84
+ "aggregators": [
85
+ {
86
+ "key": "rrroooouuurrrrdddd",
87
+ "secret": "yyyyooo",
88
+ "is_active": false,
89
+ "config_type": "",
90
+ "merchant_key": "vvvvvvvvddd",
91
+ "aggregator": "juspay",
92
+ "display": {
93
+ "link": "",
94
+ "text": "Review in under process. Please wait while process completed or contact us for any further query.",
95
+ "description": "Juspay is not a Payment Gateway (like Citrus, CCAvenue, PayU) but it works with any gateway or aggregator with zero interference in the Merchant-PG relations.",
96
+ "reviewed": false
97
+ },
98
+ "logo": "https://hdn-1.fynd.com/payment/juspay-pg-logo.jpg"
99
+ },
100
+ {
101
+ "key": "",
102
+ "pin": "",
103
+ "secret": "",
104
+ "user_id": "",
105
+ "is_active": false,
106
+ "config_type": "",
107
+ "merchant_id": "",
108
+ "aggregator": "mswipe",
109
+ "display": {
110
+ "link": "",
111
+ "text": "Submitted request to be reviewed before going live. Please contact us for any further query.",
112
+ "description": "Mswipe card swipe machines are safe and secure and accepts all debit & credit cards."
113
+ },
114
+ "logo": "https://hdn-1.fynd.com/payment/mswipe-pg-logo.png"
115
+ },
116
+ {
117
+ "key": "tttyyyyyy",
118
+ "secret": "rerrrrrrrr",
119
+ "is_active": false,
120
+ "config_type": "",
121
+ "merchant_salt": "qqqqq",
122
+ "aggregator": "payumoney",
123
+ "display": {
124
+ "link": "",
125
+ "text": "Review in under process. Please wait while process completed or contact us for any further query.",
126
+ "description": "PayUmoney supports wide range of options for making online payments via wallets, UPI, cards, and netbanking.",
127
+ "reviewed": false
128
+ },
129
+ "logo": "https://hdn-1.fynd.com/payment/payu_logo_large.png"
130
+ },
131
+ {
132
+ "key": "test",
133
+ "secret": "test",
134
+ "is_active": true,
135
+ "config_type": "self",
136
+ "webhook_secret": "test",
137
+ "aggregator": "razorpay",
138
+ "display": {
139
+ "link": "",
140
+ "text": "Well done, You payment gateway successfully lived. Collect your payment at your end.",
141
+ "description": "Razorpay is a payments platform which accept online payments via Credit Card, Debit Card, Net banking, UPI, BharatQR and Wallets.",
142
+ "reviewed": true
143
+ },
144
+ "logo": "https://hdn-1.fynd.com/payment/razorpay-pg-logo.jpg"
145
+ },
146
+ {
147
+ "key": "",
148
+ "secret": "",
149
+ "is_active": false,
150
+ "config_type": "",
151
+ "aggregator": "rupifi",
152
+ "display": {
153
+ "link": "",
154
+ "text": "Submitted request to be reviewed before going live. Please contact us for any further query.",
155
+ "description": "Rupifi enables businesses to avail credits and allows a 'Buy now, Pay later' system for making transactions and purchases."
156
+ },
157
+ "logo": "https://hdn-1.fynd.com/payment/Rupifi.png"
158
+ },
159
+ {
160
+ "key": "12345",
161
+ "secret": "12345",
162
+ "is_active": false,
163
+ "config_type": "",
164
+ "aggregator": "simpl",
165
+ "display": {
166
+ "link": "",
167
+ "text": "Review in under process. Please wait while process completed or contact us for any further query.",
168
+ "description": "Simpl is a Pay Later payment method.",
169
+ "reviewed": false
170
+ },
171
+ "logo": "https://hdn-1.fynd.com/payment/simpl-pg-logo.jpg"
172
+ },
173
+ {
174
+ "key": "",
175
+ "secret": "",
176
+ "is_active": false,
177
+ "product_id": "",
178
+ "config_type": "",
179
+ "webhook_secret": "",
180
+ "aggregator": "stripe",
181
+ "display": {
182
+ "link": "",
183
+ "text": "Submitted request to be reviewed before going live. Please contact us for any further query.",
184
+ "description": "Stripe is a payment processor that supports online payments, credit cards, recurring subscriptions and direct payouts to bank accounts."
185
+ },
186
+ "logo": "https://hdn-1.fynd.com/payment/Stripe.png"
187
+ }
188
+ ]
189
+ }
190
+ ```
191
+ </details>
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+ ---
202
+
203
+
204
+ ### saveBrandPaymentGatewayConfig
205
+ Save Config Secret For Brand Payment Gateway
206
+
207
+
208
+
209
+ ```javascript
210
+ // Promise
211
+ const promise = client.application("<APPLICATION_ID>").payment.saveBrandPaymentGatewayConfig({ body : value });
212
+
213
+ // Async/Await
214
+ const data = await client.application("<APPLICATION_ID>").payment.saveBrandPaymentGatewayConfig({ body : value });
215
+ ```
216
+
217
+
218
+
219
+
220
+
221
+ | Argument | Type | Required | Description |
222
+ | --------- | ----- | -------- | ----------- |
223
+ | body | [PaymentGatewayConfigRequest](#PaymentGatewayConfigRequest) | yes | Request body |
224
+
225
+
226
+ Save Config Secret For Brand Payment Gateway
227
+
228
+ *Returned Response:*
229
+
230
+
231
+
232
+
233
+ [PaymentGatewayToBeReviewed](#PaymentGatewayToBeReviewed)
234
+
235
+ Save Config Secret For Brand Payment Gateway Success Response.
236
+
237
+
238
+
239
+
240
+ <details>
241
+ <summary><i>&nbsp; Example:</i></summary>
242
+
243
+ ```json
244
+ {
245
+ "success": true,
246
+ "aggregators": [
247
+ "razorpay"
248
+ ]
249
+ }
250
+ ```
251
+ </details>
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+ ---
262
+
263
+
264
+ ### updateBrandPaymentGatewayConfig
265
+ Save Config Secret For Brand Payment Gateway
266
+
267
+
268
+
269
+ ```javascript
270
+ // Promise
271
+ const promise = client.application("<APPLICATION_ID>").payment.updateBrandPaymentGatewayConfig({ body : value });
272
+
273
+ // Async/Await
274
+ const data = await client.application("<APPLICATION_ID>").payment.updateBrandPaymentGatewayConfig({ body : value });
275
+ ```
276
+
277
+
278
+
279
+
280
+
281
+ | Argument | Type | Required | Description |
282
+ | --------- | ----- | -------- | ----------- |
283
+ | body | [PaymentGatewayConfigRequest](#PaymentGatewayConfigRequest) | yes | Request body |
284
+
285
+
286
+ Save Config Secret For Brand Payment Gateway
287
+
288
+ *Returned Response:*
289
+
290
+
291
+
292
+
293
+ [PaymentGatewayToBeReviewed](#PaymentGatewayToBeReviewed)
294
+
295
+ Save Config Secret For Brand Payment Gateway Success Response.
296
+
297
+
298
+
299
+
300
+ <details>
301
+ <summary><i>&nbsp; Example:</i></summary>
302
+
303
+ ```json
304
+ {
305
+ "success": true,
306
+ "aggregators": [
307
+ "razorpay"
308
+ ]
309
+ }
310
+ ```
311
+ </details>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+ ---
322
+
323
+
324
+ ### getPaymentModeRoutes
325
+ Get All Valid Payment Options
326
+
327
+
328
+
329
+ ```javascript
330
+ // Promise
331
+ const promise = client.application("<APPLICATION_ID>").payment.getPaymentModeRoutes({ refresh : value,
332
+ requestType : value });
333
+
334
+ // Async/Await
335
+ const data = await client.application("<APPLICATION_ID>").payment.getPaymentModeRoutes({ refresh : value,
336
+ requestType : value });
337
+ ```
338
+
339
+
340
+
341
+
342
+
343
+ | Argument | Type | Required | Description |
344
+ | --------- | ----- | -------- | ----------- |
345
+ | refresh | boolean | yes | |
346
+ | requestType | string | yes | |
347
+
348
+
349
+
350
+ Use this API to get Get All Valid Payment Options for making payment
351
+
352
+ *Returned Response:*
353
+
354
+
355
+
356
+
357
+ [PaymentOptionsResponse](#PaymentOptionsResponse)
358
+
359
+ Success
360
+
361
+
362
+
363
+
364
+ <details>
365
+ <summary><i>&nbsp; Example:</i></summary>
366
+
367
+ ```json
368
+ {
369
+ "success": true,
370
+ "payment_options": {
371
+ "payment_option": [
372
+ {
373
+ "name": "CARD",
374
+ "display_priority": 2,
375
+ "payment_mode_id": 2,
376
+ "display_name": "Card",
377
+ "list": [],
378
+ "anonymous_enable": true,
379
+ "aggregator_name": "Razorpay",
380
+ "add_card_enabled": false,
381
+ "save_card": true,
382
+ "types": [],
383
+ "networks": [],
384
+ "banks": []
385
+ },
386
+ {
387
+ "name": "NB",
388
+ "display_priority": 3,
389
+ "payment_mode_id": 3,
390
+ "display_name": "Net Banking",
391
+ "list": [
392
+ {
393
+ "aggregator_name": "Razorpay",
394
+ "name": "ICICI Bank",
395
+ "code": "ICIC",
396
+ "bank_name": "ICICI Bank",
397
+ "bank_code": "ICIC",
398
+ "url": "https://hdn-1.fynd.com/payment/NB_ICICI.png",
399
+ "logo_url": {
400
+ "small": "https://hdn-1.fynd.com/payment/NB_ICICI.png",
401
+ "large": "https://hdn-1.fynd.com/payment/NB_ICICI.png"
402
+ },
403
+ "merchant_code": "NB_ICICI",
404
+ "display_priority": 1,
405
+ "display_name": "ICICI Bank"
406
+ },
407
+ {
408
+ "aggregator_name": "Razorpay",
409
+ "name": "HDFC Bank",
410
+ "code": "HDFC",
411
+ "bank_name": "HDFC Bank",
412
+ "bank_code": "HDFC",
413
+ "url": "https://hdn-1.fynd.com/payment/NB_HDFC.png",
414
+ "logo_url": {
415
+ "small": "https://hdn-1.fynd.com/payment/NB_HDFC.png",
416
+ "large": "https://hdn-1.fynd.com/payment/NB_HDFC.png"
417
+ },
418
+ "merchant_code": "NB_HDFC",
419
+ "display_priority": 2,
420
+ "display_name": "HDFC Bank"
421
+ },
422
+ {
423
+ "aggregator_name": "Razorpay",
424
+ "name": "Axis Bank",
425
+ "code": "UTIB",
426
+ "bank_name": "Axis Bank",
427
+ "bank_code": "UTIB",
428
+ "url": "https://hdn-1.fynd.com/payment/NB_AXIS.png",
429
+ "logo_url": {
430
+ "small": "https://hdn-1.fynd.com/payment/NB_AXIS.png",
431
+ "large": "https://hdn-1.fynd.com/payment/NB_AXIS.png"
432
+ },
433
+ "merchant_code": "NB_AXIS",
434
+ "display_priority": 3,
435
+ "display_name": "Axis Bank"
436
+ },
437
+ {
438
+ "aggregator_name": "Razorpay",
439
+ "name": "State Bank of India",
440
+ "code": "SBIN",
441
+ "bank_name": "State Bank of India",
442
+ "bank_code": "SBIN",
443
+ "url": "https://hdn-1.fynd.com/payment/NB_SBI.png",
444
+ "logo_url": {
445
+ "small": "https://hdn-1.fynd.com/payment/NB_SBI.png",
446
+ "large": "https://hdn-1.fynd.com/payment/NB_SBI.png"
447
+ },
448
+ "merchant_code": "NB_SBI",
449
+ "display_priority": 4,
450
+ "display_name": "State Bank of India"
451
+ },
452
+ {
453
+ "aggregator_name": "Razorpay",
454
+ "name": "Kotak Mahindra Bank",
455
+ "code": "KKBK",
456
+ "bank_name": "Kotak Mahindra Bank",
457
+ "bank_code": "KKBK",
458
+ "url": "https://hdn-1.fynd.com/payment/NB_KOTAK.png",
459
+ "logo_url": {
460
+ "small": "https://hdn-1.fynd.com/payment/NB_KOTAK.png",
461
+ "large": "https://hdn-1.fynd.com/payment/NB_KOTAK.png"
462
+ },
463
+ "merchant_code": "NB_KOTAK",
464
+ "display_priority": 5,
465
+ "display_name": "Kotak Mahindra Bank"
466
+ },
467
+ {
468
+ "aggregator_name": "Razorpay",
469
+ "name": "Indusind Bank",
470
+ "code": "INDB",
471
+ "bank_name": "Indusind Bank",
472
+ "bank_code": "INDB",
473
+ "url": "https://hdn-1.fynd.com/payment/NB_INDUS.png",
474
+ "logo_url": {
475
+ "small": "https://hdn-1.fynd.com/payment/NB_INDUS.png",
476
+ "large": "https://hdn-1.fynd.com/payment/NB_INDUS.png"
477
+ },
478
+ "merchant_code": "INDB",
479
+ "display_priority": 6,
480
+ "display_name": "Indusind Bank"
481
+ },
482
+ {
483
+ "aggregator_name": "Razorpay",
484
+ "name": "City Union Bank",
485
+ "code": "CIUB",
486
+ "bank_name": "City Union Bank",
487
+ "bank_code": "CIUB",
488
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
489
+ "logo_url": {
490
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
491
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
492
+ },
493
+ "merchant_code": "NB_CUB",
494
+ "display_priority": 9,
495
+ "display_name": "City Union Bank"
496
+ },
497
+ {
498
+ "aggregator_name": "Razorpay",
499
+ "name": "Catholic Syrian Bank",
500
+ "code": "CSBK",
501
+ "bank_name": "Catholic Syrian Bank",
502
+ "bank_code": "CSBK",
503
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
504
+ "logo_url": {
505
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
506
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
507
+ },
508
+ "merchant_code": "CSBK",
509
+ "display_priority": 11,
510
+ "display_name": "Catholic Syrian Bank"
511
+ },
512
+ {
513
+ "aggregator_name": "Razorpay",
514
+ "name": "State Bank of Hyderabad",
515
+ "code": "SBHY",
516
+ "bank_name": "State Bank of Hyderabad",
517
+ "bank_code": "SBHY",
518
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
519
+ "logo_url": {
520
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
521
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
522
+ },
523
+ "merchant_code": "NB_SBH",
524
+ "display_priority": 12,
525
+ "display_name": "State Bank of Hyderabad"
526
+ },
527
+ {
528
+ "aggregator_name": "Razorpay",
529
+ "name": "Allahabad Bank",
530
+ "code": "ALLA",
531
+ "bank_name": "Allahabad Bank",
532
+ "bank_code": "ALLA",
533
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
534
+ "logo_url": {
535
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
536
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
537
+ },
538
+ "merchant_code": "ALLA",
539
+ "display_priority": 15,
540
+ "display_name": "Allahabad Bank"
541
+ },
542
+ {
543
+ "aggregator_name": "Razorpay",
544
+ "name": "Syndicate Bank",
545
+ "code": "SYNB",
546
+ "bank_name": "Syndicate Bank",
547
+ "bank_code": "SYNB",
548
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
549
+ "logo_url": {
550
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
551
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
552
+ },
553
+ "merchant_code": "SYNB",
554
+ "display_priority": 17,
555
+ "display_name": "Syndicate Bank"
556
+ },
557
+ {
558
+ "aggregator_name": "Razorpay",
559
+ "name": "Corporation Bank",
560
+ "code": "CORP",
561
+ "bank_name": "Corporation Bank",
562
+ "bank_code": "CORP",
563
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
564
+ "logo_url": {
565
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
566
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
567
+ },
568
+ "merchant_code": "NB_CORP",
569
+ "display_priority": 18,
570
+ "display_name": "Corporation Bank"
571
+ },
572
+ {
573
+ "aggregator_name": "Razorpay",
574
+ "name": "Punjab National Bank - Corporate Banking",
575
+ "code": "PUNB_C",
576
+ "bank_name": "Punjab National Bank - Corporate Banking",
577
+ "bank_code": "PUNB_C",
578
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
579
+ "logo_url": {
580
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
581
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
582
+ },
583
+ "merchant_code": "PUNB_C",
584
+ "display_priority": 19,
585
+ "display_name": "Punjab National Bank - Corporate Banking"
586
+ },
587
+ {
588
+ "aggregator_name": "Razorpay",
589
+ "name": "Canara Bank",
590
+ "code": "CNRB",
591
+ "bank_name": "Canara Bank",
592
+ "bank_code": "CNRB",
593
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
594
+ "logo_url": {
595
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
596
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
597
+ },
598
+ "merchant_code": "NB_CANR",
599
+ "display_priority": 20,
600
+ "display_name": "Canara Bank"
601
+ },
602
+ {
603
+ "aggregator_name": "Razorpay",
604
+ "name": "Saraswat Co-operative Bank",
605
+ "code": "SRCB",
606
+ "bank_name": "Saraswat Co-operative Bank",
607
+ "bank_code": "SRCB",
608
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
609
+ "logo_url": {
610
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
611
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
612
+ },
613
+ "merchant_code": "SRCB",
614
+ "display_priority": 21,
615
+ "display_name": "Saraswat Co-operative Bank"
616
+ },
617
+ {
618
+ "aggregator_name": "Razorpay",
619
+ "name": "Deutsche Bank",
620
+ "code": "DEUT",
621
+ "bank_name": "Deutsche Bank",
622
+ "bank_code": "DEUT",
623
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
624
+ "logo_url": {
625
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
626
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
627
+ },
628
+ "merchant_code": "NB_DEUT",
629
+ "display_priority": 22,
630
+ "display_name": "Deutsche Bank"
631
+ },
632
+ {
633
+ "aggregator_name": "Razorpay",
634
+ "name": "Dhanlaxmi Bank",
635
+ "code": "DLXB",
636
+ "bank_name": "Dhanlaxmi Bank",
637
+ "bank_code": "DLXB",
638
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
639
+ "logo_url": {
640
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
641
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
642
+ },
643
+ "merchant_code": "DLXB",
644
+ "display_priority": 24,
645
+ "display_name": "Dhanlaxmi Bank"
646
+ },
647
+ {
648
+ "aggregator_name": "Razorpay",
649
+ "name": "Oriental Bank of Commerce",
650
+ "code": "ORBC",
651
+ "bank_name": "Oriental Bank of Commerce",
652
+ "bank_code": "ORBC",
653
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
654
+ "logo_url": {
655
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
656
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
657
+ },
658
+ "merchant_code": "ORBC",
659
+ "display_priority": 25,
660
+ "display_name": "Oriental Bank of Commerce"
661
+ },
662
+ {
663
+ "aggregator_name": "Razorpay",
664
+ "name": "Punjab National Bank - Retail Banking",
665
+ "code": "PUNB_R",
666
+ "bank_name": "Punjab National Bank - Retail Banking",
667
+ "bank_code": "PUNB_R",
668
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
669
+ "logo_url": {
670
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
671
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
672
+ },
673
+ "merchant_code": "PUNB_R",
674
+ "display_priority": 26,
675
+ "display_name": "Punjab National Bank - Retail Banking"
676
+ },
677
+ {
678
+ "aggregator_name": "Razorpay",
679
+ "name": "State Bank of Bikaner and Jaipur",
680
+ "code": "SBBJ",
681
+ "bank_name": "State Bank of Bikaner and Jaipur",
682
+ "bank_code": "SBBJ",
683
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
684
+ "logo_url": {
685
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
686
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
687
+ },
688
+ "merchant_code": "NB_SBBJ",
689
+ "display_priority": 27,
690
+ "display_name": "State Bank of Bikaner and Jaipur"
691
+ },
692
+ {
693
+ "aggregator_name": "Razorpay",
694
+ "name": "Indian Overseas Bank",
695
+ "code": "IOBA",
696
+ "bank_name": "Indian Overseas Bank",
697
+ "bank_code": "IOBA",
698
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
699
+ "logo_url": {
700
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
701
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
702
+ },
703
+ "merchant_code": "NB_IOB",
704
+ "display_priority": 28,
705
+ "display_name": "Indian Overseas Bank"
706
+ },
707
+ {
708
+ "aggregator_name": "Razorpay",
709
+ "name": "State Bank of Travancore",
710
+ "code": "SBTR",
711
+ "bank_name": "State Bank of Travancore",
712
+ "bank_code": "SBTR",
713
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
714
+ "logo_url": {
715
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
716
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
717
+ },
718
+ "merchant_code": "NB_SBT",
719
+ "display_priority": 29,
720
+ "display_name": "State Bank of Travancore"
721
+ },
722
+ {
723
+ "aggregator_name": "Razorpay",
724
+ "name": "Airtel Payments Bank",
725
+ "code": "AIRP",
726
+ "bank_name": "Airtel Payments Bank",
727
+ "bank_code": "AIRP",
728
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
729
+ "logo_url": {
730
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
731
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
732
+ },
733
+ "merchant_code": "AIRP",
734
+ "display_priority": 30,
735
+ "display_name": "Airtel Payments Bank"
736
+ },
737
+ {
738
+ "aggregator_name": "Razorpay",
739
+ "name": "Development Bank of Singapore",
740
+ "code": "DBSS",
741
+ "bank_name": "Development Bank of Singapore",
742
+ "bank_code": "DBSS",
743
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
744
+ "logo_url": {
745
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
746
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
747
+ },
748
+ "merchant_code": "DBSS",
749
+ "display_priority": 31,
750
+ "display_name": "Development Bank of Singapore"
751
+ },
752
+ {
753
+ "aggregator_name": "Razorpay",
754
+ "name": "Vijaya Bank",
755
+ "code": "VIJB",
756
+ "bank_name": "Vijaya Bank",
757
+ "bank_code": "VIJB",
758
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
759
+ "logo_url": {
760
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
761
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
762
+ },
763
+ "merchant_code": "NB_VJYB",
764
+ "display_priority": 32,
765
+ "display_name": "Vijaya Bank"
766
+ },
767
+ {
768
+ "aggregator_name": "Razorpay",
769
+ "name": "NKGSB Co-operative Bank",
770
+ "code": "NKGS",
771
+ "bank_name": "NKGSB Co-operative Bank",
772
+ "bank_code": "NKGS",
773
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
774
+ "logo_url": {
775
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
776
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
777
+ },
778
+ "merchant_code": "NKGS",
779
+ "display_priority": 33,
780
+ "display_name": "NKGSB Co-operative Bank"
781
+ },
782
+ {
783
+ "aggregator_name": "Razorpay",
784
+ "name": "RBL Bank",
785
+ "code": "RATN",
786
+ "bank_name": "RBL Bank",
787
+ "bank_code": "RATN",
788
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
789
+ "logo_url": {
790
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
791
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
792
+ },
793
+ "merchant_code": "RATN",
794
+ "display_priority": 35,
795
+ "display_name": "RBL Bank"
796
+ },
797
+ {
798
+ "aggregator_name": "Razorpay",
799
+ "name": "Bank of Baroda - Retail Banking",
800
+ "code": "BARB_R",
801
+ "bank_name": "Bank of Baroda - Retail Banking",
802
+ "bank_code": "BARB_R",
803
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
804
+ "logo_url": {
805
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
806
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
807
+ },
808
+ "merchant_code": "BARB_R",
809
+ "display_priority": 36,
810
+ "display_name": "Bank of Baroda - Retail Banking"
811
+ },
812
+ {
813
+ "aggregator_name": "Razorpay",
814
+ "name": "Karnataka Bank",
815
+ "code": "KARB",
816
+ "bank_name": "Karnataka Bank",
817
+ "bank_code": "KARB",
818
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
819
+ "logo_url": {
820
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
821
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
822
+ },
823
+ "merchant_code": "NB_KARN",
824
+ "display_priority": 37,
825
+ "display_name": "Karnataka Bank"
826
+ },
827
+ {
828
+ "aggregator_name": "Razorpay",
829
+ "name": "Tamilnadu State Apex Co-operative Bank",
830
+ "code": "TNSC",
831
+ "bank_name": "Tamilnadu State Apex Co-operative Bank",
832
+ "bank_code": "TNSC",
833
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
834
+ "logo_url": {
835
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
836
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
837
+ },
838
+ "merchant_code": "TNSC",
839
+ "display_priority": 38,
840
+ "display_name": "Tamilnadu State Apex Co-operative Bank"
841
+ },
842
+ {
843
+ "aggregator_name": "Razorpay",
844
+ "name": "Tamilnadu Mercantile Bank",
845
+ "code": "TMBL",
846
+ "bank_name": "Tamilnadu Mercantile Bank",
847
+ "bank_code": "TMBL",
848
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
849
+ "logo_url": {
850
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
851
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
852
+ },
853
+ "merchant_code": "TMBL",
854
+ "display_priority": 40,
855
+ "display_name": "Tamilnadu Mercantile Bank"
856
+ },
857
+ {
858
+ "aggregator_name": "Razorpay",
859
+ "name": "Lakshmi Vilas Bank - Retail Banking",
860
+ "code": "LAVB_R",
861
+ "bank_name": "Lakshmi Vilas Bank - Retail Banking",
862
+ "bank_code": "LAVB_R",
863
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
864
+ "logo_url": {
865
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
866
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
867
+ },
868
+ "merchant_code": "LAVB_R",
869
+ "display_priority": 42,
870
+ "display_name": "Lakshmi Vilas Bank - Retail Banking"
871
+ },
872
+ {
873
+ "aggregator_name": "Razorpay",
874
+ "name": "Dena Bank",
875
+ "code": "BKDN",
876
+ "bank_name": "Dena Bank",
877
+ "bank_code": "BKDN",
878
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
879
+ "logo_url": {
880
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
881
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
882
+ },
883
+ "merchant_code": "BKDN",
884
+ "display_priority": 43,
885
+ "display_name": "Dena Bank"
886
+ },
887
+ {
888
+ "aggregator_name": "Razorpay",
889
+ "name": "Federal Bank",
890
+ "code": "FDRL",
891
+ "bank_name": "Federal Bank",
892
+ "bank_code": "FDRL",
893
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
894
+ "logo_url": {
895
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
896
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
897
+ },
898
+ "merchant_code": "NB_FED",
899
+ "display_priority": 44,
900
+ "display_name": "Federal Bank"
901
+ },
902
+ {
903
+ "aggregator_name": "Razorpay",
904
+ "name": "Indian Bank",
905
+ "code": "IDIB",
906
+ "bank_name": "Indian Bank",
907
+ "bank_code": "IDIB",
908
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
909
+ "logo_url": {
910
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
911
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
912
+ },
913
+ "merchant_code": "NB_INDB",
914
+ "display_priority": 45,
915
+ "display_name": "Indian Bank"
916
+ },
917
+ {
918
+ "aggregator_name": "Razorpay",
919
+ "name": "South Indian Bank",
920
+ "code": "SIBL",
921
+ "bank_name": "South Indian Bank",
922
+ "bank_code": "SIBL",
923
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
924
+ "logo_url": {
925
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
926
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
927
+ },
928
+ "merchant_code": "NB_SOIB",
929
+ "display_priority": 46,
930
+ "display_name": "South Indian Bank"
931
+ },
932
+ {
933
+ "aggregator_name": "Razorpay",
934
+ "name": "IDBI",
935
+ "code": "IBKL",
936
+ "bank_name": "IDBI",
937
+ "bank_code": "IBKL",
938
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
939
+ "logo_url": {
940
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
941
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
942
+ },
943
+ "merchant_code": "IBKL",
944
+ "display_priority": 49,
945
+ "display_name": "IDBI"
946
+ },
947
+ {
948
+ "aggregator_name": "Razorpay",
949
+ "name": "Karur Vysya Bank",
950
+ "code": "KVBL",
951
+ "bank_name": "Karur Vysya Bank",
952
+ "bank_code": "KVBL",
953
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
954
+ "logo_url": {
955
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
956
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
957
+ },
958
+ "merchant_code": "NB_KVB",
959
+ "display_priority": 50,
960
+ "display_name": "Karur Vysya Bank"
961
+ },
962
+ {
963
+ "aggregator_name": "Razorpay",
964
+ "name": "Punjab & Sind Bank",
965
+ "code": "PSIB",
966
+ "bank_name": "Punjab & Sind Bank",
967
+ "bank_code": "PSIB",
968
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
969
+ "logo_url": {
970
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
971
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
972
+ },
973
+ "merchant_code": "PSIB",
974
+ "display_priority": 52,
975
+ "display_name": "Punjab & Sind Bank"
976
+ },
977
+ {
978
+ "aggregator_name": "Razorpay",
979
+ "name": "UCO Bank",
980
+ "code": "UCBA",
981
+ "bank_name": "UCO Bank",
982
+ "bank_code": "UCBA",
983
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
984
+ "logo_url": {
985
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
986
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
987
+ },
988
+ "merchant_code": "UCBA",
989
+ "display_priority": 53,
990
+ "display_name": "UCO Bank"
991
+ },
992
+ {
993
+ "aggregator_name": "Razorpay",
994
+ "name": "Bank of Bahrein and Kuwait",
995
+ "code": "BBKM",
996
+ "bank_name": "Bank of Bahrein and Kuwait",
997
+ "bank_code": "BBKM",
998
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
999
+ "logo_url": {
1000
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1001
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1002
+ },
1003
+ "merchant_code": "BBKM",
1004
+ "display_priority": 54,
1005
+ "display_name": "Bank of Bahrein and Kuwait"
1006
+ },
1007
+ {
1008
+ "aggregator_name": "Razorpay",
1009
+ "name": "Yes Bank",
1010
+ "code": "YESB",
1011
+ "bank_name": "Yes Bank",
1012
+ "bank_code": "YESB",
1013
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1014
+ "logo_url": {
1015
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1016
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1017
+ },
1018
+ "merchant_code": "NB_YESB",
1019
+ "display_priority": 55,
1020
+ "display_name": "Yes Bank"
1021
+ },
1022
+ {
1023
+ "aggregator_name": "Razorpay",
1024
+ "name": "Punjab & Maharashtra Co-operative Bank",
1025
+ "code": "PMCB",
1026
+ "bank_name": "Punjab & Maharashtra Co-operative Bank",
1027
+ "bank_code": "PMCB",
1028
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1029
+ "logo_url": {
1030
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1031
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1032
+ },
1033
+ "merchant_code": "PMCB",
1034
+ "display_priority": 56,
1035
+ "display_name": "Punjab & Maharashtra Co-operative Bank"
1036
+ },
1037
+ {
1038
+ "aggregator_name": "Razorpay",
1039
+ "name": "Bank of India",
1040
+ "code": "BKID",
1041
+ "bank_name": "Bank of India",
1042
+ "bank_code": "BKID",
1043
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1044
+ "logo_url": {
1045
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1046
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1047
+ },
1048
+ "merchant_code": "NB_BOI",
1049
+ "display_priority": 57,
1050
+ "display_name": "Bank of India"
1051
+ },
1052
+ {
1053
+ "aggregator_name": "Razorpay",
1054
+ "name": "Bank of Maharashtra",
1055
+ "code": "MAHB",
1056
+ "bank_name": "Bank of Maharashtra",
1057
+ "bank_code": "MAHB",
1058
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1059
+ "logo_url": {
1060
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1061
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1062
+ },
1063
+ "merchant_code": "NB_BOM",
1064
+ "display_priority": 58,
1065
+ "display_name": "Bank of Maharashtra"
1066
+ },
1067
+ {
1068
+ "aggregator_name": "Razorpay",
1069
+ "name": "IDFC Bank",
1070
+ "code": "IDFB",
1071
+ "bank_name": "IDFC Bank",
1072
+ "bank_code": "IDFB",
1073
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1074
+ "logo_url": {
1075
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1076
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1077
+ },
1078
+ "merchant_code": "IDFB",
1079
+ "display_priority": 59,
1080
+ "display_name": "IDFC Bank"
1081
+ },
1082
+ {
1083
+ "aggregator_name": "Razorpay",
1084
+ "name": "Janata Sahakari Bank (Pune)",
1085
+ "code": "JSBP",
1086
+ "bank_name": "Janata Sahakari Bank (Pune)",
1087
+ "bank_code": "JSBP",
1088
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1089
+ "logo_url": {
1090
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1091
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1092
+ },
1093
+ "merchant_code": "JSBP",
1094
+ "display_priority": 60,
1095
+ "display_name": "Janata Sahakari Bank (Pune)"
1096
+ },
1097
+ {
1098
+ "aggregator_name": "Razorpay",
1099
+ "name": "Shamrao Vithal Co-operative Bank",
1100
+ "code": "SVCB",
1101
+ "bank_name": "Shamrao Vithal Co-operative Bank",
1102
+ "bank_code": "SVCB",
1103
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1104
+ "logo_url": {
1105
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1106
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1107
+ },
1108
+ "merchant_code": "SVCB",
1109
+ "display_priority": 61,
1110
+ "display_name": "Shamrao Vithal Co-operative Bank"
1111
+ },
1112
+ {
1113
+ "aggregator_name": "Razorpay",
1114
+ "name": "Cosmos Co-operative Bank",
1115
+ "code": "COSB",
1116
+ "bank_name": "Cosmos Co-operative Bank",
1117
+ "bank_code": "COSB",
1118
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1119
+ "logo_url": {
1120
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1121
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1122
+ },
1123
+ "merchant_code": "COSB",
1124
+ "display_priority": 62,
1125
+ "display_name": "Cosmos Co-operative Bank"
1126
+ },
1127
+ {
1128
+ "aggregator_name": "Razorpay",
1129
+ "name": "State Bank of Mysore",
1130
+ "code": "SBMY",
1131
+ "bank_name": "State Bank of Mysore",
1132
+ "bank_code": "SBMY",
1133
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1134
+ "logo_url": {
1135
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1136
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1137
+ },
1138
+ "merchant_code": "NB_SBM",
1139
+ "display_priority": 63,
1140
+ "display_name": "State Bank of Mysore"
1141
+ },
1142
+ {
1143
+ "aggregator_name": "Razorpay",
1144
+ "name": "Andhra Bank",
1145
+ "code": "ANDB",
1146
+ "bank_name": "Andhra Bank",
1147
+ "bank_code": "ANDB",
1148
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1149
+ "logo_url": {
1150
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1151
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1152
+ },
1153
+ "merchant_code": "ANDB",
1154
+ "display_priority": 65,
1155
+ "display_name": "Andhra Bank"
1156
+ },
1157
+ {
1158
+ "aggregator_name": "Razorpay",
1159
+ "name": "Jammu and Kashmir Bank",
1160
+ "code": "JAKA",
1161
+ "bank_name": "Jammu and Kashmir Bank",
1162
+ "bank_code": "JAKA",
1163
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1164
+ "logo_url": {
1165
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1166
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1167
+ },
1168
+ "merchant_code": "NB_JNK",
1169
+ "display_priority": 66,
1170
+ "display_name": "Jammu and Kashmir Bank"
1171
+ },
1172
+ {
1173
+ "aggregator_name": "Razorpay",
1174
+ "name": "United Bank of India",
1175
+ "code": "UTBI",
1176
+ "bank_name": "United Bank of India",
1177
+ "bank_code": "UTBI",
1178
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1179
+ "logo_url": {
1180
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1181
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1182
+ },
1183
+ "merchant_code": "UTBI",
1184
+ "display_priority": 67,
1185
+ "display_name": "United Bank of India"
1186
+ },
1187
+ {
1188
+ "aggregator_name": "Razorpay",
1189
+ "name": "Lakshmi Vilas Bank - Corporate Banking",
1190
+ "code": "LAVB_C",
1191
+ "bank_name": "Lakshmi Vilas Bank - Corporate Banking",
1192
+ "bank_code": "LAVB_C",
1193
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1194
+ "logo_url": {
1195
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1196
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1197
+ },
1198
+ "merchant_code": "LAVB_C",
1199
+ "display_priority": 69,
1200
+ "display_name": "Lakshmi Vilas Bank - Corporate Banking"
1201
+ },
1202
+ {
1203
+ "aggregator_name": "Razorpay",
1204
+ "name": "State Bank of Patiala",
1205
+ "code": "STBP",
1206
+ "bank_name": "State Bank of Patiala",
1207
+ "bank_code": "STBP",
1208
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1209
+ "logo_url": {
1210
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1211
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1212
+ },
1213
+ "merchant_code": "NB_SBP",
1214
+ "display_priority": 70,
1215
+ "display_name": "State Bank of Patiala"
1216
+ },
1217
+ {
1218
+ "aggregator_name": "Razorpay",
1219
+ "name": "DCB Bank",
1220
+ "code": "DCBL",
1221
+ "bank_name": "DCB Bank",
1222
+ "bank_code": "DCBL",
1223
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1224
+ "logo_url": {
1225
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1226
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1227
+ },
1228
+ "merchant_code": "DCBL",
1229
+ "display_priority": 71,
1230
+ "display_name": "DCB Bank"
1231
+ },
1232
+ {
1233
+ "aggregator_name": "Razorpay",
1234
+ "name": "Union Bank of India",
1235
+ "code": "UBIN",
1236
+ "bank_name": "Union Bank of India",
1237
+ "bank_code": "UBIN",
1238
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1239
+ "logo_url": {
1240
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1241
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1242
+ },
1243
+ "merchant_code": "NB_UBI",
1244
+ "display_priority": 73,
1245
+ "display_name": "Union Bank of India"
1246
+ },
1247
+ {
1248
+ "aggregator_name": "Razorpay",
1249
+ "name": "Standard Chartered Bank",
1250
+ "code": "SCBL",
1251
+ "bank_name": "Standard Chartered Bank",
1252
+ "bank_code": "SCBL",
1253
+ "url": "https://hdn-1.fynd.com/payment/NB_generic.png",
1254
+ "logo_url": {
1255
+ "small": "https://hdn-1.fynd.com/payment/NB_generic.png",
1256
+ "large": "https://hdn-1.fynd.com/payment/NB_generic.png"
1257
+ },
1258
+ "merchant_code": "SCBL",
1259
+ "display_priority": 74,
1260
+ "display_name": "Standard Chartered Bank"
1261
+ }
1262
+ ]
1263
+ },
1264
+ {
1265
+ "name": "WL",
1266
+ "display_priority": 4,
1267
+ "payment_mode_id": 4,
1268
+ "display_name": "Wallet",
1269
+ "list": [
1270
+ {
1271
+ "wallet_name": "Paytm",
1272
+ "wallet_code": "paytm",
1273
+ "name": "Paytm",
1274
+ "display_name": "Paytm",
1275
+ "code": "PAYTM",
1276
+ "wallet_id": 4,
1277
+ "merchant_code": "PAYTM",
1278
+ "logo_url": {
1279
+ "small": "https://hdn-1.fynd.com/payment/paytm_logo_small.png",
1280
+ "large": "https://hdn-1.fynd.com/payment/paytm_logo_large.png"
1281
+ },
1282
+ "aggregator_name": "Juspay",
1283
+ "display_priority": 1
1284
+ },
1285
+ {
1286
+ "wallet_name": "Mobikwik",
1287
+ "wallet_code": "mobikwik",
1288
+ "name": "Mobikwik",
1289
+ "display_name": "Mobikwik",
1290
+ "code": "MOBIKWIK",
1291
+ "wallet_id": 5,
1292
+ "merchant_code": "MOBIKWIK",
1293
+ "logo_url": {
1294
+ "small": "https://hdn-1.fynd.com/payment/mobikwik_logo_small.png",
1295
+ "large": "https://hdn-1.fynd.com/payment/mobikwik_logo_small.png"
1296
+ },
1297
+ "aggregator_name": "Juspay",
1298
+ "display_priority": 3
1299
+ },
1300
+ {
1301
+ "wallet_name": "Ola Money",
1302
+ "wallet_code": "olamoney",
1303
+ "name": "Ola Money",
1304
+ "display_name": "Ola Money",
1305
+ "code": "OLAMONEY",
1306
+ "wallet_id": 6,
1307
+ "merchant_code": "OLAMONEY",
1308
+ "logo_url": {
1309
+ "small": "https://hdn-1.fynd.com/payment/olamoney.png",
1310
+ "large": "https://hdn-1.fynd.com/payment/olamoney.png"
1311
+ },
1312
+ "aggregator_name": "Razorpay",
1313
+ "display_priority": 4
1314
+ },
1315
+ {
1316
+ "wallet_name": "Amazon Pay",
1317
+ "wallet_code": "amazonpay",
1318
+ "name": "Amazon Pay",
1319
+ "display_name": "Amazon Pay",
1320
+ "code": "AMAZONPAY",
1321
+ "wallet_id": 10,
1322
+ "merchant_code": "AMAZONPAY",
1323
+ "logo_url": {
1324
+ "small": "https://hdn-1.fynd.com/payment/amazon-pay.png",
1325
+ "large": "https://hdn-1.fynd.com/payment/amazon-pay.png"
1326
+ },
1327
+ "aggregator_name": "Razorpay",
1328
+ "display_priority": 9
1329
+ },
1330
+ {
1331
+ "wallet_name": "PayPal",
1332
+ "wallet_code": "paypal",
1333
+ "name": "PayPal",
1334
+ "display_name": "PayPal",
1335
+ "code": "PAYPAL",
1336
+ "wallet_id": 11,
1337
+ "merchant_code": "PAYPAL",
1338
+ "logo_url": {
1339
+ "small": "https://hdn-1.fynd.com/payment/paypal.jpg",
1340
+ "large": "https://hdn-1.fynd.com/payment/paypal.jpg "
1341
+ },
1342
+ "aggregator_name": "Razorpay",
1343
+ "display_priority": 10
1344
+ }
1345
+ ]
1346
+ },
1347
+ {
1348
+ "name": "UPI",
1349
+ "display_priority": 9,
1350
+ "payment_mode_id": 7,
1351
+ "display_name": "UPI",
1352
+ "list": [
1353
+ {
1354
+ "aggregator_name": "Razorpay",
1355
+ "name": "UPI",
1356
+ "display_name": "BHIM UPI",
1357
+ "code": "UPI",
1358
+ "logo_url": {
1359
+ "large": "https://hdn-1.fynd.com/payment/upi_150x100.png",
1360
+ "small": "https://hdn-1.fynd.com/payment/upi_100x78.png"
1361
+ },
1362
+ "merchant_code": "UPI",
1363
+ "timeout": 240,
1364
+ "retry_count": 0,
1365
+ "fynd_vpa": "shopsense.rzp@hdfcbank",
1366
+ "intent_flow": true,
1367
+ "intent_app": [
1368
+ {
1369
+ "code": "google_pay",
1370
+ "display_name": "Google Pay",
1371
+ "package_name": "com.google.android.apps.nbu.paisa.user",
1372
+ "logos": {
1373
+ "small": "https://hdn-1.fynd.com/payment/upi-google-pay.png",
1374
+ "large": "https://hdn-1.fynd.com/payment/upi-google-pay.png"
1375
+ }
1376
+ }
1377
+ ],
1378
+ "intent_app_error_list": [
1379
+ "com.csam.icici.bank.imobile",
1380
+ "in.org.npci.upiapp",
1381
+ "com.whatsapp"
1382
+ ],
1383
+ "intent_app_error_dict_list": [
1384
+ {
1385
+ "package_name": "com.csam.icici.bank.imobile",
1386
+ "code": "icici"
1387
+ },
1388
+ {
1389
+ "package_name": "in.org.npci.upiapp",
1390
+ "code": "upiapp"
1391
+ },
1392
+ {
1393
+ "package_name": "com.whatsapp",
1394
+ "code": "whatsapp"
1395
+ }
1396
+ ]
1397
+ }
1398
+ ]
1399
+ },
1400
+ {
1401
+ "name": "EMI",
1402
+ "display_priority": 18,
1403
+ "payment_mode_id": 19,
1404
+ "display_name": "Easy EMI",
1405
+ "list": [
1406
+ {
1407
+ "aggregator_name": "Razorpay",
1408
+ "name": "EMI",
1409
+ "display_name": "Easy EMI",
1410
+ "code": "EMI",
1411
+ "logo_url": {
1412
+ "large": "https://hdn-1.fynd.com/payment/Pos+Logo.png",
1413
+ "small": "https://hdn-1.fynd.com/payment/Pos+Logo.png"
1414
+ },
1415
+ "merchant_code": "EMI"
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "name": "JUSPAYPG",
1421
+ "display_priority": 18,
1422
+ "payment_mode_id": 23,
1423
+ "display_name": "Pay Using Juspay",
1424
+ "list": [
1425
+ {
1426
+ "aggregator_name": "Juspay",
1427
+ "name": "JUSPAYPG",
1428
+ "display_name": "Pay Using Juspay",
1429
+ "code": "JUSPAYPG",
1430
+ "logo_url": {
1431
+ "large": "https://hdn-1.fynd.com/payment/netbanking.png",
1432
+ "small": "https://hdn-1.fynd.com/payment/netbanking.png"
1433
+ },
1434
+ "merchant_code": "JUSPAYPG"
1435
+ }
1436
+ ]
1437
+ },
1438
+ {
1439
+ "name": "PG_PAYMENT",
1440
+ "display_priority": 20,
1441
+ "display_name": "Other payment gateway",
1442
+ "list": [
1443
+ {
1444
+ "aggregator_name": "Stripe",
1445
+ "name": "STRIPEPG",
1446
+ "display_name": "Pay using Stripe",
1447
+ "code": "STRIPEPG",
1448
+ "logo_url": {
1449
+ "large": "https://hdn-1.fynd.com/payment/Pos+Logo.png",
1450
+ "small": "https://hdn-1.fynd.com/payment/Pos+Logo.png"
1451
+ },
1452
+ "merchant_code": "STRIPEPG"
1453
+ },
1454
+ {
1455
+ "aggregator_name": "Ccavenue",
1456
+ "name": "CCAVENUEPG",
1457
+ "display_name": "Pay using Ccavenue",
1458
+ "code": "CCAVENUEPG",
1459
+ "logo_url": {
1460
+ "large": "https://hdn-1.fynd.com/payment/Pos+Logo.png",
1461
+ "small": "https://hdn-1.fynd.com/payment/Pos+Logo.png"
1462
+ },
1463
+ "merchant_code": "CCAVENUEPG"
1464
+ },
1465
+ {
1466
+ "aggregator_name": "Payumoney",
1467
+ "name": "PAYUMONEYPG",
1468
+ "display_name": "Pay using Payumoney",
1469
+ "code": "PAYUMONEYPG",
1470
+ "logo_url": {
1471
+ "large": "https://fynd-obscuro-media-new.s3.amazonaws.com/payment/payu_logo_large.png",
1472
+ "small": "https://fynd-obscuro-media-new.s3.amazonaws.com/payment/payu_logo_small.png"
1473
+ },
1474
+ "merchant_code": "PAYUMONEYPG"
1475
+ },
1476
+ {
1477
+ "aggregator_name": "Payubiz",
1478
+ "name": "PAYUBIZPG",
1479
+ "display_name": "Pay using Payubiz",
1480
+ "code": "PAYUBIZPG",
1481
+ "logo_url": {
1482
+ "large": "https://hdn-1.fynd.com/payment/payu.png",
1483
+ "small": "https://hdn-1.fynd.com/payment/payu.png"
1484
+ },
1485
+ "merchant_code": "PAYUBIZPG"
1486
+ }
1487
+ ]
1488
+ },
1489
+ {
1490
+ "name": "PL",
1491
+ "display_priority": 21,
1492
+ "display_name": "Pay Later",
1493
+ "list": [
1494
+ {
1495
+ "aggregator_name": "Simpl",
1496
+ "name": "Simpl",
1497
+ "display_name": "Simpl",
1498
+ "code": "SIMPL",
1499
+ "merchant_code": "SIMPL",
1500
+ "logo": "https://hdn-1.fynd.com/payment/simpl_logo.png",
1501
+ "logo_url": {
1502
+ "small": "https://hdn-1.fynd.com/payment/simpl_logo.png",
1503
+ "large": "https://hdn-1.fynd.com/payment/simpl_logo.png"
1504
+ }
1505
+ },
1506
+ {
1507
+ "aggregator_name": "Rupifi",
1508
+ "name": "RUPIFIPG",
1509
+ "display_name": "Pay using Rupifi",
1510
+ "code": "RUPIFIPG",
1511
+ "logo_url": {
1512
+ "large": "https://hdn-1.fynd.com/payment/Rupifi.png",
1513
+ "small": "https://hdn-1.fynd.com/payment/Rupifi.png"
1514
+ },
1515
+ "merchant_code": "RUPIFIPG"
1516
+ }
1517
+ ]
1518
+ }
1519
+ ]
1520
+ }
1521
+ }
1522
+ ```
1523
+ </details>
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+
1531
+
1532
+
1533
+ ---
1534
+
1535
+
1536
+ ### getAllPayouts
1537
+ Get All Payouts
1538
+
1539
+
1540
+
1541
+ ```javascript
1542
+ // Promise
1543
+ const promise = client.payment.getAllPayouts({ uniqueExternalId : value });
1544
+
1545
+ // Async/Await
1546
+ const data = await client.payment.getAllPayouts({ uniqueExternalId : value });
1547
+ ```
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+ | Argument | Type | Required | Description |
1554
+ | --------- | ----- | -------- | ----------- |
1555
+ | uniqueExternalId | string | no | Fetch payouts using unique external id |
1556
+
1557
+
1558
+
1559
+ Get All Payouts
1560
+
1561
+ *Returned Response:*
1562
+
1563
+
1564
+
1565
+
1566
+ [PayoutsResponse](#PayoutsResponse)
1567
+
1568
+ payouts response object
1569
+
1570
+
1571
+
1572
+
1573
+ <details>
1574
+ <summary><i>&nbsp; Example:</i></summary>
1575
+
1576
+ ```json
1577
+ [
1578
+ {
1579
+ "unique_transfer_no": "d2ff79fcd3459831864824da8c9d7e5f",
1580
+ "more_attributes": {
1581
+ "city": "",
1582
+ "state": "",
1583
+ "country": "",
1584
+ "bank_name": "YES",
1585
+ "ifsc_code": "IFSCYES101",
1586
+ "account_no": "9876541234",
1587
+ "branch_name": "Mumbai",
1588
+ "account_type": "current",
1589
+ "account_holder": "Vikas Kumar"
1590
+ },
1591
+ "transfer_type": "bank",
1592
+ "is_default": true,
1593
+ "is_active": true,
1594
+ "customers": {
1595
+ "id": 2,
1596
+ "name": "reliance retail",
1597
+ "mobile": "1234567890",
1598
+ "email": "reliance@gmail.com",
1599
+ "unique_external_id": "company:1"
1600
+ },
1601
+ "payouts_aggregators": [
1602
+ {
1603
+ "payout_details_id": 888,
1604
+ "aggregator_id": 3,
1605
+ "aggregator_fund_id": null
1606
+ }
1607
+ ]
1608
+ },
1609
+ {
1610
+ "unique_transfer_no": "e388c1c5df4933fa01f6da9f92595589",
1611
+ "more_attributes": {
1612
+ "city": "",
1613
+ "state": "",
1614
+ "country": "",
1615
+ "bank_name": "SBI",
1616
+ "ifsc_code": "SBIN0011513",
1617
+ "account_no": "9876543210",
1618
+ "branch_name": "Mumbai",
1619
+ "account_type": "saving",
1620
+ "account_holder": "Vikas Kumar"
1621
+ },
1622
+ "transfer_type": "bank",
1623
+ "is_default": false,
1624
+ "is_active": true,
1625
+ "customers": {
1626
+ "id": 2,
1627
+ "name": "reliance retail",
1628
+ "mobile": "1234567890",
1629
+ "email": "reliance@gmail.com",
1630
+ "unique_external_id": "company:1"
1631
+ },
1632
+ "payouts_aggregators": [
1633
+ {
1634
+ "payout_details_id": 891,
1635
+ "aggregator_id": 3,
1636
+ "aggregator_fund_id": null
1637
+ }
1638
+ ]
1639
+ }
1640
+ ]
1641
+ ```
1642
+ </details>
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+ ---
1653
+
1654
+
1655
+ ### savePayout
1656
+ Save Payout
1657
+
1658
+
1659
+
1660
+ ```javascript
1661
+ // Promise
1662
+ const promise = client.payment.savePayout({ body : value });
1663
+
1664
+ // Async/Await
1665
+ const data = await client.payment.savePayout({ body : value });
1666
+ ```
1667
+
1668
+
1669
+
1670
+
1671
+
1672
+ | Argument | Type | Required | Description |
1673
+ | --------- | ----- | -------- | ----------- |
1674
+ | body | [PayoutRequest](#PayoutRequest) | yes | Request body |
1675
+
1676
+
1677
+ Save Payout
1678
+
1679
+ *Returned Response:*
1680
+
1681
+
1682
+
1683
+
1684
+ [PayoutResponse](#PayoutResponse)
1685
+
1686
+ save payout response object
1687
+
1688
+
1689
+
1690
+
1691
+ <details>
1692
+ <summary><i>&nbsp; Example:</i></summary>
1693
+
1694
+ ```json
1695
+ {
1696
+ "success": true,
1697
+ "is_active": true,
1698
+ "bank_details": {
1699
+ "account_type": "saving",
1700
+ "account_holder": "Vikas Kumar",
1701
+ "branch_name": "Mumbai",
1702
+ "country": "",
1703
+ "ifsc_code": "SBIN0011513",
1704
+ "account_no": "9876543210",
1705
+ "city": "",
1706
+ "state": "",
1707
+ "bank_name": "SBI"
1708
+ },
1709
+ "unique_transfer_no": "e388c1c5df4933fa01f6da9f92595589",
1710
+ "users": {
1711
+ "name": "reliance retail",
1712
+ "unique_external_id": "company:1",
1713
+ "mobile": "1234567890",
1714
+ "email": "reliance@gmail.com"
1715
+ },
1716
+ "aggregator": "Razorpay",
1717
+ "transfer_type": "bank",
1718
+ "created": true,
1719
+ "payouts": {
1720
+ "aggregator_fund_id": null
1721
+ },
1722
+ "payment_status": "payout_initiated"
1723
+ }
1724
+ ```
1725
+ </details>
1726
+
1727
+
1728
+
1729
+
1730
+
1731
+
1732
+
1733
+
1734
+
1735
+ ---
1736
+
1737
+
1738
+ ### updatePayout
1739
+ Update Payout
1740
+
1741
+
1742
+
1743
+ ```javascript
1744
+ // Promise
1745
+ const promise = client.payment.updatePayout({ uniqueTransferNo : value,
1746
+ body : value });
1747
+
1748
+ // Async/Await
1749
+ const data = await client.payment.updatePayout({ uniqueTransferNo : value,
1750
+ body : value });
1751
+ ```
1752
+
1753
+
1754
+
1755
+
1756
+
1757
+ | Argument | Type | Required | Description |
1758
+ | --------- | ----- | -------- | ----------- |
1759
+ | uniqueTransferNo | string | yes | Unique transfer id |
1760
+ | body | [PayoutRequest](#PayoutRequest) | yes | Request body |
1761
+
1762
+
1763
+ Update Payout
1764
+
1765
+ *Returned Response:*
1766
+
1767
+
1768
+
1769
+
1770
+ [UpdatePayoutResponse](#UpdatePayoutResponse)
1771
+
1772
+ save payout response object
1773
+
1774
+
1775
+
1776
+
1777
+ <details>
1778
+ <summary><i>&nbsp; Example:</i></summary>
1779
+
1780
+ ```json
1781
+ {
1782
+ "success": true,
1783
+ "is_default": true,
1784
+ "is_active": true
1785
+ }
1786
+ ```
1787
+ </details>
1788
+
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+ ---
1798
+
1799
+
1800
+ ### activateAndDectivatePayout
1801
+ Partial Update Payout
1802
+
1803
+
1804
+
1805
+ ```javascript
1806
+ // Promise
1807
+ const promise = client.payment.activateAndDectivatePayout({ uniqueTransferNo : value,
1808
+ body : value });
1809
+
1810
+ // Async/Await
1811
+ const data = await client.payment.activateAndDectivatePayout({ uniqueTransferNo : value,
1812
+ body : value });
1813
+ ```
1814
+
1815
+
1816
+
1817
+
1818
+
1819
+ | Argument | Type | Required | Description |
1820
+ | --------- | ----- | -------- | ----------- |
1821
+ | uniqueTransferNo | string | yes | Unique transfer id |
1822
+ | body | [UpdatePayoutRequest](#UpdatePayoutRequest) | yes | Request body |
1823
+
1824
+
1825
+ Partial Update Payout
1826
+
1827
+ *Returned Response:*
1828
+
1829
+
1830
+
1831
+
1832
+ [UpdatePayoutResponse](#UpdatePayoutResponse)
1833
+
1834
+ save payout response object
1835
+
1836
+
1837
+
1838
+
1839
+ <details>
1840
+ <summary><i>&nbsp; Example:</i></summary>
1841
+
1842
+ ```json
1843
+ {
1844
+ "success": true,
1845
+ "is_default": true,
1846
+ "is_active": true
1847
+ }
1848
+ ```
1849
+ </details>
1850
+
1851
+
1852
+
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+
1859
+ ---
1860
+
1861
+
1862
+ ### deletePayout
1863
+ Delete Payout
1864
+
1865
+
1866
+
1867
+ ```javascript
1868
+ // Promise
1869
+ const promise = client.payment.deletePayout({ uniqueTransferNo : value });
1870
+
1871
+ // Async/Await
1872
+ const data = await client.payment.deletePayout({ uniqueTransferNo : value });
1873
+ ```
1874
+
1875
+
1876
+
1877
+
1878
+
1879
+ | Argument | Type | Required | Description |
1880
+ | --------- | ----- | -------- | ----------- |
1881
+ | uniqueTransferNo | string | yes | Unique transfer id |
1882
+
1883
+
1884
+
1885
+ Delete Payout
1886
+
1887
+ *Returned Response:*
1888
+
1889
+
1890
+
1891
+
1892
+ [DeletePayoutResponse](#DeletePayoutResponse)
1893
+
1894
+ delete payout response object
1895
+
1896
+
1897
+
1898
+
1899
+ <details>
1900
+ <summary><i>&nbsp; Example:</i></summary>
1901
+
1902
+ ```json
1903
+ {
1904
+ "success": true
1905
+ }
1906
+ ```
1907
+ </details>
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+ ---
1918
+
1919
+
1920
+ ### getSubscriptionPaymentMethod
1921
+ List Subscription Payment Method
1922
+
1923
+
1924
+
1925
+ ```javascript
1926
+ // Promise
1927
+ const promise = client.payment.getSubscriptionPaymentMethod({ uniqueExternalId : value });
1928
+
1929
+ // Async/Await
1930
+ const data = await client.payment.getSubscriptionPaymentMethod({ uniqueExternalId : value });
1931
+ ```
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+ | Argument | Type | Required | Description |
1938
+ | --------- | ----- | -------- | ----------- |
1939
+ | uniqueExternalId | string | no | Unique external id |
1940
+
1941
+
1942
+
1943
+ Get all Subscription Payment Method
1944
+
1945
+ *Returned Response:*
1946
+
1947
+
1948
+
1949
+
1950
+ [SubscriptionPaymentMethodResponse](#SubscriptionPaymentMethodResponse)
1951
+
1952
+ List Subscription Payment Method Response
1953
+
1954
+
1955
+
1956
+
1957
+ <details>
1958
+ <summary><i>&nbsp; Example:</i></summary>
1959
+
1960
+ ```json
1961
+ {
1962
+ "success": true,
1963
+ "data": [
1964
+ {
1965
+ "id": 68,
1966
+ "type": "card",
1967
+ "pg_payment_method_id": "pm_1H8HyIJ1ZTFIN1aD5eDOL4nU",
1968
+ "data": {
1969
+ "brand": "visa",
1970
+ "last4": "4242",
1971
+ "checks": {
1972
+ "cvc_check": "pass",
1973
+ "address_line1_check": null,
1974
+ "address_postal_code_check": null
1975
+ },
1976
+ "wallet": null,
1977
+ "country": "US",
1978
+ "funding": "credit",
1979
+ "exp_year": 2044,
1980
+ "networks": {
1981
+ "available": [
1982
+ "visa"
1983
+ ],
1984
+ "preferred": null
1985
+ },
1986
+ "exp_month": 12,
1987
+ "fingerprint": "0aror24meTf8iYfw",
1988
+ "generated_from": null,
1989
+ "three_d_secure_usage": {
1990
+ "supported": true
1991
+ }
1992
+ },
1993
+ "is_default": false
1994
+ },
1995
+ {
1996
+ "id": 81,
1997
+ "type": "card",
1998
+ "pg_payment_method_id": "pm_1Hc7tMJ1ZTFIN1aDCvMIIBeT",
1999
+ "data": {
2000
+ "brand": "visa",
2001
+ "last4": "4242",
2002
+ "checks": {
2003
+ "cvc_check": "pass",
2004
+ "address_line1_check": null,
2005
+ "address_postal_code_check": null
2006
+ },
2007
+ "wallet": null,
2008
+ "country": "US",
2009
+ "funding": "credit",
2010
+ "exp_year": 2020,
2011
+ "networks": {
2012
+ "available": [
2013
+ "visa"
2014
+ ],
2015
+ "preferred": null
2016
+ },
2017
+ "exp_month": 11,
2018
+ "fingerprint": "0aror24meTf8iYfw",
2019
+ "generated_from": null,
2020
+ "three_d_secure_usage": {
2021
+ "supported": true
2022
+ }
2023
+ },
2024
+ "is_default": true
2025
+ },
2026
+ {
2027
+ "id": 93,
2028
+ "type": "card",
2029
+ "pg_payment_method_id": "pm_1HvddjJ1ZTFIN1aDgebQvuyi",
2030
+ "data": {
2031
+ "brand": "visa",
2032
+ "last4": "4242",
2033
+ "checks": {
2034
+ "cvc_check": "pass",
2035
+ "address_line1_check": "pass",
2036
+ "address_postal_code_check": "pass"
2037
+ },
2038
+ "wallet": null,
2039
+ "country": "US",
2040
+ "funding": "credit",
2041
+ "exp_year": 2022,
2042
+ "networks": {
2043
+ "available": [
2044
+ "visa"
2045
+ ],
2046
+ "preferred": null
2047
+ },
2048
+ "exp_month": 11,
2049
+ "fingerprint": "0aror24meTf8iYfw",
2050
+ "generated_from": null,
2051
+ "three_d_secure_usage": {
2052
+ "supported": true
2053
+ }
2054
+ },
2055
+ "is_default": false
2056
+ },
2057
+ {
2058
+ "id": 98,
2059
+ "type": "card",
2060
+ "pg_payment_method_id": "pm_1IJDF0J1ZTFIN1aDnJFi4i2v",
2061
+ "data": {
2062
+ "brand": "visa",
2063
+ "last4": "1111",
2064
+ "checks": {
2065
+ "cvc_check": "pass",
2066
+ "address_line1_check": "pass",
2067
+ "address_postal_code_check": "pass"
2068
+ },
2069
+ "wallet": null,
2070
+ "country": "US",
2071
+ "funding": "credit",
2072
+ "exp_year": 2025,
2073
+ "networks": {
2074
+ "available": [
2075
+ "visa"
2076
+ ],
2077
+ "preferred": null
2078
+ },
2079
+ "exp_month": 11,
2080
+ "fingerprint": "ZtDTGycouUEup4Q4",
2081
+ "generated_from": null,
2082
+ "three_d_secure_usage": {
2083
+ "supported": true
2084
+ }
2085
+ },
2086
+ "is_default": false
2087
+ }
2088
+ ]
2089
+ }
2090
+ ```
2091
+ </details>
2092
+
2093
+
2094
+
2095
+
2096
+
2097
+
2098
+
2099
+
2100
+
2101
+ ---
2102
+
2103
+
2104
+ ### deleteSubscriptionPaymentMethod
2105
+ Delete Subscription Payment Method
2106
+
2107
+
2108
+
2109
+ ```javascript
2110
+ // Promise
2111
+ const promise = client.payment.deleteSubscriptionPaymentMethod({ uniqueExternalId : value,
2112
+ paymentMethodId : value });
2113
+
2114
+ // Async/Await
2115
+ const data = await client.payment.deleteSubscriptionPaymentMethod({ uniqueExternalId : value,
2116
+ paymentMethodId : value });
2117
+ ```
2118
+
2119
+
2120
+
2121
+
2122
+
2123
+ | Argument | Type | Required | Description |
2124
+ | --------- | ----- | -------- | ----------- |
2125
+ | uniqueExternalId | string | yes | |
2126
+ | paymentMethodId | string | yes | |
2127
+
2128
+
2129
+
2130
+ Uses this api to Delete Subscription Payment Method
2131
+
2132
+ *Returned Response:*
2133
+
2134
+
2135
+
2136
+
2137
+ [DeleteSubscriptionPaymentMethodResponse](#DeleteSubscriptionPaymentMethodResponse)
2138
+
2139
+ Delete Subscription Payment Method Response.
2140
+
2141
+
2142
+
2143
+
2144
+ <details>
2145
+ <summary><i>&nbsp; Example:</i></summary>
2146
+
2147
+ ```json
2148
+ {
2149
+ "success": true
2150
+ }
2151
+ ```
2152
+ </details>
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+ ---
2163
+
2164
+
2165
+ ### getSubscriptionConfig
2166
+ List Subscription Config
2167
+
2168
+
2169
+
2170
+ ```javascript
2171
+ // Promise
2172
+ const promise = client.payment.getSubscriptionConfig();
2173
+
2174
+ // Async/Await
2175
+ const data = await client.payment.getSubscriptionConfig();
2176
+ ```
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+ Get all Subscription Config details
2184
+
2185
+ *Returned Response:*
2186
+
2187
+
2188
+
2189
+
2190
+ [SubscriptionConfigResponse](#SubscriptionConfigResponse)
2191
+
2192
+ List Subscription Config Response
2193
+
2194
+
2195
+
2196
+
2197
+ <details>
2198
+ <summary><i>&nbsp; Example:</i></summary>
2199
+
2200
+ ```json
2201
+ {
2202
+ "success": true,
2203
+ "aggregator": "stripe",
2204
+ "config": {
2205
+ "public_key": "pk_test_lHBf12TZLa5"
2206
+ }
2207
+ }
2208
+ ```
2209
+ </details>
2210
+
2211
+
2212
+
2213
+
2214
+
2215
+
2216
+
2217
+
2218
+
2219
+ ---
2220
+
2221
+
2222
+ ### saveSubscriptionSetupIntent
2223
+ Save Subscription Setup Intent
2224
+
2225
+
2226
+
2227
+ ```javascript
2228
+ // Promise
2229
+ const promise = client.payment.saveSubscriptionSetupIntent({ body : value });
2230
+
2231
+ // Async/Await
2232
+ const data = await client.payment.saveSubscriptionSetupIntent({ body : value });
2233
+ ```
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+ | Argument | Type | Required | Description |
2240
+ | --------- | ----- | -------- | ----------- |
2241
+ | body | [SaveSubscriptionSetupIntentRequest](#SaveSubscriptionSetupIntentRequest) | yes | Request body |
2242
+
2243
+
2244
+ Uses this api to Save Subscription Setup Intent
2245
+
2246
+ *Returned Response:*
2247
+
2248
+
2249
+
2250
+
2251
+ [SaveSubscriptionSetupIntentResponse](#SaveSubscriptionSetupIntentResponse)
2252
+
2253
+ Save Subscription Setup Intent Response.
2254
+
2255
+
2256
+
2257
+
2258
+ <details>
2259
+ <summary><i>&nbsp; Example:</i></summary>
2260
+
2261
+ ```json
2262
+ {
2263
+ "success": true,
2264
+ "data": {
2265
+ "id": "test",
2266
+ "object": "test",
2267
+ "client_secret": "test",
2268
+ "customer": "test",
2269
+ "status": "requires_payment_method"
2270
+ }
2271
+ }
2272
+ ```
2273
+ </details>
2274
+
2275
+
2276
+
2277
+
2278
+
2279
+
2280
+
2281
+
2282
+
2283
+ ---
2284
+
2285
+
2286
+ ### getBankAccountDetailsOpenAPI
2287
+ Get bank details
2288
+
2289
+
2290
+
2291
+ ```javascript
2292
+ // Promise
2293
+ const promise = client.application("<APPLICATION_ID>").payment.getBankAccountDetailsOpenAPI({ orderId : value,
2294
+ requestHash : value });
2295
+
2296
+ // Async/Await
2297
+ const data = await client.application("<APPLICATION_ID>").payment.getBankAccountDetailsOpenAPI({ orderId : value,
2298
+ requestHash : value });
2299
+ ```
2300
+
2301
+
2302
+
2303
+
2304
+
2305
+ | Argument | Type | Required | Description |
2306
+ | --------- | ----- | -------- | ----------- |
2307
+ | orderId | string | yes | |
2308
+ | requestHash | string | no | |
2309
+
2310
+
2311
+
2312
+ Use this API to get saved bank details for returned/cancelled order using order id.
2313
+
2314
+ *Returned Response:*
2315
+
2316
+
2317
+
2318
+
2319
+ [RefundAccountResponse](#RefundAccountResponse)
2320
+
2321
+ Success
2322
+
2323
+
2324
+
2325
+
2326
+ <details>
2327
+ <summary><i>&nbsp; Example:</i></summary>
2328
+
2329
+ ```json
2330
+ {
2331
+ "success": true,
2332
+ "data": {
2333
+ "account_no": "XXXX-XXXX-6682",
2334
+ "ifsc_code": "SBIEXAMPLE001",
2335
+ "email": "loremipsum@example.com",
2336
+ "address": "1773 Monroe Street",
2337
+ "bank_name": "SBI",
2338
+ "branch_name": "HOUSTON",
2339
+ "comment": "Lorem Ipsum",
2340
+ "account_holder": "Leslie Rice",
2341
+ "mobile": "0987654321"
2342
+ }
2343
+ }
2344
+ ```
2345
+ </details>
2346
+
2347
+
2348
+
2349
+
2350
+
2351
+
2352
+
2353
+
2354
+
2355
+ ---
2356
+
2357
+
2358
+ ### addRefundBankAccountUsingOTP
2359
+ Save bank details for cancelled/returned order
2360
+
2361
+
2362
+
2363
+ ```javascript
2364
+ // Promise
2365
+ const promise = client.application("<APPLICATION_ID>").payment.addRefundBankAccountUsingOTP({ body : value });
2366
+
2367
+ // Async/Await
2368
+ const data = await client.application("<APPLICATION_ID>").payment.addRefundBankAccountUsingOTP({ body : value });
2369
+ ```
2370
+
2371
+
2372
+
2373
+
2374
+
2375
+ | Argument | Type | Required | Description |
2376
+ | --------- | ----- | -------- | ----------- |
2377
+ | body | [AddBeneficiaryDetailsOTPRequest](#AddBeneficiaryDetailsOTPRequest) | yes | Request body |
2378
+
2379
+
2380
+ Use this API to save bank details for returned/cancelled order to refund amount in his account.
2381
+
2382
+ *Returned Response:*
2383
+
2384
+
2385
+
2386
+
2387
+ [RefundAccountResponse](#RefundAccountResponse)
2388
+
2389
+ Success
2390
+
2391
+
2392
+
2393
+
2394
+ <details>
2395
+ <summary><i>&nbsp; Example:</i></summary>
2396
+
2397
+ ```json
2398
+ {
2399
+ "success": true,
2400
+ "message": "Account successfully created",
2401
+ "data": {},
2402
+ "is_verified_flag": true
2403
+ }
2404
+ ```
2405
+ </details>
2406
+
2407
+
2408
+
2409
+
2410
+
2411
+
2412
+
2413
+
2414
+
2415
+ ---
2416
+
2417
+
2418
+ ### verifyIfscCode
2419
+ Ifsc Code Verification
2420
+
2421
+
2422
+
2423
+ ```javascript
2424
+ // Promise
2425
+ const promise = client.payment.verifyIfscCode({ ifscCode : value });
2426
+
2427
+ // Async/Await
2428
+ const data = await client.payment.verifyIfscCode({ ifscCode : value });
2429
+ ```
2430
+
2431
+
2432
+
2433
+
2434
+
2435
+ | Argument | Type | Required | Description |
2436
+ | --------- | ----- | -------- | ----------- |
2437
+ | ifscCode | string | no | |
2438
+
2439
+
2440
+
2441
+ Get True/False for correct IFSC Code for adding bank details for refund
2442
+
2443
+ *Returned Response:*
2444
+
2445
+
2446
+
2447
+
2448
+ [IfscCodeResponse](#IfscCodeResponse)
2449
+
2450
+ Bank details on correct Ifsc Code
2451
+
2452
+
2453
+
2454
+
2455
+ <details>
2456
+ <summary><i>&nbsp; Example:</i></summary>
2457
+
2458
+ ```json
2459
+ {
2460
+ "branch_name": "MANPUR",
2461
+ "bank_name": "GAYA",
2462
+ "BRANCH": "MANPUR",
2463
+ "CENTRE": "GAYA",
2464
+ "DISTRICT": "GAYA",
2465
+ "STATE": "BIHAR",
2466
+ "ADDRESS": "POBUNIYADGANJBIHAR",
2467
+ "CONTACT": "00",
2468
+ "MICR": "816002103",
2469
+ "UPI": true,
2470
+ "RTGS": true,
2471
+ "CITY": "GAYA",
2472
+ "NEFT": true,
2473
+ "IMPS": true,
2474
+ "SWIFT": "",
2475
+ "BANK": "State Bank of India",
2476
+ "BANKCODE": "SBIN",
2477
+ "IFSC": "SBIN0005611",
2478
+ "success": true
2479
+ }
2480
+ ```
2481
+ </details>
2482
+
2483
+
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+ ---
2492
+
2493
+
2494
+ ### getUserOrderBeneficiaries
2495
+ List Order Beneficiary
2496
+
2497
+
2498
+
2499
+ ```javascript
2500
+ // Promise
2501
+ const promise = client.application("<APPLICATION_ID>").payment.getUserOrderBeneficiaries({ orderId : value });
2502
+
2503
+ // Async/Await
2504
+ const data = await client.application("<APPLICATION_ID>").payment.getUserOrderBeneficiaries({ orderId : value });
2505
+ ```
2506
+
2507
+
2508
+
2509
+
2510
+
2511
+ | Argument | Type | Required | Description |
2512
+ | --------- | ----- | -------- | ----------- |
2513
+ | orderId | string | yes | |
2514
+
2515
+
2516
+
2517
+ Get all active beneficiary details added by the user for refund
2518
+
2519
+ *Returned Response:*
2520
+
2521
+
2522
+
2523
+
2524
+ [OrderBeneficiaryResponse](#OrderBeneficiaryResponse)
2525
+
2526
+ List Order Beneficiary
2527
+
2528
+
2529
+
2530
+
2531
+ <details>
2532
+ <summary><i>&nbsp; Example:</i></summary>
2533
+
2534
+ ```json
2535
+ {
2536
+ "beneficiaries": [
2537
+ {
2538
+ "id": 3695,
2539
+ "beneficiary_id": "4c86dd56e634a4c6a8fb51d195bc7b83",
2540
+ "bank_name": "State Bank of India",
2541
+ "branch_name": "BHOGAT",
2542
+ "account_holder": "PRAKASH TEST",
2543
+ "account_no": "3566342455454",
2544
+ "ifsc_code": "SBIN0014982",
2545
+ "mobile": "7819064010",
2546
+ "email": "prakashtest@gmail.com",
2547
+ "address": "49A, Dabhi seri, jodhpur, kalyanpur",
2548
+ "comment": "COD Refund",
2549
+ "is_active": null,
2550
+ "created_on": "2021-01-22 11:31:02",
2551
+ "modified_on": "2021-01-22 11:31:02",
2552
+ "display_name": "BANK",
2553
+ "transfer_mode": "bank",
2554
+ "title": "Bank Account",
2555
+ "subtitle": "35663423659",
2556
+ "delights_user_name": "shreeniwas_24x7_gmail_com_45978_16624463"
2557
+ }
2558
+ ]
2559
+ }
2560
+ ```
2561
+ </details>
2562
+
2563
+
2564
+
2565
+
2566
+
2567
+
2568
+
2569
+
2570
+
2571
+ ---
2572
+
2573
+
2574
+ ### getUserBeneficiaries
2575
+ List User Beneficiary
2576
+
2577
+
2578
+
2579
+ ```javascript
2580
+ // Promise
2581
+ const promise = client.application("<APPLICATION_ID>").payment.getUserBeneficiaries({ orderId : value });
2582
+
2583
+ // Async/Await
2584
+ const data = await client.application("<APPLICATION_ID>").payment.getUserBeneficiaries({ orderId : value });
2585
+ ```
2586
+
2587
+
2588
+
2589
+
2590
+
2591
+ | Argument | Type | Required | Description |
2592
+ | --------- | ----- | -------- | ----------- |
2593
+ | orderId | string | yes | |
2594
+
2595
+
2596
+
2597
+ Get all active beneficiary details added by the user for refund
2598
+
2599
+ *Returned Response:*
2600
+
2601
+
2602
+
2603
+
2604
+ [OrderBeneficiaryResponse](#OrderBeneficiaryResponse)
2605
+
2606
+ List User Beneficiary
2607
+
2608
+
2609
+
2610
+
2611
+ <details>
2612
+ <summary><i>&nbsp; Example:</i></summary>
2613
+
2614
+ ```json
2615
+ {
2616
+ "beneficiaries": [
2617
+ {
2618
+ "id": 221,
2619
+ "beneficiary_id": "0f7e44a922df352c05c5f73cb40ba115",
2620
+ "bank_name": "State Bank of India",
2621
+ "branch_name": "State Bank of India",
2622
+ "account_holder": "SHASHI TEST",
2623
+ "account_no": "1234567891",
2624
+ "ifsc_code": "SBIN0005611",
2625
+ "mobile": "9112042174",
2626
+ "email": "payment@gofynd.com",
2627
+ "address": "204A",
2628
+ "comment": "",
2629
+ "is_active": null,
2630
+ "created_on": "2020-06-29 12:38:39",
2631
+ "modified_on": "2020-06-29 12:38:39",
2632
+ "display_name": "BANK",
2633
+ "transfer_mode": "bank",
2634
+ "title": "Bank Account",
2635
+ "subtitle": "1234567891",
2636
+ "delights_user_name": null
2637
+ }
2638
+ ],
2639
+ "show_beneficiary_details": false
2640
+ }
2641
+ ```
2642
+ </details>
2643
+
2644
+
2645
+
2646
+
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+ ---
2653
+
2654
+
2655
+ ### confirmPayment
2656
+ Confirm payment after successful payment from payment gateway
2657
+
2658
+
2659
+
2660
+ ```javascript
2661
+ // Promise
2662
+ const promise = client.application("<APPLICATION_ID>").payment.confirmPayment({ body : value });
2663
+
2664
+ // Async/Await
2665
+ const data = await client.application("<APPLICATION_ID>").payment.confirmPayment({ body : value });
2666
+ ```
2667
+
2668
+
2669
+
2670
+
2671
+
2672
+ | Argument | Type | Required | Description |
2673
+ | --------- | ----- | -------- | ----------- |
2674
+ | body | [PaymentConfirmationRequest](#PaymentConfirmationRequest) | yes | Request body |
2675
+
2676
+
2677
+ Use this API to confirm payment after payment gateway accepted payment.
2678
+
2679
+ *Returned Response:*
2680
+
2681
+
2682
+
2683
+
2684
+ [PaymentConfirmationResponse](#PaymentConfirmationResponse)
2685
+
2686
+ Success. Returns the status of payment. Check the example shown below or refer `PaymentConfirmationResponseSchema` for more details.
2687
+
2688
+
2689
+
2690
+
2691
+ <details>
2692
+ <summary><i>&nbsp; Example:</i></summary>
2693
+
2694
+ ```json
2695
+ {
2696
+ "success": true,
2697
+ "message": "Payment Successful",
2698
+ "order_id": "FY60F90AEF01FF43E878"
2699
+ }
2700
+ ```
2701
+ </details>
2702
+
2703
+
2704
+
2705
+
2706
+
2707
+
2708
+
2709
+
2710
+
2711
+ ---
2712
+
2713
+
2714
+ ### getUserCODlimitRoutes
2715
+ Get COD limit for user
2716
+
2717
+
2718
+
2719
+ ```javascript
2720
+ // Promise
2721
+ const promise = client.application("<APPLICATION_ID>").payment.getUserCODlimitRoutes({ merchantUserId : value,
2722
+ mobileNo : value });
2723
+
2724
+ // Async/Await
2725
+ const data = await client.application("<APPLICATION_ID>").payment.getUserCODlimitRoutes({ merchantUserId : value,
2726
+ mobileNo : value });
2727
+ ```
2728
+
2729
+
2730
+
2731
+
2732
+
2733
+ | Argument | Type | Required | Description |
2734
+ | --------- | ----- | -------- | ----------- |
2735
+ | merchantUserId | string | yes | |
2736
+ | mobileNo | string | yes | |
2737
+
2738
+
2739
+
2740
+ Use this API to get user cod limit and reamining limit for the payment
2741
+
2742
+ *Returned Response:*
2743
+
2744
+
2745
+
2746
+
2747
+ [GetUserCODLimitResponse](#GetUserCODLimitResponse)
2748
+
2749
+ Success. Returns user cod limit , remaining limit and usage of user for COD. Check the example shown below or refer `GetUserCODLimitResponseSchema` for more details.
2750
+
2751
+
2752
+
2753
+
2754
+ <details>
2755
+ <summary><i>&nbsp; Example:</i></summary>
2756
+
2757
+ ```json
2758
+ {
2759
+ "success": true,
2760
+ "user_cod_data": {
2761
+ "is_active": true,
2762
+ "user_id": 5,
2763
+ "usages": 1000,
2764
+ "limit": 10000,
2765
+ "remaining_limit": 9000,
2766
+ "merchant_user_id": "5e199e6998cfe1776f1385dc"
2767
+ }
2768
+ }
2769
+ ```
2770
+ </details>
2771
+
2772
+
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+
2780
+ ---
2781
+
2782
+
2783
+ ### setUserCODlimitRoutes
2784
+ Set COD option for user for payment
2785
+
2786
+
2787
+
2788
+ ```javascript
2789
+ // Promise
2790
+ const promise = client.application("<APPLICATION_ID>").payment.setUserCODlimitRoutes({ body : value });
2791
+
2792
+ // Async/Await
2793
+ const data = await client.application("<APPLICATION_ID>").payment.setUserCODlimitRoutes({ body : value });
2794
+ ```
2795
+
2796
+
2797
+
2798
+
2799
+
2800
+ | Argument | Type | Required | Description |
2801
+ | --------- | ----- | -------- | ----------- |
2802
+ | body | [SetCODForUserRequest](#SetCODForUserRequest) | yes | Request body |
2803
+
2804
+
2805
+ Use this API to set cod option as true or false for the payment
2806
+
2807
+ *Returned Response:*
2808
+
2809
+
2810
+
2811
+
2812
+ [SetCODOptionResponse](#SetCODOptionResponse)
2813
+
2814
+ Success. Returns true/false for user cod option for payment. Check the example shown below or refer `GetUserCODLimitResponseSchema` for more details.
2815
+
2816
+
2817
+
2818
+
2819
+ <details>
2820
+ <summary><i>&nbsp; Example:</i></summary>
2821
+
2822
+ ```json
2823
+ {
2824
+ "success": true,
2825
+ "message": "COD option for user {} is set to {}"
2826
+ }
2827
+ ```
2828
+ </details>
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+
2835
+
2836
+
2837
+
2838
+ ---
2839
+
2840
+
2841
+
2842
+ ### Schemas
2843
+
2844
+
2845
+
2846
+ #### [PaymentGatewayConfigResponse](#PaymentGatewayConfigResponse)
2847
+
2848
+ | Properties | Type | Nullable | Description |
2849
+ | ---------- | ---- | -------- | ----------- |
2850
+ | excluded_fields | [string] | yes | List of all excluded options with their Details. |
2851
+ | display_fields | [string] | yes | List of all included options with their Details. |
2852
+ | app_id | string | yes | Application Id to which Payment config Mapped |
2853
+ | success | boolean | yes | Response is successful or not |
2854
+ | aggregators | [string] | no | List of all speceific Payment options with their Details. |
2855
+ | created | boolean | yes | Response is created or not |
2856
+
2857
+ ---
2858
+
2859
+
2860
+
2861
+
2862
+ #### [ErrorCodeDescription](#ErrorCodeDescription)
2863
+
2864
+ | Properties | Type | Nullable | Description |
2865
+ | ---------- | ---- | -------- | ----------- |
2866
+ | code | string | yes | Error descrption code. |
2867
+ | success | boolean | yes | Response is successful or not |
2868
+ | description | string | yes | Error human understandable description. |
2869
+
2870
+ ---
2871
+
2872
+
2873
+
2874
+
2875
+ #### [PaymentGatewayConfig](#PaymentGatewayConfig)
2876
+
2877
+ | Properties | Type | Nullable | Description |
2878
+ | ---------- | ---- | -------- | ----------- |
2879
+ | merchant_salt | string | yes | Merchant key of the payment aggregator |
2880
+ | secret | string | yes | Secret Key of the payment aggregator |
2881
+ | is_active | boolean | no | Enable/ Disable Flag |
2882
+ | config_type | string | yes | Config Type of the aggregator |
2883
+ | key | string | yes | Api key of the payment aggregator |
2884
+
2885
+ ---
2886
+
2887
+
2888
+
2889
+
2890
+ #### [PaymentGatewayConfigRequest](#PaymentGatewayConfigRequest)
2891
+
2892
+ | Properties | Type | Nullable | Description |
2893
+ | ---------- | ---- | -------- | ----------- |
2894
+ | app_id | string | yes | Application Id to which Payment config Mapped |
2895
+ | aggregator_name | [PaymentGatewayConfig](#PaymentGatewayConfig) | no | |
2896
+ | is_active | boolean | no | Enable/ Disable Flag |
2897
+
2898
+ ---
2899
+
2900
+
2901
+
2902
+
2903
+ #### [PaymentGatewayToBeReviewed](#PaymentGatewayToBeReviewed)
2904
+
2905
+ | Properties | Type | Nullable | Description |
2906
+ | ---------- | ---- | -------- | ----------- |
2907
+ | success | boolean | yes | Response is successful or not |
2908
+ | aggregator | [string] | yes | List of added payment gateway |
2909
+
2910
+ ---
2911
+
2912
+
2913
+
2914
+
2915
+ #### [ErrorCodeAndDescription](#ErrorCodeAndDescription)
2916
+
2917
+ | Properties | Type | Nullable | Description |
2918
+ | ---------- | ---- | -------- | ----------- |
2919
+ | code | string | yes | Error descrption code. |
2920
+ | description | string | yes | Error human understandable description. |
2921
+
2922
+ ---
2923
+
2924
+
2925
+
2926
+
2927
+ #### [HttpErrorCodeAndResponse](#HttpErrorCodeAndResponse)
2928
+
2929
+ | Properties | Type | Nullable | Description |
2930
+ | ---------- | ---- | -------- | ----------- |
2931
+ | success | boolean | yes | Response is successful or not |
2932
+ | error | [ErrorCodeAndDescription](#ErrorCodeAndDescription) | yes | |
2933
+
2934
+ ---
2935
+
2936
+
2937
+
2938
+
2939
+ #### [IntentAppErrorList](#IntentAppErrorList)
2940
+
2941
+ | Properties | Type | Nullable | Description |
2942
+ | ---------- | ---- | -------- | ----------- |
2943
+ | package_name | string | no | package_name |
2944
+ | code | string | no | code |
2945
+
2946
+ ---
2947
+
2948
+
2949
+
2950
+
2951
+ #### [PaymentModeLogo](#PaymentModeLogo)
2952
+
2953
+ | Properties | Type | Nullable | Description |
2954
+ | ---------- | ---- | -------- | ----------- |
2955
+ | small | string | yes | smalll |
2956
+ | large | string | yes | large |
2957
+
2958
+ ---
2959
+
2960
+
2961
+
2962
+
2963
+ #### [IntentApp](#IntentApp)
2964
+
2965
+ | Properties | Type | Nullable | Description |
2966
+ | ---------- | ---- | -------- | ----------- |
2967
+ | logos | [PaymentModeLogo](#PaymentModeLogo) | no | logos |
2968
+ | package_name | string | no | package_name |
2969
+ | code | string | no | code |
2970
+ | display_name | string | no | display_name |
2971
+
2972
+ ---
2973
+
2974
+
2975
+
2976
+
2977
+ #### [PaymentModeList](#PaymentModeList)
2978
+
2979
+ | Properties | Type | Nullable | Description |
2980
+ | ---------- | ---- | -------- | ----------- |
2981
+ | intent_app_error_list | [string] | no | intent_app_error_list |
2982
+ | name | string | no | name |
2983
+ | intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
2984
+ | card_fingerprint | string | no | card_fingerprint |
2985
+ | expired | boolean | no | expired |
2986
+ | merchant_code | string | no | merchant code |
2987
+ | intent_flow | boolean | no | intent_flow |
2988
+ | fynd_vpa | string | no | fynd_vpa |
2989
+ | card_brand_image | string | no | card_brand_image |
2990
+ | display_name | string | no | display name |
2991
+ | timeout | number | no | timeout |
2992
+ | exp_month | number | no | exp_month |
2993
+ | card_issuer | string | no | card_issuer |
2994
+ | compliant_with_tokenisation_guidelines | boolean | no | If card is tokenised or not |
2995
+ | card_number | string | no | card_number |
2996
+ | retry_count | number | no | retry_count |
2997
+ | card_id | string | no | card_id |
2998
+ | aggregator_name | string | yes | aggregator_name |
2999
+ | card_reference | string | no | card_reference |
3000
+ | intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
3001
+ | cod_limit | number | no | cod limit |
3002
+ | card_type | string | no | card_type |
3003
+ | card_brand | string | no | card_brand |
3004
+ | exp_year | number | no | exp_year |
3005
+ | card_name | string | no | card_name |
3006
+ | cod_limit_per_order | number | no | Cod limit per order |
3007
+ | card_token | string | no | card_token |
3008
+ | nickname | string | no | nickname |
3009
+ | display_priority | number | no | Dispaly Priority |
3010
+ | remaining_limit | number | no | Remaining limit |
3011
+ | card_isin | string | no | card_isin |
3012
+ | code | string | no | code |
3013
+ | logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
3014
+
3015
+ ---
3016
+
3017
+
3018
+
3019
+
3020
+ #### [RootPaymentMode](#RootPaymentMode)
3021
+
3022
+ | Properties | Type | Nullable | Description |
3023
+ | ---------- | ---- | -------- | ----------- |
3024
+ | name | string | yes | Payment mode name |
3025
+ | aggregator_name | string | no | Dispaly Priority |
3026
+ | is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
3027
+ | display_name | string | yes | Payment mode display name |
3028
+ | display_priority | number | yes | Dispaly Priority |
3029
+ | list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
3030
+ | anonymous_enable | boolean | no | Annonymous card flag |
3031
+ | add_card_enabled | boolean | no | Annonymous card flag |
3032
+ | save_card | boolean | no | Card save or not |
3033
+
3034
+ ---
3035
+
3036
+
3037
+
3038
+
3039
+ #### [PaymentOptions](#PaymentOptions)
3040
+
3041
+ | Properties | Type | Nullable | Description |
3042
+ | ---------- | ---- | -------- | ----------- |
3043
+ | payment_option | [[RootPaymentMode](#RootPaymentMode)] | yes | Payment options |
3044
+
3045
+ ---
3046
+
3047
+
3048
+
3049
+
3050
+ #### [PaymentOptionsResponse](#PaymentOptionsResponse)
3051
+
3052
+ | Properties | Type | Nullable | Description |
3053
+ | ---------- | ---- | -------- | ----------- |
3054
+ | success | boolean | yes | Response is successful or not |
3055
+ | payment_options | [PaymentOptions](#PaymentOptions) | yes | Payment options |
3056
+
3057
+ ---
3058
+
3059
+
3060
+
3061
+
3062
+ #### [PayoutsResponse](#PayoutsResponse)
3063
+
3064
+ | Properties | Type | Nullable | Description |
3065
+ | ---------- | ---- | -------- | ----------- |
3066
+ | is_default | boolean | yes | default or not |
3067
+ | payouts_aggregators | [string] | yes | payout aggregator object |
3068
+ | is_active | boolean | yes | Enable/DIsable Flag Payout |
3069
+ | transfer_type | string | yes | transafer type |
3070
+ | customers | string | yes | customers details object |
3071
+ | unique_transfer_no | string | yes | display priority of the payment mode |
3072
+ | more_attributes | string | yes | bank details object |
3073
+
3074
+ ---
3075
+
3076
+
3077
+
3078
+
3079
+ #### [PayoutBankDetails](#PayoutBankDetails)
3080
+
3081
+ | Properties | Type | Nullable | Description |
3082
+ | ---------- | ---- | -------- | ----------- |
3083
+ | account_holder | string | no | |
3084
+ | branch_name | string | no | |
3085
+ | country | string | no | |
3086
+ | pincode | number | no | |
3087
+ | account_type | string | yes | |
3088
+ | bank_name | string | no | |
3089
+ | state | string | no | |
3090
+ | account_no | string | no | |
3091
+ | ifsc_code | string | yes | |
3092
+ | city | string | no | |
3093
+
3094
+ ---
3095
+
3096
+
3097
+
3098
+
3099
+ #### [PayoutRequest](#PayoutRequest)
3100
+
3101
+ | Properties | Type | Nullable | Description |
3102
+ | ---------- | ---- | -------- | ----------- |
3103
+ | is_active | boolean | yes | Enable/Disable Flag Payout |
3104
+ | aggregator | string | yes | Aggregator Name |
3105
+ | bank_details | [PayoutBankDetails](#PayoutBankDetails) | yes | payout bank details object |
3106
+ | transfer_type | string | yes | transafer type |
3107
+ | unique_external_id | string | yes | Unique Id of Payout |
3108
+ | users | string | yes | payout users object |
3109
+
3110
+ ---
3111
+
3112
+
3113
+
3114
+
3115
+ #### [PayoutResponse](#PayoutResponse)
3116
+
3117
+ | Properties | Type | Nullable | Description |
3118
+ | ---------- | ---- | -------- | ----------- |
3119
+ | payment_status | string | yes | status of payment |
3120
+ | bank_details | string | yes | payout bank_details object |
3121
+ | is_active | boolean | yes | Enable/DIsable Flag Payout |
3122
+ | aggregator | string | yes | Aggregator Name |
3123
+ | transfer_type | string | yes | transfer type |
3124
+ | unique_transfer_no | string | yes | unique transfer no |
3125
+ | users | string | yes | users details object |
3126
+ | success | boolean | yes | Response is successful or not |
3127
+ | created | boolean | yes | created flag |
3128
+ | payouts | string | yes | payout object |
3129
+
3130
+ ---
3131
+
3132
+
3133
+
3134
+
3135
+ #### [UpdatePayoutResponse](#UpdatePayoutResponse)
3136
+
3137
+ | Properties | Type | Nullable | Description |
3138
+ | ---------- | ---- | -------- | ----------- |
3139
+ | is_default | boolean | yes | Enable/Disable Default Payout |
3140
+ | success | boolean | yes | Response is successful or not |
3141
+ | is_active | boolean | yes | Enable/DIsable Flag Payout |
3142
+
3143
+ ---
3144
+
3145
+
3146
+
3147
+
3148
+ #### [UpdatePayoutRequest](#UpdatePayoutRequest)
3149
+
3150
+ | Properties | Type | Nullable | Description |
3151
+ | ---------- | ---- | -------- | ----------- |
3152
+ | is_default | boolean | yes | Enable/Disable Default Payout |
3153
+ | unique_external_id | string | yes | Unique Id of Payout |
3154
+ | is_active | boolean | yes | Enable/Disable Flag Payout |
3155
+
3156
+ ---
3157
+
3158
+
3159
+
3160
+
3161
+ #### [DeletePayoutResponse](#DeletePayoutResponse)
3162
+
3163
+ | Properties | Type | Nullable | Description |
3164
+ | ---------- | ---- | -------- | ----------- |
3165
+ | success | boolean | yes | Response is successful or not |
3166
+
3167
+ ---
3168
+
3169
+
3170
+
3171
+
3172
+ #### [SubscriptionPaymentMethodResponse](#SubscriptionPaymentMethodResponse)
3173
+
3174
+ | Properties | Type | Nullable | Description |
3175
+ | ---------- | ---- | -------- | ----------- |
3176
+ | data | [string] | yes | Subscription Payment Method Object |
3177
+ | success | boolean | yes | Response is successful or not |
3178
+
3179
+ ---
3180
+
3181
+
3182
+
3183
+
3184
+ #### [DeleteSubscriptionPaymentMethodResponse](#DeleteSubscriptionPaymentMethodResponse)
3185
+
3186
+ | Properties | Type | Nullable | Description |
3187
+ | ---------- | ---- | -------- | ----------- |
3188
+ | success | boolean | yes | Success or failure. |
3189
+
3190
+ ---
3191
+
3192
+
3193
+
3194
+
3195
+ #### [SubscriptionConfigResponse](#SubscriptionConfigResponse)
3196
+
3197
+ | Properties | Type | Nullable | Description |
3198
+ | ---------- | ---- | -------- | ----------- |
3199
+ | config | string | yes | Aggregator Config |
3200
+ | success | boolean | yes | Response is successful or not |
3201
+ | aggregator | string | yes | Aggregator Name |
3202
+
3203
+ ---
3204
+
3205
+
3206
+
3207
+
3208
+ #### [SaveSubscriptionSetupIntentRequest](#SaveSubscriptionSetupIntentRequest)
3209
+
3210
+ | Properties | Type | Nullable | Description |
3211
+ | ---------- | ---- | -------- | ----------- |
3212
+ | unique_external_id | string | yes | Unique id i.e company:id |
3213
+
3214
+ ---
3215
+
3216
+
3217
+
3218
+
3219
+ #### [SaveSubscriptionSetupIntentResponse](#SaveSubscriptionSetupIntentResponse)
3220
+
3221
+ | Properties | Type | Nullable | Description |
3222
+ | ---------- | ---- | -------- | ----------- |
3223
+ | data | string | yes | Subscription Payment Method Object |
3224
+ | success | boolean | yes | Response is successful or not |
3225
+
3226
+ ---
3227
+
3228
+
3229
+
3230
+
3231
+ #### [RefundAccountResponse](#RefundAccountResponse)
3232
+
3233
+ | Properties | Type | Nullable | Description |
3234
+ | ---------- | ---- | -------- | ----------- |
3235
+ | message | string | yes | Response message |
3236
+ | data | string | no | Refund account data. |
3237
+ | success | boolean | yes | Success or failure flag. |
3238
+ | is_verified_flag | boolean | no | |
3239
+
3240
+ ---
3241
+
3242
+
3243
+
3244
+
3245
+ #### [NotFoundResourceError](#NotFoundResourceError)
3246
+
3247
+ | Properties | Type | Nullable | Description |
3248
+ | ---------- | ---- | -------- | ----------- |
3249
+ | code | string | yes | Bad Request Data |
3250
+ | success | boolean | yes | Response is successful or not |
3251
+ | description | string | yes | Not Found |
3252
+
3253
+ ---
3254
+
3255
+
3256
+
3257
+
3258
+ #### [BankDetailsForOTP](#BankDetailsForOTP)
3259
+
3260
+ | Properties | Type | Nullable | Description |
3261
+ | ---------- | ---- | -------- | ----------- |
3262
+ | account_holder | string | yes | |
3263
+ | branch_name | string | yes | |
3264
+ | bank_name | string | yes | |
3265
+ | account_no | string | yes | |
3266
+ | ifsc_code | string | yes | |
3267
+
3268
+ ---
3269
+
3270
+
3271
+
3272
+
3273
+ #### [AddBeneficiaryDetailsOTPRequest](#AddBeneficiaryDetailsOTPRequest)
3274
+
3275
+ | Properties | Type | Nullable | Description |
3276
+ | ---------- | ---- | -------- | ----------- |
3277
+ | order_id | string | yes | |
3278
+ | details | [BankDetailsForOTP](#BankDetailsForOTP) | yes | |
3279
+
3280
+ ---
3281
+
3282
+
3283
+
3284
+
3285
+ #### [IfscCodeResponse](#IfscCodeResponse)
3286
+
3287
+ | Properties | Type | Nullable | Description |
3288
+ | ---------- | ---- | -------- | ----------- |
3289
+ | success | boolean | no | Response is successful or not |
3290
+ | branch_name | string | yes | Branch Name Of Account |
3291
+ | bank_name | string | yes | Bank Name Of Account |
3292
+
3293
+ ---
3294
+
3295
+
3296
+
3297
+
3298
+ #### [OrderBeneficiaryDetails](#OrderBeneficiaryDetails)
3299
+
3300
+ | Properties | Type | Nullable | Description |
3301
+ | ---------- | ---- | -------- | ----------- |
3302
+ | account_holder | string | yes | Account Holder Name |
3303
+ | branch_name | string | no | Branch Name Of Account |
3304
+ | comment | string | no | Remarks |
3305
+ | beneficiary_id | string | yes | Benenficiary Id |
3306
+ | display_name | string | yes | Display Name Of Account |
3307
+ | ifsc_code | string | yes | Ifsc Code Of Account |
3308
+ | id | number | yes | |
3309
+ | delights_user_name | string | no | User Id Who filled the Beneficiary |
3310
+ | subtitle | string | yes | SHort Title Of Account |
3311
+ | bank_name | string | yes | Bank Name Of Account |
3312
+ | created_on | string | yes | Creation Date of Beneficiary |
3313
+ | email | string | yes | EMail of User |
3314
+ | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3315
+ | mobile | string | no | MObile no of User |
3316
+ | modified_on | string | yes | MOdification Date of Beneficiary |
3317
+ | transfer_mode | string | yes | Transfer Mode Of Account |
3318
+ | title | string | yes | Title Of Account |
3319
+ | account_no | string | yes | Account Number |
3320
+ | address | string | yes | Address of User |
3321
+
3322
+ ---
3323
+
3324
+
3325
+
3326
+
3327
+ #### [OrderBeneficiaryResponse](#OrderBeneficiaryResponse)
3328
+
3329
+ | Properties | Type | Nullable | Description |
3330
+ | ---------- | ---- | -------- | ----------- |
3331
+ | beneficiaries | [[OrderBeneficiaryDetails](#OrderBeneficiaryDetails)] | no | All Beneficiaries Of An Order |
3332
+ | show_beneficiary_details | boolean | no | Show beneficiary details or not. |
3333
+
3334
+ ---
3335
+
3336
+
3337
+
3338
+
3339
+ #### [MultiTenderPaymentMeta](#MultiTenderPaymentMeta)
3340
+
3341
+ | Properties | Type | Nullable | Description |
3342
+ | ---------- | ---- | -------- | ----------- |
3343
+ | payment_id | string | no | |
3344
+ | payment_gateway | string | no | |
3345
+ | order_id | string | no | |
3346
+ | current_status | string | no | |
3347
+ | extra_meta | string | no | |
3348
+
3349
+ ---
3350
+
3351
+
3352
+
3353
+
3354
+ #### [MultiTenderPaymentMethod](#MultiTenderPaymentMethod)
3355
+
3356
+ | Properties | Type | Nullable | Description |
3357
+ | ---------- | ---- | -------- | ----------- |
3358
+ | name | string | no | Payment mode name |
3359
+ | mode | string | yes | |
3360
+ | meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
3361
+ | amount | number | yes | Payment amount |
3362
+
3363
+ ---
3364
+
3365
+
3366
+
3367
+
3368
+ #### [PaymentConfirmationRequest](#PaymentConfirmationRequest)
3369
+
3370
+ | Properties | Type | Nullable | Description |
3371
+ | ---------- | ---- | -------- | ----------- |
3372
+ | payment_methods | [[MultiTenderPaymentMethod](#MultiTenderPaymentMethod)] | yes | |
3373
+ | order_id | string | yes | Unique order id |
3374
+
3375
+ ---
3376
+
3377
+
3378
+
3379
+
3380
+ #### [PaymentConfirmationResponse](#PaymentConfirmationResponse)
3381
+
3382
+ | Properties | Type | Nullable | Description |
3383
+ | ---------- | ---- | -------- | ----------- |
3384
+ | message | string | yes | Message |
3385
+ | success | boolean | yes | Payment confirmation updated or not. |
3386
+ | order_id | string | yes | Unique order id |
3387
+
3388
+ ---
3389
+
3390
+
3391
+
3392
+
3393
+ #### [CODdata](#CODdata)
3394
+
3395
+ | Properties | Type | Nullable | Description |
3396
+ | ---------- | ---- | -------- | ----------- |
3397
+ | usages | number | yes | Used COD limit from the user Limit |
3398
+ | is_active | boolean | yes | COD option is active or not |
3399
+ | remaining_limit | number | yes | Remaining Limit for COD of User |
3400
+ | user_id | string | yes | Payment mode name |
3401
+ | limit | number | yes | Total Limit of user |
3402
+
3403
+ ---
3404
+
3405
+
3406
+
3407
+
3408
+ #### [GetUserCODLimitResponse](#GetUserCODLimitResponse)
3409
+
3410
+ | Properties | Type | Nullable | Description |
3411
+ | ---------- | ---- | -------- | ----------- |
3412
+ | user_cod_data | [CODdata](#CODdata) | yes | User COD Data |
3413
+ | success | boolean | yes | Response is successful or not |
3414
+
3415
+ ---
3416
+
3417
+
3418
+
3419
+
3420
+ #### [SetCODForUserRequest](#SetCODForUserRequest)
3421
+
3422
+ | Properties | Type | Nullable | Description |
3423
+ | ---------- | ---- | -------- | ----------- |
3424
+ | merchant_user_id | string | yes | Merchant User id |
3425
+ | is_active | boolean | yes | either true or false |
3426
+ | mobileno | string | yes | Mobile No. of User |
3427
+
3428
+ ---
3429
+
3430
+
3431
+
3432
+
3433
+ #### [SetCODOptionResponse](#SetCODOptionResponse)
3434
+
3435
+ | Properties | Type | Nullable | Description |
3436
+ | ---------- | ---- | -------- | ----------- |
3437
+ | message | string | yes | Message |
3438
+ | success | boolean | yes | Response is successful or not |
3439
+
3440
+ ---
3441
+
3442
+
3443
+
3444
+