masspay_ruby_sdk 1.0.0

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 (119) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +8 -0
  3. data/CONTRIBUTING.md +13 -0
  4. data/Gemfile +9 -0
  5. data/README.md +197 -0
  6. data/Rakefile +10 -0
  7. data/docs/AccountApi.md +150 -0
  8. data/docs/ApiResponse.md +22 -0
  9. data/docs/AttrTxn.md +20 -0
  10. data/docs/AttrValue.md +20 -0
  11. data/docs/AttrVelocityRequestInner.md +20 -0
  12. data/docs/AttributeApi.md +168 -0
  13. data/docs/AttrsRequirement.md +36 -0
  14. data/docs/AutopayResp.md +22 -0
  15. data/docs/AutopayRule.md +20 -0
  16. data/docs/AvailableBalanceTxnResp.md +22 -0
  17. data/docs/CardApi.md +160 -0
  18. data/docs/CatalogApi.md +469 -0
  19. data/docs/CompaniesResp.md +18 -0
  20. data/docs/Company.md +26 -0
  21. data/docs/Country.md +22 -0
  22. data/docs/Exception.md +20 -0
  23. data/docs/FoundUser.md +24 -0
  24. data/docs/GetAccountStatement200Response.md +18 -0
  25. data/docs/GetTransactionConfirmationDetails200Response.md +18 -0
  26. data/docs/GetUserAgreement200Response.md +26 -0
  27. data/docs/GetUserAgreementsNames200ResponseInner.md +24 -0
  28. data/docs/GetUserUserTokenKycAu10tix200Response.md +18 -0
  29. data/docs/GetUserUserTokenKycVeriff200Response.md +18 -0
  30. data/docs/GetWalletCardInfo200Response.md +30 -0
  31. data/docs/IDUpload.md +20 -0
  32. data/docs/KYCApi.md +305 -0
  33. data/docs/LoadApi.md +621 -0
  34. data/docs/LoadTxn.md +32 -0
  35. data/docs/LoadTxnResp.md +20 -0
  36. data/docs/Loads.md +36 -0
  37. data/docs/PayoutApi.md +403 -0
  38. data/docs/PayoutTxn.md +36 -0
  39. data/docs/PayoutTxnCommitResp.md +24 -0
  40. data/docs/PayoutTxnResp.md +60 -0
  41. data/docs/ResendBalanceNotification200Response.md +18 -0
  42. data/docs/Service.md +22 -0
  43. data/docs/ServicePayersInner.md +38 -0
  44. data/docs/ServicePayersInnerExchangeRateInner.md +20 -0
  45. data/docs/SpendBackApi.md +161 -0
  46. data/docs/SpendBackTxn.md +28 -0
  47. data/docs/SpendBackTxnResp.md +22 -0
  48. data/docs/SpendBacks.md +34 -0
  49. data/docs/StoredUser.md +56 -0
  50. data/docs/TaxApi.md +81 -0
  51. data/docs/TaxYearUserResp.md +48 -0
  52. data/docs/TxnHistoryResp.md +52 -0
  53. data/docs/UpdateUser.md +52 -0
  54. data/docs/User.md +50 -0
  55. data/docs/UserApi.md +403 -0
  56. data/docs/WalletApi.md +463 -0
  57. data/docs/WalletTxnResp.md +34 -0
  58. data/docs/logo.webp +0 -0
  59. data/lib/masspay_ruby_sdk/api/account_api.rb +149 -0
  60. data/lib/masspay_ruby_sdk/api/attribute_api.rb +214 -0
  61. data/lib/masspay_ruby_sdk/api/card_api.rb +174 -0
  62. data/lib/masspay_ruby_sdk/api/catalog_api.rb +443 -0
  63. data/lib/masspay_ruby_sdk/api/kyc_api.rb +290 -0
  64. data/lib/masspay_ruby_sdk/api/load_api.rb +598 -0
  65. data/lib/masspay_ruby_sdk/api/payout_api.rb +397 -0
  66. data/lib/masspay_ruby_sdk/api/spend_back_api.rb +160 -0
  67. data/lib/masspay_ruby_sdk/api/tax_api.rb +82 -0
  68. data/lib/masspay_ruby_sdk/api/user_api.rb +418 -0
  69. data/lib/masspay_ruby_sdk/api/wallet_api.rb +461 -0
  70. data/lib/masspay_ruby_sdk/api_client.rb +391 -0
  71. data/lib/masspay_ruby_sdk/api_error.rb +57 -0
  72. data/lib/masspay_ruby_sdk/configuration.rb +315 -0
  73. data/lib/masspay_ruby_sdk/models/api_response.rb +236 -0
  74. data/lib/masspay_ruby_sdk/models/attr_txn.rb +235 -0
  75. data/lib/masspay_ruby_sdk/models/attr_value.rb +239 -0
  76. data/lib/masspay_ruby_sdk/models/attr_velocity_request_inner.rb +273 -0
  77. data/lib/masspay_ruby_sdk/models/attrs_requirement.rb +372 -0
  78. data/lib/masspay_ruby_sdk/models/autopay_resp.rb +256 -0
  79. data/lib/masspay_ruby_sdk/models/autopay_rule.rb +241 -0
  80. data/lib/masspay_ruby_sdk/models/available_balance_txn_resp.rb +254 -0
  81. data/lib/masspay_ruby_sdk/models/companies_resp.rb +225 -0
  82. data/lib/masspay_ruby_sdk/models/company.rb +285 -0
  83. data/lib/masspay_ruby_sdk/models/country.rb +296 -0
  84. data/lib/masspay_ruby_sdk/models/exception.rb +241 -0
  85. data/lib/masspay_ruby_sdk/models/found_user.rb +270 -0
  86. data/lib/masspay_ruby_sdk/models/get_account_statement200_response.rb +225 -0
  87. data/lib/masspay_ruby_sdk/models/get_transaction_confirmation_details200_response.rb +218 -0
  88. data/lib/masspay_ruby_sdk/models/get_user_agreement200_response.rb +280 -0
  89. data/lib/masspay_ruby_sdk/models/get_user_agreements_names200_response_inner.rb +270 -0
  90. data/lib/masspay_ruby_sdk/models/get_user_user_token_kyc_au10tix200_response.rb +224 -0
  91. data/lib/masspay_ruby_sdk/models/get_user_user_token_kyc_veriff200_response.rb +224 -0
  92. data/lib/masspay_ruby_sdk/models/get_wallet_card_info200_response.rb +460 -0
  93. data/lib/masspay_ruby_sdk/models/id_upload.rb +273 -0
  94. data/lib/masspay_ruby_sdk/models/load_txn.rb +321 -0
  95. data/lib/masspay_ruby_sdk/models/load_txn_resp.rb +273 -0
  96. data/lib/masspay_ruby_sdk/models/loads.rb +388 -0
  97. data/lib/masspay_ruby_sdk/models/payout_txn.rb +328 -0
  98. data/lib/masspay_ruby_sdk/models/payout_txn_commit_resp.rb +293 -0
  99. data/lib/masspay_ruby_sdk/models/payout_txn_resp.rb +613 -0
  100. data/lib/masspay_ruby_sdk/models/resend_balance_notification200_response.rb +225 -0
  101. data/lib/masspay_ruby_sdk/models/service.rb +318 -0
  102. data/lib/masspay_ruby_sdk/models/service_payers_inner.rb +373 -0
  103. data/lib/masspay_ruby_sdk/models/service_payers_inner_exchange_rate_inner.rb +239 -0
  104. data/lib/masspay_ruby_sdk/models/spend_back_txn.rb +325 -0
  105. data/lib/masspay_ruby_sdk/models/spend_back_txn_resp.rb +307 -0
  106. data/lib/masspay_ruby_sdk/models/spend_backs.rb +340 -0
  107. data/lib/masspay_ruby_sdk/models/stored_user.rb +500 -0
  108. data/lib/masspay_ruby_sdk/models/tax_year_user_resp.rb +388 -0
  109. data/lib/masspay_ruby_sdk/models/txn_history_resp.rb +571 -0
  110. data/lib/masspay_ruby_sdk/models/update_user.rb +490 -0
  111. data/lib/masspay_ruby_sdk/models/user.rb +423 -0
  112. data/lib/masspay_ruby_sdk/models/wallet_txn_resp.rb +375 -0
  113. data/lib/masspay_ruby_sdk/version.rb +14 -0
  114. data/lib/masspay_ruby_sdk.rb +89 -0
  115. data/masspay_ruby_sdk.gemspec +37 -0
  116. data/spec/api_client_spec.rb +227 -0
  117. data/spec/configuration_spec.rb +41 -0
  118. data/spec/spec_helper.rb +110 -0
  119. metadata +203 -0
@@ -0,0 +1,18 @@
1
+ # MassPayRubySdk::GetUserUserTokenKycAu10tix200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **session_url** | **String** | URL for Au10tix session that can be used by redirecting the payee to the URL. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'masspay_ruby_sdk'
13
+
14
+ instance = MassPayRubySdk::GetUserUserTokenKycAu10tix200Response.new(
15
+ session_url: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # MassPayRubySdk::GetUserUserTokenKycVeriff200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **session_url** | **String** | URL for Veriff session that can be used by the SDKs (https://developers.veriff.com/#integrations) or by redirecting the payee to the URL. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'masspay_ruby_sdk'
13
+
14
+ instance = MassPayRubySdk::GetUserUserTokenKycVeriff200Response.new(
15
+ session_url: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,30 @@
1
+ # MassPayRubySdk::GetWalletCardInfo200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **card_number** | **Integer** | 16 Digits card number | |
8
+ | **cvv** | **String** | 3 Digits cvv code | |
9
+ | **expiration_date** | **Date** | Card expiration date | |
10
+ | **pin_number** | **String** | Card pin number (used in ATM machines) | |
11
+ | **balance** | **Float** | Available balance on the card | |
12
+ | **type** | **String** | Card type | |
13
+ | **status** | **String** | Status of the card | [default to 'ACTIVE'] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'masspay_ruby_sdk'
19
+
20
+ instance = MassPayRubySdk::GetWalletCardInfo200Response.new(
21
+ card_number: 4016483301928344,
22
+ cvv: 123,
23
+ expiration_date: null,
24
+ pin_number: 1234,
25
+ balance: 103,
26
+ type: VISA,
27
+ status: ACTIVE
28
+ )
29
+ ```
30
+
data/docs/IDUpload.md ADDED
@@ -0,0 +1,20 @@
1
+ # MassPayRubySdk::IDUpload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of image being uploaded | |
8
+ | **content** | **String** | Base64 encoded image (png|jpg|jpeg). Maximum total images size is 10MB | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'masspay_ruby_sdk'
14
+
15
+ instance = MassPayRubySdk::IDUpload.new(
16
+ type: document-front,
17
+ content: null
18
+ )
19
+ ```
20
+
data/docs/KYCApi.md ADDED
@@ -0,0 +1,305 @@
1
+ # MassPayRubySdk::KYCApi
2
+
3
+ All URIs are relative to *https://api.masspay.io/v0.1.4*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**find_attributes_velocity**](KYCApi.md#find_attributes_velocity) | **POST** /attribute/{user_token}/velocity | Attributes velocity check |
8
+ | [**get_user_user_token_kyc_au10tix**](KYCApi.md#get_user_user_token_kyc_au10tix) | **GET** /user/{user_token}/kyc/au10tix | Get an Au10tix session link |
9
+ | [**get_user_user_token_kyc_veriff**](KYCApi.md#get_user_user_token_kyc_veriff) | **GET** /user/{user_token}/kyc/veriff | Get a Veriff session link |
10
+ | [**upload_id_photos**](KYCApi.md#upload_id_photos) | **POST** /user/{user_token}/kyc/id | Upload ID Photos |
11
+
12
+
13
+ ## find_attributes_velocity
14
+
15
+ > Array<Object> find_attributes_velocity(user_token, opts)
16
+
17
+ Attributes velocity check
18
+
19
+ This **POST** endpoint is used to perform an attributes velocity check to identify users with matching attribute values. <br> You can use this endpoint to help prevent fraudulent activities by monitoring for unusual attribute value changes over time. <br> To use this endpoint, you need to provide the `user_token` as a parameter in the URL path and the required parameters in the request Body. <br> The endpoint will then compare the provided attribute value with the historical attribute values for the same user and determine if it meets the velocity check criteria.
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'masspay_ruby_sdk'
26
+ # setup authorization
27
+ MassPayRubySdk.configure do |config|
28
+ # Configure API key authorization: AUTHORIZER_NAME
29
+ config.api_key['AUTHORIZER_NAME'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['AUTHORIZER_NAME'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = MassPayRubySdk::KYCApi.new
35
+ user_token = 'user_token_example' # String | Token representing the user to retrieve attributes for
36
+ opts = {
37
+ idempotency_key: 'idempotency_key_example', # String | Unique key to prevent duplicate processing
38
+ attr_velocity_request_inner: [MassPayRubySdk::AttrVelocityRequestInner.new({type: 'CardNumber', value: 'value_example'})] # Array<AttrVelocityRequestInner> |
39
+ }
40
+
41
+ begin
42
+ # Attributes velocity check
43
+ result = api_instance.find_attributes_velocity(user_token, opts)
44
+ p result
45
+ rescue MassPayRubySdk::ApiError => e
46
+ puts "Error when calling KYCApi->find_attributes_velocity: #{e}"
47
+ end
48
+ ```
49
+
50
+ #### Using the find_attributes_velocity_with_http_info variant
51
+
52
+ This returns an Array which contains the response data, status code and headers.
53
+
54
+ > <Array(Array&lt;Object&gt;, Integer, Hash)> find_attributes_velocity_with_http_info(user_token, opts)
55
+
56
+ ```ruby
57
+ begin
58
+ # Attributes velocity check
59
+ data, status_code, headers = api_instance.find_attributes_velocity_with_http_info(user_token, opts)
60
+ p status_code # => 2xx
61
+ p headers # => { ... }
62
+ p data # => Array&lt;Object&gt;
63
+ rescue MassPayRubySdk::ApiError => e
64
+ puts "Error when calling KYCApi->find_attributes_velocity_with_http_info: #{e}"
65
+ end
66
+ ```
67
+
68
+ ### Parameters
69
+
70
+ | Name | Type | Description | Notes |
71
+ | ---- | ---- | ----------- | ----- |
72
+ | **user_token** | **String** | Token representing the user to retrieve attributes for | |
73
+ | **idempotency_key** | **String** | Unique key to prevent duplicate processing | [optional] |
74
+ | **attr_velocity_request_inner** | [**Array&lt;AttrVelocityRequestInner&gt;**](AttrVelocityRequestInner.md) | | [optional] |
75
+
76
+ ### Return type
77
+
78
+ **Array&lt;Object&gt;**
79
+
80
+ ### Authorization
81
+
82
+ [AUTHORIZER_NAME](../README.md#AUTHORIZER_NAME)
83
+
84
+ ### HTTP request headers
85
+
86
+ - **Content-Type**: application/json
87
+ - **Accept**: application/json
88
+
89
+
90
+ ## get_user_user_token_kyc_au10tix
91
+
92
+ > <GetUserUserTokenKycAu10tix200Response> get_user_user_token_kyc_au10tix(user_token)
93
+
94
+ Get an Au10tix session link
95
+
96
+ This **GET** endpoint is used to obtain a link to an Au10tix session for the user with the provided user token. <br> To use this endpoint, you need to provide the `user_token` as a parameter in the URL Path. <br> The endpoint will then generate a session link that you can use to initiate an identity verification process for the user through the Au10tix platform. <br> The response will contain the session link as a URL in a JSON format.
97
+
98
+ ### Examples
99
+
100
+ ```ruby
101
+ require 'time'
102
+ require 'masspay_ruby_sdk'
103
+ # setup authorization
104
+ MassPayRubySdk.configure do |config|
105
+ # Configure API key authorization: AUTHORIZER_NAME
106
+ config.api_key['AUTHORIZER_NAME'] = 'YOUR API KEY'
107
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
108
+ # config.api_key_prefix['AUTHORIZER_NAME'] = 'Bearer'
109
+ end
110
+
111
+ api_instance = MassPayRubySdk::KYCApi.new
112
+ user_token = 'user_token_example' # String |
113
+
114
+ begin
115
+ # Get an Au10tix session link
116
+ result = api_instance.get_user_user_token_kyc_au10tix(user_token)
117
+ p result
118
+ rescue MassPayRubySdk::ApiError => e
119
+ puts "Error when calling KYCApi->get_user_user_token_kyc_au10tix: #{e}"
120
+ end
121
+ ```
122
+
123
+ #### Using the get_user_user_token_kyc_au10tix_with_http_info variant
124
+
125
+ This returns an Array which contains the response data, status code and headers.
126
+
127
+ > <Array(<GetUserUserTokenKycAu10tix200Response>, Integer, Hash)> get_user_user_token_kyc_au10tix_with_http_info(user_token)
128
+
129
+ ```ruby
130
+ begin
131
+ # Get an Au10tix session link
132
+ data, status_code, headers = api_instance.get_user_user_token_kyc_au10tix_with_http_info(user_token)
133
+ p status_code # => 2xx
134
+ p headers # => { ... }
135
+ p data # => <GetUserUserTokenKycAu10tix200Response>
136
+ rescue MassPayRubySdk::ApiError => e
137
+ puts "Error when calling KYCApi->get_user_user_token_kyc_au10tix_with_http_info: #{e}"
138
+ end
139
+ ```
140
+
141
+ ### Parameters
142
+
143
+ | Name | Type | Description | Notes |
144
+ | ---- | ---- | ----------- | ----- |
145
+ | **user_token** | **String** | | |
146
+
147
+ ### Return type
148
+
149
+ [**GetUserUserTokenKycAu10tix200Response**](GetUserUserTokenKycAu10tix200Response.md)
150
+
151
+ ### Authorization
152
+
153
+ [AUTHORIZER_NAME](../README.md#AUTHORIZER_NAME)
154
+
155
+ ### HTTP request headers
156
+
157
+ - **Content-Type**: Not defined
158
+ - **Accept**: application/json
159
+
160
+
161
+ ## get_user_user_token_kyc_veriff
162
+
163
+ > <GetUserUserTokenKycVeriff200Response> get_user_user_token_kyc_veriff(user_token)
164
+
165
+ Get a Veriff session link
166
+
167
+ This **GET** endpoint is used to obtain a link to a Veriff session for the user with the provided user token. <br> The endpoint will then generate a session link that you can use to initiate an identity verification process for the user through the Veriff platform. <br> To use this endpoint, you need to provide the `user_token` as a parameter in the URL Path. <br> The response will contain the session link as a URL in a JSON format.
168
+
169
+ ### Examples
170
+
171
+ ```ruby
172
+ require 'time'
173
+ require 'masspay_ruby_sdk'
174
+ # setup authorization
175
+ MassPayRubySdk.configure do |config|
176
+ # Configure API key authorization: AUTHORIZER_NAME
177
+ config.api_key['AUTHORIZER_NAME'] = 'YOUR API KEY'
178
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
179
+ # config.api_key_prefix['AUTHORIZER_NAME'] = 'Bearer'
180
+ end
181
+
182
+ api_instance = MassPayRubySdk::KYCApi.new
183
+ user_token = 'user_token_example' # String |
184
+
185
+ begin
186
+ # Get a Veriff session link
187
+ result = api_instance.get_user_user_token_kyc_veriff(user_token)
188
+ p result
189
+ rescue MassPayRubySdk::ApiError => e
190
+ puts "Error when calling KYCApi->get_user_user_token_kyc_veriff: #{e}"
191
+ end
192
+ ```
193
+
194
+ #### Using the get_user_user_token_kyc_veriff_with_http_info variant
195
+
196
+ This returns an Array which contains the response data, status code and headers.
197
+
198
+ > <Array(<GetUserUserTokenKycVeriff200Response>, Integer, Hash)> get_user_user_token_kyc_veriff_with_http_info(user_token)
199
+
200
+ ```ruby
201
+ begin
202
+ # Get a Veriff session link
203
+ data, status_code, headers = api_instance.get_user_user_token_kyc_veriff_with_http_info(user_token)
204
+ p status_code # => 2xx
205
+ p headers # => { ... }
206
+ p data # => <GetUserUserTokenKycVeriff200Response>
207
+ rescue MassPayRubySdk::ApiError => e
208
+ puts "Error when calling KYCApi->get_user_user_token_kyc_veriff_with_http_info: #{e}"
209
+ end
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+ | Name | Type | Description | Notes |
215
+ | ---- | ---- | ----------- | ----- |
216
+ | **user_token** | **String** | | |
217
+
218
+ ### Return type
219
+
220
+ [**GetUserUserTokenKycVeriff200Response**](GetUserUserTokenKycVeriff200Response.md)
221
+
222
+ ### Authorization
223
+
224
+ [AUTHORIZER_NAME](../README.md#AUTHORIZER_NAME)
225
+
226
+ ### HTTP request headers
227
+
228
+ - **Content-Type**: Not defined
229
+ - **Accept**: application/json
230
+
231
+
232
+ ## upload_id_photos
233
+
234
+ > Object upload_id_photos(user_token, opts)
235
+
236
+ Upload ID Photos
237
+
238
+ Upload IDs for the provided user. This is an optional endpoint if the images are captured through means other than the link that is generated in the attributes.
239
+
240
+ ### Examples
241
+
242
+ ```ruby
243
+ require 'time'
244
+ require 'masspay_ruby_sdk'
245
+ # setup authorization
246
+ MassPayRubySdk.configure do |config|
247
+ # Configure API key authorization: AUTHORIZER_NAME
248
+ config.api_key['AUTHORIZER_NAME'] = 'YOUR API KEY'
249
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
250
+ # config.api_key_prefix['AUTHORIZER_NAME'] = 'Bearer'
251
+ end
252
+
253
+ api_instance = MassPayRubySdk::KYCApi.new
254
+ user_token = 'user_token_example' # String |
255
+ opts = {
256
+ id_upload: [MassPayRubySdk::IDUpload.new({type: 'face', content: 'content_example'})] # Array<IDUpload> |
257
+ }
258
+
259
+ begin
260
+ # Upload ID Photos
261
+ result = api_instance.upload_id_photos(user_token, opts)
262
+ p result
263
+ rescue MassPayRubySdk::ApiError => e
264
+ puts "Error when calling KYCApi->upload_id_photos: #{e}"
265
+ end
266
+ ```
267
+
268
+ #### Using the upload_id_photos_with_http_info variant
269
+
270
+ This returns an Array which contains the response data, status code and headers.
271
+
272
+ > <Array(Object, Integer, Hash)> upload_id_photos_with_http_info(user_token, opts)
273
+
274
+ ```ruby
275
+ begin
276
+ # Upload ID Photos
277
+ data, status_code, headers = api_instance.upload_id_photos_with_http_info(user_token, opts)
278
+ p status_code # => 2xx
279
+ p headers # => { ... }
280
+ p data # => Object
281
+ rescue MassPayRubySdk::ApiError => e
282
+ puts "Error when calling KYCApi->upload_id_photos_with_http_info: #{e}"
283
+ end
284
+ ```
285
+
286
+ ### Parameters
287
+
288
+ | Name | Type | Description | Notes |
289
+ | ---- | ---- | ----------- | ----- |
290
+ | **user_token** | **String** | | |
291
+ | **id_upload** | [**Array&lt;IDUpload&gt;**](IDUpload.md) | | [optional] |
292
+
293
+ ### Return type
294
+
295
+ **Object**
296
+
297
+ ### Authorization
298
+
299
+ [AUTHORIZER_NAME](../README.md#AUTHORIZER_NAME)
300
+
301
+ ### HTTP request headers
302
+
303
+ - **Content-Type**: application/json, application/xml
304
+ - **Accept**: application/json
305
+