mx-platform-ruby 0.5.0 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +30 -19
- data/docs/EnhanceTransactionResponse.md +18 -4
- data/docs/EnhanceTransactionsRequest.md +5 -1
- data/docs/MxPlatformApi.md +28 -8
- data/docs/TransactionResponse.md +4 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +121 -25
- data/lib/mx-platform-ruby/api_client.rb +7 -9
- data/lib/mx-platform-ruby/api_error.rb +1 -1
- data/lib/mx-platform-ruby/configuration.rb +35 -2
- data/lib/mx-platform-ruby/models/account_number_response.rb +5 -1
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_owner_response.rb +9 -1
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_response.rb +45 -1
- data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/categories_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_response.rb +7 -1
- data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/category_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/challenge_response.rb +5 -1
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +2 -1
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/credential_request.rb +2 -1
- data/lib/mx-platform-ruby/models/credential_response.rb +4 -1
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +87 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +20 -2
- data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holding_response.rb +15 -1
- data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holdings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/image_option_response.rb +4 -1
- data/lib/mx-platform-ruby/models/institution_response.rb +11 -1
- data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_response.rb +13 -1
- data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_resume_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_status_response.rb +8 -1
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/member_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/members_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_location_response.rb +11 -1
- data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchant_response.rb +6 -1
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +2 -1
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/option_response.rb +3 -1
- data/lib/mx-platform-ruby/models/pagination_response.rb +1 -1
- data/lib/mx-platform-ruby/models/statement_response.rb +5 -1
- data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/statements_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_response.rb +2 -1
- data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tag_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_response.rb +2 -1
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tags_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_response.rb +57 -2
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +5 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +3 -1
- data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_create_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_response.rb +5 -1
- data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request.rb +1 -1
- data/lib/mx-platform-ruby/models/user_update_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/users_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_request_body.rb +1 -1
- data/lib/mx-platform-ruby/models/widget_response.rb +4 -1
- data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/version.rb +2 -2
- data/lib/mx-platform-ruby.rb +1 -1
- data/mx-platform-ruby.gemspec +1 -1
- data/openapi/config.yml +1 -1
- data/openapi/templates/README.mustache +30 -21
- data/spec/api/mx_platform_api_spec.rb +9 -1
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_number_response_spec.rb +1 -1
- data/spec/models/account_numbers_response_body_spec.rb +1 -1
- data/spec/models/account_owner_response_spec.rb +1 -1
- data/spec/models/account_owners_response_body_spec.rb +1 -1
- data/spec/models/account_response_body_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +1 -1
- data/spec/models/account_update_request_body_spec.rb +1 -1
- data/spec/models/account_update_request_spec.rb +1 -1
- data/spec/models/accounts_response_body_spec.rb +1 -1
- data/spec/models/categories_response_body_spec.rb +1 -1
- data/spec/models/category_create_request_body_spec.rb +1 -1
- data/spec/models/category_create_request_spec.rb +1 -1
- data/spec/models/category_response_body_spec.rb +1 -1
- data/spec/models/category_response_spec.rb +1 -1
- data/spec/models/category_update_request_body_spec.rb +1 -1
- data/spec/models/category_update_request_spec.rb +1 -1
- data/spec/models/challenge_response_spec.rb +1 -1
- data/spec/models/challenges_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_body_spec.rb +1 -1
- data/spec/models/connect_widget_request_spec.rb +1 -1
- data/spec/models/connect_widget_response_body_spec.rb +1 -1
- data/spec/models/connect_widget_response_spec.rb +1 -1
- data/spec/models/credential_request_spec.rb +1 -1
- data/spec/models/credential_response_spec.rb +1 -1
- data/spec/models/credentials_response_body_spec.rb +1 -1
- data/spec/models/enhance_transaction_response_spec.rb +43 -1
- data/spec/models/enhance_transactions_request_body_spec.rb +1 -1
- data/spec/models/enhance_transactions_request_spec.rb +13 -1
- data/spec/models/enhance_transactions_response_body_spec.rb +1 -1
- data/spec/models/holding_response_body_spec.rb +1 -1
- data/spec/models/holding_response_spec.rb +1 -1
- data/spec/models/holdings_response_body_spec.rb +1 -1
- data/spec/models/image_option_response_spec.rb +1 -1
- data/spec/models/institution_response_body_spec.rb +1 -1
- data/spec/models/institution_response_spec.rb +1 -1
- data/spec/models/institutions_response_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_body_spec.rb +1 -1
- data/spec/models/managed_account_create_request_spec.rb +1 -1
- data/spec/models/managed_account_update_request_body_spec.rb +1 -1
- data/spec/models/managed_account_update_request_spec.rb +1 -1
- data/spec/models/managed_member_create_request_body_spec.rb +1 -1
- data/spec/models/managed_member_create_request_spec.rb +1 -1
- data/spec/models/managed_member_update_request_body_spec.rb +1 -1
- data/spec/models/managed_member_update_request_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_create_request_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_body_spec.rb +1 -1
- data/spec/models/managed_transaction_update_request_spec.rb +1 -1
- data/spec/models/member_create_request_body_spec.rb +1 -1
- data/spec/models/member_create_request_spec.rb +1 -1
- data/spec/models/member_response_body_spec.rb +1 -1
- data/spec/models/member_response_spec.rb +1 -1
- data/spec/models/member_resume_request_body_spec.rb +1 -1
- data/spec/models/member_resume_request_spec.rb +1 -1
- data/spec/models/member_status_response_body_spec.rb +1 -1
- data/spec/models/member_status_response_spec.rb +1 -1
- data/spec/models/member_update_request_body_spec.rb +1 -1
- data/spec/models/member_update_request_spec.rb +1 -1
- data/spec/models/members_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_body_spec.rb +1 -1
- data/spec/models/merchant_location_response_spec.rb +1 -1
- data/spec/models/merchant_response_body_spec.rb +1 -1
- data/spec/models/merchant_response_spec.rb +1 -1
- data/spec/models/merchants_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_body_spec.rb +1 -1
- data/spec/models/o_auth_window_response_spec.rb +1 -1
- data/spec/models/option_response_spec.rb +1 -1
- data/spec/models/pagination_response_spec.rb +1 -1
- data/spec/models/statement_response_body_spec.rb +1 -1
- data/spec/models/statement_response_spec.rb +1 -1
- data/spec/models/statements_response_body_spec.rb +1 -1
- data/spec/models/tag_create_request_body_spec.rb +1 -1
- data/spec/models/tag_create_request_spec.rb +1 -1
- data/spec/models/tag_response_body_spec.rb +1 -1
- data/spec/models/tag_response_spec.rb +1 -1
- data/spec/models/tag_update_request_body_spec.rb +1 -1
- data/spec/models/tag_update_request_spec.rb +1 -1
- data/spec/models/tagging_create_request_body_spec.rb +1 -1
- data/spec/models/tagging_create_request_spec.rb +1 -1
- data/spec/models/tagging_response_body_spec.rb +1 -1
- data/spec/models/tagging_response_spec.rb +1 -1
- data/spec/models/tagging_update_request_body_spec.rb +1 -1
- data/spec/models/tagging_update_request_spec.rb +1 -1
- data/spec/models/taggings_response_body_spec.rb +1 -1
- data/spec/models/tags_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_body_spec.rb +1 -1
- data/spec/models/transaction_response_spec.rb +13 -1
- data/spec/models/transaction_rule_create_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_create_request_spec.rb +1 -1
- data/spec/models/transaction_rule_response_body_spec.rb +1 -1
- data/spec/models/transaction_rule_response_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_rule_update_request_spec.rb +1 -1
- data/spec/models/transaction_rules_response_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_body_spec.rb +1 -1
- data/spec/models/transaction_update_request_spec.rb +1 -1
- data/spec/models/transactions_response_body_spec.rb +1 -1
- data/spec/models/user_create_request_body_spec.rb +1 -1
- data/spec/models/user_create_request_spec.rb +1 -1
- data/spec/models/user_response_body_spec.rb +1 -1
- data/spec/models/user_response_spec.rb +1 -1
- data/spec/models/user_update_request_body_spec.rb +1 -1
- data/spec/models/user_update_request_spec.rb +1 -1
- data/spec/models/users_response_body_spec.rb +1 -1
- data/spec/models/widget_request_body_spec.rb +1 -1
- data/spec/models/widget_request_spec.rb +1 -1
- data/spec/models/widget_response_body_spec.rb +1 -1
- data/spec/models/widget_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +95 -95
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 262c6362945060899351feb3aa49356bbfa5a234f917b2efa099f39188f4cc55
|
4
|
+
data.tar.gz: 3dfa97a2aa14f65c8f048f8c9e6a5bbc199bc3fef5c0ccbe58e7f11e38737aad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 986214ba1b32b491894c84294f03c7413a62b8fe145c485ac9965bd90285981fac989e1e8607ba48f32ecfc08e54ea8d01fe34d62be775143f43eeaa10036627
|
7
|
+
data.tar.gz: a0e99f8388aea551610df4241e34c57a0c4c035d6b3fd3a8da6edb5c37c1422a379846ef6ec411cb8e9ba67d3e9ca22cd74c6c99125dc5f9569a2af3fec3e2ab
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mx-platform-ruby (0.
|
4
|
+
mx-platform-ruby (0.6.3)
|
5
5
|
faraday (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
method_source (1.0.0)
|
35
35
|
multipart-post (2.1.1)
|
36
36
|
parallel (1.21.0)
|
37
|
-
parser (3.0.
|
37
|
+
parser (3.0.3.1)
|
38
38
|
ast (~> 2.4.1)
|
39
39
|
pry (0.13.1)
|
40
40
|
coderay (~> 1.1)
|
@@ -57,7 +57,7 @@ GEM
|
|
57
57
|
rspec-mocks (3.10.2)
|
58
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
59
|
rspec-support (~> 3.10.0)
|
60
|
-
rspec-support (3.10.
|
60
|
+
rspec-support (3.10.3)
|
61
61
|
rubocop (0.66.0)
|
62
62
|
jaro_winkler (~> 1.5.1)
|
63
63
|
parallel (~> 1.10)
|
@@ -81,4 +81,4 @@ DEPENDENCIES
|
|
81
81
|
rubocop (~> 0.66.0)
|
82
82
|
|
83
83
|
BUNDLED WITH
|
84
|
-
2.2.
|
84
|
+
2.2.32
|
data/README.md
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
-
*This project is currently in **Beta**. Please open up an issue [here](https://github.com/mxenabled/mx-platform-ruby/issues) to report issues using the MX Platform
|
1
|
+
*This project is currently in **Beta**. Please open up an issue [here](https://github.com/mxenabled/mx-platform-ruby/issues) to report issues using the MX Platform Ruby library.*
|
2
2
|
|
3
|
-
#
|
3
|
+
# MX Platform Ruby
|
4
4
|
|
5
|
-
|
5
|
+
The [MX Platform API](https://www.mx.com/products/platform-api) is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
6
6
|
|
7
|
-
|
7
|
+
## Documentation
|
8
|
+
|
9
|
+
Examples for the API endpoints can be found [here.](https://docs.mx.com/api)
|
8
10
|
|
9
|
-
|
11
|
+
## Requirements
|
10
12
|
|
11
|
-
-
|
13
|
+
- Ruby >= 2.6
|
12
14
|
|
13
15
|
## Installation
|
14
16
|
|
@@ -20,31 +22,28 @@ gem 'mx-platform-ruby'
|
|
20
22
|
|
21
23
|
And then execute:
|
22
24
|
```shell
|
23
|
-
|
25
|
+
bundle
|
24
26
|
```
|
25
27
|
|
26
28
|
Or install it yourself with:
|
27
29
|
```shell
|
28
|
-
|
30
|
+
gem install mx-platform-ruby
|
29
31
|
```
|
30
32
|
|
31
33
|
## Getting Started
|
32
34
|
|
33
35
|
In order to make requests, you will need to [sign up](https://dashboard.mx.com/sign_up) for the MX Platform API and get a `Client ID` and `API Key`.
|
34
36
|
|
35
|
-
Please follow the [installation](#installation) procedure and then run the following code:
|
36
|
-
|
37
|
+
Please follow the [installation](#installation) procedure and then run the following code to create your first User:
|
37
38
|
```ruby
|
38
|
-
# Load the gem
|
39
39
|
require 'mx-platform-ruby'
|
40
40
|
|
41
|
-
# setup authorization
|
42
41
|
MxPlatformRuby.configure do |config|
|
43
|
-
# Configure
|
44
|
-
config.username = 'Your Client ID
|
45
|
-
config.password = 'Your API Key
|
42
|
+
# Configure with your Client ID/API Key from https://dashboard.mx.com
|
43
|
+
config.username = 'Your Client ID'
|
44
|
+
config.password = 'Your API Key'
|
46
45
|
|
47
|
-
# Configure
|
46
|
+
# Configure environment. 0 for production, 1 for development
|
48
47
|
config.server_index = 1
|
49
48
|
end
|
50
49
|
|
@@ -56,7 +55,6 @@ user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
|
|
56
55
|
)
|
57
56
|
|
58
57
|
begin
|
59
|
-
# Create user
|
60
58
|
result = api_instance.create_user(user_create_request_body)
|
61
59
|
p result
|
62
60
|
rescue MxPlatformRuby::ApiError => e
|
@@ -64,6 +62,19 @@ rescue MxPlatformRuby::ApiError => e
|
|
64
62
|
end
|
65
63
|
```
|
66
64
|
|
67
|
-
##
|
65
|
+
## Development
|
66
|
+
|
67
|
+
This project was generated by the [OpenAPI Generator](https://openapi-generator.tech). To generate this library, verify you have the latest version of the `openapi-generator-cli` found [here.](https://github.com/OpenAPITools/openapi-generator#17---npm)
|
68
|
+
|
69
|
+
Running the following command in this repo's directory will generate this library using the [MX Platform API OpenAPI spec](https://github.com/mxenabled/openapi/blob/master/openapi/mx_platform_api_beta.yml) with our [configuration and templates.](https://github.com/mxenabled/mx-platform-ruby/tree/master/openapi)
|
70
|
+
```shell
|
71
|
+
openapi-generator-cli generate \
|
72
|
+
-i https://raw.githubusercontent.com/mxenabled/openapi/master/openapi/mx_platform_api_beta.yml \
|
73
|
+
-g ruby \
|
74
|
+
-c ./openapi/config.yml \
|
75
|
+
-t ./openapi/templates
|
76
|
+
```
|
77
|
+
|
78
|
+
## Contributing
|
68
79
|
|
69
|
-
|
80
|
+
Please [open an issue](https://github.com/mxenabled/mx-platform-java/issues) or [submit a pull request.](https://github.com/mxenabled/mx-platform-java/pulls)
|
@@ -5,8 +5,12 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **amount** | **Float** | | [optional] |
|
8
|
+
| **categorized_by** | **Integer** | | [optional] |
|
8
9
|
| **category** | **String** | | [optional] |
|
10
|
+
| **category_guid** | **String** | | [optional] |
|
11
|
+
| **described_by** | **Integer** | | [optional] |
|
9
12
|
| **description** | **String** | | [optional] |
|
13
|
+
| **extended_transaction_type** | **String** | | [optional] |
|
10
14
|
| **id** | **String** | | [optional] |
|
11
15
|
| **is_bill_pay** | **Boolean** | | [optional] |
|
12
16
|
| **is_direct_deposit** | **Boolean** | | [optional] |
|
@@ -16,8 +20,11 @@
|
|
16
20
|
| **is_international** | **Boolean** | | [optional] |
|
17
21
|
| **is_overdraft_fee** | **Boolean** | | [optional] |
|
18
22
|
| **is_payroll_advance** | **Boolean** | | [optional] |
|
23
|
+
| **is_subscription** | **Boolean** | | [optional] |
|
24
|
+
| **memo** | **String** | | [optional] |
|
19
25
|
| **merchant_category_code** | **Integer** | | [optional] |
|
20
26
|
| **merchant_guid** | **String** | | [optional] |
|
27
|
+
| **merchant_location_guid** | **String** | | [optional] |
|
21
28
|
| **original_description** | **String** | | [optional] |
|
22
29
|
| **type** | **String** | | [optional] |
|
23
30
|
|
@@ -28,8 +35,12 @@ require 'mx-platform-ruby'
|
|
28
35
|
|
29
36
|
instance = MxPlatformRuby::EnhanceTransactionResponse.new(
|
30
37
|
amount: 21.33,
|
31
|
-
|
32
|
-
|
38
|
+
categorized_by: 13,
|
39
|
+
category: Rental Car & Taxi,
|
40
|
+
category_guid: CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8,
|
41
|
+
described_by: 6,
|
42
|
+
description: Uber,
|
43
|
+
extended_transaction_type: partner_transaction_type,
|
33
44
|
id: ID-123,
|
34
45
|
is_bill_pay: false,
|
35
46
|
is_direct_deposit: false,
|
@@ -39,9 +50,12 @@ instance = MxPlatformRuby::EnhanceTransactionResponse.new(
|
|
39
50
|
is_international: false,
|
40
51
|
is_overdraft_fee: false,
|
41
52
|
is_payroll_advance: false,
|
53
|
+
is_subscription: false,
|
54
|
+
memo: Additional-information*on_transaction,
|
42
55
|
merchant_category_code: 5411,
|
43
|
-
merchant_guid: MCH-
|
44
|
-
|
56
|
+
merchant_guid: MCH-14f25b63-ef47-a38e-b2b6-d02b280b6e4e,
|
57
|
+
merchant_location_guid: MCL-00024e59-18b5-4d79-b879-2a7896726fea,
|
58
|
+
original_description: ubr* pending.uber.com,
|
45
59
|
type: DEBIT
|
46
60
|
)
|
47
61
|
```
|
@@ -6,7 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **amount** | **Float** | | [optional] |
|
8
8
|
| **description** | **String** | | |
|
9
|
+
| **extended_transaction_type** | **String** | | [optional] |
|
9
10
|
| **id** | **String** | | |
|
11
|
+
| **memo** | **String** | | [optional] |
|
10
12
|
| **merchant_category_code** | **Integer** | | [optional] |
|
11
13
|
| **type** | **String** | | [optional] |
|
12
14
|
|
@@ -17,8 +19,10 @@ require 'mx-platform-ruby'
|
|
17
19
|
|
18
20
|
instance = MxPlatformRuby::EnhanceTransactionsRequest.new(
|
19
21
|
amount: 21.33,
|
20
|
-
description:
|
22
|
+
description: ubr* pending.uber.com,
|
23
|
+
extended_transaction_type: partner_transaction_type,
|
21
24
|
id: ID-123,
|
25
|
+
memo: Additional-information*on_transaction,
|
22
26
|
merchant_category_code: 123,
|
23
27
|
type: DEBIT
|
24
28
|
)
|
data/docs/MxPlatformApi.md
CHANGED
@@ -2199,7 +2199,7 @@ end
|
|
2199
2199
|
|
2200
2200
|
## list_default_categories
|
2201
2201
|
|
2202
|
-
> <CategoriesResponseBody> list_default_categories(user_guid)
|
2202
|
+
> <CategoriesResponseBody> list_default_categories(user_guid, opts)
|
2203
2203
|
|
2204
2204
|
List default categories
|
2205
2205
|
|
@@ -2219,10 +2219,14 @@ end
|
|
2219
2219
|
|
2220
2220
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
2221
2221
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
2222
|
+
opts = {
|
2223
|
+
page: 1, # Integer | Specify current page.
|
2224
|
+
records_per_page: 10 # Integer | Specify records per page.
|
2225
|
+
}
|
2222
2226
|
|
2223
2227
|
begin
|
2224
2228
|
# List default categories
|
2225
|
-
result = api_instance.list_default_categories(user_guid)
|
2229
|
+
result = api_instance.list_default_categories(user_guid, opts)
|
2226
2230
|
p result
|
2227
2231
|
rescue MxPlatformRuby::ApiError => e
|
2228
2232
|
puts "Error when calling MxPlatformApi->list_default_categories: #{e}"
|
@@ -2233,12 +2237,12 @@ end
|
|
2233
2237
|
|
2234
2238
|
This returns an Array which contains the response data, status code and headers.
|
2235
2239
|
|
2236
|
-
> <Array(<CategoriesResponseBody>, Integer, Hash)> list_default_categories_with_http_info(user_guid)
|
2240
|
+
> <Array(<CategoriesResponseBody>, Integer, Hash)> list_default_categories_with_http_info(user_guid, opts)
|
2237
2241
|
|
2238
2242
|
```ruby
|
2239
2243
|
begin
|
2240
2244
|
# List default categories
|
2241
|
-
data, status_code, headers = api_instance.list_default_categories_with_http_info(user_guid)
|
2245
|
+
data, status_code, headers = api_instance.list_default_categories_with_http_info(user_guid, opts)
|
2242
2246
|
p status_code # => 2xx
|
2243
2247
|
p headers # => { ... }
|
2244
2248
|
p data # => <CategoriesResponseBody>
|
@@ -2252,6 +2256,8 @@ end
|
|
2252
2256
|
| Name | Type | Description | Notes |
|
2253
2257
|
| ---- | ---- | ----------- | ----- |
|
2254
2258
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
2259
|
+
| **page** | **Integer** | Specify current page. | [optional] |
|
2260
|
+
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
|
2255
2261
|
|
2256
2262
|
### Return type
|
2257
2263
|
|
@@ -2602,6 +2608,8 @@ end
|
|
2602
2608
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
2603
2609
|
opts = {
|
2604
2610
|
name: 'chase', # String | This will list only institutions in which the appended string appears.
|
2611
|
+
page: 1, # Integer | Specify current page.
|
2612
|
+
records_per_page: 10, # Integer | Specify records per page.
|
2605
2613
|
supports_account_identification: true, # Boolean | Filter only institutions which support account identification.
|
2606
2614
|
supports_account_statement: true, # Boolean | Filter only institutions which support account statements.
|
2607
2615
|
supports_account_verification: true, # Boolean | Filter only institutions which support account verification.
|
@@ -2640,6 +2648,8 @@ end
|
|
2640
2648
|
| Name | Type | Description | Notes |
|
2641
2649
|
| ---- | ---- | ----------- | ----- |
|
2642
2650
|
| **name** | **String** | This will list only institutions in which the appended string appears. | [optional] |
|
2651
|
+
| **page** | **Integer** | Specify current page. | [optional] |
|
2652
|
+
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
|
2643
2653
|
| **supports_account_identification** | **Boolean** | Filter only institutions which support account identification. | [optional] |
|
2644
2654
|
| **supports_account_statement** | **Boolean** | Filter only institutions which support account statements. | [optional] |
|
2645
2655
|
| **supports_account_verification** | **Boolean** | Filter only institutions which support account verification. | [optional] |
|
@@ -3823,7 +3833,7 @@ end
|
|
3823
3833
|
|
3824
3834
|
## list_transactions_by_tag
|
3825
3835
|
|
3826
|
-
> <TransactionsResponseBody> list_transactions_by_tag(tag_guid, user_guid)
|
3836
|
+
> <TransactionsResponseBody> list_transactions_by_tag(tag_guid, user_guid, opts)
|
3827
3837
|
|
3828
3838
|
List transactions by tag
|
3829
3839
|
|
@@ -3844,10 +3854,16 @@ end
|
|
3844
3854
|
api_instance = MxPlatformRuby::MxPlatformApi.new
|
3845
3855
|
tag_guid = 'TAG-aef36e72-6294-4c38-844d-e573e80aed52' # String | The unique id for a `tag`.
|
3846
3856
|
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
|
3857
|
+
opts = {
|
3858
|
+
from_date: '2015-09-20', # String | Filter transactions from this date.
|
3859
|
+
page: 1, # Integer | Specify current page.
|
3860
|
+
records_per_page: 10, # Integer | Specify records per page.
|
3861
|
+
to_date: '2019-10-20' # String | Filter transactions to this date.
|
3862
|
+
}
|
3847
3863
|
|
3848
3864
|
begin
|
3849
3865
|
# List transactions by tag
|
3850
|
-
result = api_instance.list_transactions_by_tag(tag_guid, user_guid)
|
3866
|
+
result = api_instance.list_transactions_by_tag(tag_guid, user_guid, opts)
|
3851
3867
|
p result
|
3852
3868
|
rescue MxPlatformRuby::ApiError => e
|
3853
3869
|
puts "Error when calling MxPlatformApi->list_transactions_by_tag: #{e}"
|
@@ -3858,12 +3874,12 @@ end
|
|
3858
3874
|
|
3859
3875
|
This returns an Array which contains the response data, status code and headers.
|
3860
3876
|
|
3861
|
-
> <Array(<TransactionsResponseBody>, Integer, Hash)> list_transactions_by_tag_with_http_info(tag_guid, user_guid)
|
3877
|
+
> <Array(<TransactionsResponseBody>, Integer, Hash)> list_transactions_by_tag_with_http_info(tag_guid, user_guid, opts)
|
3862
3878
|
|
3863
3879
|
```ruby
|
3864
3880
|
begin
|
3865
3881
|
# List transactions by tag
|
3866
|
-
data, status_code, headers = api_instance.list_transactions_by_tag_with_http_info(tag_guid, user_guid)
|
3882
|
+
data, status_code, headers = api_instance.list_transactions_by_tag_with_http_info(tag_guid, user_guid, opts)
|
3867
3883
|
p status_code # => 2xx
|
3868
3884
|
p headers # => { ... }
|
3869
3885
|
p data # => <TransactionsResponseBody>
|
@@ -3878,6 +3894,10 @@ end
|
|
3878
3894
|
| ---- | ---- | ----------- | ----- |
|
3879
3895
|
| **tag_guid** | **String** | The unique id for a `tag`. | |
|
3880
3896
|
| **user_guid** | **String** | The unique id for a `user`. | |
|
3897
|
+
| **from_date** | **String** | Filter transactions from this date. | [optional] |
|
3898
|
+
| **page** | **Integer** | Specify current page. | [optional] |
|
3899
|
+
| **records_per_page** | **Integer** | Specify records per page. | [optional] |
|
3900
|
+
| **to_date** | **String** | Filter transactions to this date. | [optional] |
|
3881
3901
|
|
3882
3902
|
### Return type
|
3883
3903
|
|
data/docs/TransactionResponse.md
CHANGED
@@ -8,11 +8,13 @@
|
|
8
8
|
| **account_id** | **String** | | [optional] |
|
9
9
|
| **amount** | **Float** | | [optional] |
|
10
10
|
| **category** | **String** | | [optional] |
|
11
|
+
| **category_guid** | **String** | | [optional] |
|
11
12
|
| **check_number_string** | **String** | | [optional] |
|
12
13
|
| **created_at** | **String** | | [optional] |
|
13
14
|
| **currency_code** | **String** | | [optional] |
|
14
15
|
| **date** | **String** | | [optional] |
|
15
16
|
| **description** | **String** | | [optional] |
|
17
|
+
| **extended_transaction_type** | **String** | | [optional] |
|
16
18
|
| **guid** | **String** | | [optional] |
|
17
19
|
| **id** | **String** | | [optional] |
|
18
20
|
| **is_bill_pay** | **Boolean** | | [optional] |
|
@@ -56,11 +58,13 @@ instance = MxPlatformRuby::TransactionResponse.new(
|
|
56
58
|
account_id: account123,
|
57
59
|
amount: 61.11,
|
58
60
|
category: Groceries,
|
61
|
+
category_guid: CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8,
|
59
62
|
check_number_string: 6812,
|
60
63
|
created_at: 2016-10-06T09:43:42.000Z,
|
61
64
|
currency_code: USD,
|
62
65
|
date: 2013-09-23T00:00:00.000Z,
|
63
66
|
description: Whole foods,
|
67
|
+
extended_transaction_type: partner_transaction_type,
|
64
68
|
guid: TRN-265abee9-889b-af6a-c69b-25157db2bdd9,
|
65
69
|
id: transaction-265abee9-889b-af6a-c69b-25157db2bdd9,
|
66
70
|
is_bill_pay: false,
|