masspay_ruby_sdk 1.0.0 → 2.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 (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/CONTRIBUTING.md +48 -9
  5. data/LICENSE.md +21 -0
  6. data/README.md +141 -176
  7. data/assets/logo.webp +0 -0
  8. data/lib/masspay_ruby_sdk/api/account_service.rb +35 -0
  9. data/lib/masspay_ruby_sdk/api/attribute_service.rb +41 -0
  10. data/lib/masspay_ruby_sdk/api/card_service.rb +35 -0
  11. data/lib/masspay_ruby_sdk/api/catalog_service.rb +74 -0
  12. data/lib/masspay_ruby_sdk/api/kyc_service.rb +56 -0
  13. data/lib/masspay_ruby_sdk/api/load_service.rb +62 -0
  14. data/lib/masspay_ruby_sdk/api/payout_service.rb +61 -0
  15. data/lib/masspay_ruby_sdk/api/spend_back_service.rb +35 -0
  16. data/lib/masspay_ruby_sdk/api/subaccount_service.rb +47 -0
  17. data/lib/masspay_ruby_sdk/api/tax_service.rb +38 -0
  18. data/lib/masspay_ruby_sdk/api/user_service.rb +71 -0
  19. data/lib/masspay_ruby_sdk/api/wallet_service.rb +50 -0
  20. data/lib/masspay_ruby_sdk/client.rb +93 -0
  21. data/lib/masspay_ruby_sdk/constants.rb +20 -0
  22. data/lib/masspay_ruby_sdk/version.rb +6 -8
  23. data/lib/masspay_ruby_sdk.rb +23 -75
  24. data/masspay_ruby_sdk.gemspec +9 -13
  25. metadata +24 -120
  26. data/Rakefile +0 -10
  27. data/docs/AccountApi.md +0 -150
  28. data/docs/ApiResponse.md +0 -22
  29. data/docs/AttrTxn.md +0 -20
  30. data/docs/AttrValue.md +0 -20
  31. data/docs/AttrVelocityRequestInner.md +0 -20
  32. data/docs/AttributeApi.md +0 -168
  33. data/docs/AttrsRequirement.md +0 -36
  34. data/docs/AutopayResp.md +0 -22
  35. data/docs/AutopayRule.md +0 -20
  36. data/docs/AvailableBalanceTxnResp.md +0 -22
  37. data/docs/CardApi.md +0 -160
  38. data/docs/CatalogApi.md +0 -469
  39. data/docs/CompaniesResp.md +0 -18
  40. data/docs/Company.md +0 -26
  41. data/docs/Country.md +0 -22
  42. data/docs/Exception.md +0 -20
  43. data/docs/FoundUser.md +0 -24
  44. data/docs/GetAccountStatement200Response.md +0 -18
  45. data/docs/GetTransactionConfirmationDetails200Response.md +0 -18
  46. data/docs/GetUserAgreement200Response.md +0 -26
  47. data/docs/GetUserAgreementsNames200ResponseInner.md +0 -24
  48. data/docs/GetUserUserTokenKycAu10tix200Response.md +0 -18
  49. data/docs/GetUserUserTokenKycVeriff200Response.md +0 -18
  50. data/docs/GetWalletCardInfo200Response.md +0 -30
  51. data/docs/IDUpload.md +0 -20
  52. data/docs/KYCApi.md +0 -305
  53. data/docs/LoadApi.md +0 -621
  54. data/docs/LoadTxn.md +0 -32
  55. data/docs/LoadTxnResp.md +0 -20
  56. data/docs/Loads.md +0 -36
  57. data/docs/PayoutApi.md +0 -403
  58. data/docs/PayoutTxn.md +0 -36
  59. data/docs/PayoutTxnCommitResp.md +0 -24
  60. data/docs/PayoutTxnResp.md +0 -60
  61. data/docs/ResendBalanceNotification200Response.md +0 -18
  62. data/docs/Service.md +0 -22
  63. data/docs/ServicePayersInner.md +0 -38
  64. data/docs/ServicePayersInnerExchangeRateInner.md +0 -20
  65. data/docs/SpendBackApi.md +0 -161
  66. data/docs/SpendBackTxn.md +0 -28
  67. data/docs/SpendBackTxnResp.md +0 -22
  68. data/docs/SpendBacks.md +0 -34
  69. data/docs/StoredUser.md +0 -56
  70. data/docs/TaxApi.md +0 -81
  71. data/docs/TaxYearUserResp.md +0 -48
  72. data/docs/TxnHistoryResp.md +0 -52
  73. data/docs/UpdateUser.md +0 -52
  74. data/docs/User.md +0 -50
  75. data/docs/UserApi.md +0 -403
  76. data/docs/WalletApi.md +0 -463
  77. data/docs/WalletTxnResp.md +0 -34
  78. data/docs/logo.webp +0 -0
  79. data/lib/masspay_ruby_sdk/api/account_api.rb +0 -149
  80. data/lib/masspay_ruby_sdk/api/attribute_api.rb +0 -214
  81. data/lib/masspay_ruby_sdk/api/card_api.rb +0 -174
  82. data/lib/masspay_ruby_sdk/api/catalog_api.rb +0 -443
  83. data/lib/masspay_ruby_sdk/api/kyc_api.rb +0 -290
  84. data/lib/masspay_ruby_sdk/api/load_api.rb +0 -598
  85. data/lib/masspay_ruby_sdk/api/payout_api.rb +0 -397
  86. data/lib/masspay_ruby_sdk/api/spend_back_api.rb +0 -160
  87. data/lib/masspay_ruby_sdk/api/tax_api.rb +0 -82
  88. data/lib/masspay_ruby_sdk/api/user_api.rb +0 -418
  89. data/lib/masspay_ruby_sdk/api/wallet_api.rb +0 -461
  90. data/lib/masspay_ruby_sdk/api_client.rb +0 -391
  91. data/lib/masspay_ruby_sdk/api_error.rb +0 -57
  92. data/lib/masspay_ruby_sdk/configuration.rb +0 -315
  93. data/lib/masspay_ruby_sdk/models/api_response.rb +0 -236
  94. data/lib/masspay_ruby_sdk/models/attr_txn.rb +0 -235
  95. data/lib/masspay_ruby_sdk/models/attr_value.rb +0 -239
  96. data/lib/masspay_ruby_sdk/models/attr_velocity_request_inner.rb +0 -273
  97. data/lib/masspay_ruby_sdk/models/attrs_requirement.rb +0 -372
  98. data/lib/masspay_ruby_sdk/models/autopay_resp.rb +0 -256
  99. data/lib/masspay_ruby_sdk/models/autopay_rule.rb +0 -241
  100. data/lib/masspay_ruby_sdk/models/available_balance_txn_resp.rb +0 -254
  101. data/lib/masspay_ruby_sdk/models/companies_resp.rb +0 -225
  102. data/lib/masspay_ruby_sdk/models/company.rb +0 -285
  103. data/lib/masspay_ruby_sdk/models/country.rb +0 -296
  104. data/lib/masspay_ruby_sdk/models/exception.rb +0 -241
  105. data/lib/masspay_ruby_sdk/models/found_user.rb +0 -270
  106. data/lib/masspay_ruby_sdk/models/get_account_statement200_response.rb +0 -225
  107. data/lib/masspay_ruby_sdk/models/get_transaction_confirmation_details200_response.rb +0 -218
  108. data/lib/masspay_ruby_sdk/models/get_user_agreement200_response.rb +0 -280
  109. data/lib/masspay_ruby_sdk/models/get_user_agreements_names200_response_inner.rb +0 -270
  110. data/lib/masspay_ruby_sdk/models/get_user_user_token_kyc_au10tix200_response.rb +0 -224
  111. data/lib/masspay_ruby_sdk/models/get_user_user_token_kyc_veriff200_response.rb +0 -224
  112. data/lib/masspay_ruby_sdk/models/get_wallet_card_info200_response.rb +0 -460
  113. data/lib/masspay_ruby_sdk/models/id_upload.rb +0 -273
  114. data/lib/masspay_ruby_sdk/models/load_txn.rb +0 -321
  115. data/lib/masspay_ruby_sdk/models/load_txn_resp.rb +0 -273
  116. data/lib/masspay_ruby_sdk/models/loads.rb +0 -388
  117. data/lib/masspay_ruby_sdk/models/payout_txn.rb +0 -328
  118. data/lib/masspay_ruby_sdk/models/payout_txn_commit_resp.rb +0 -293
  119. data/lib/masspay_ruby_sdk/models/payout_txn_resp.rb +0 -613
  120. data/lib/masspay_ruby_sdk/models/resend_balance_notification200_response.rb +0 -225
  121. data/lib/masspay_ruby_sdk/models/service.rb +0 -318
  122. data/lib/masspay_ruby_sdk/models/service_payers_inner.rb +0 -373
  123. data/lib/masspay_ruby_sdk/models/service_payers_inner_exchange_rate_inner.rb +0 -239
  124. data/lib/masspay_ruby_sdk/models/spend_back_txn.rb +0 -325
  125. data/lib/masspay_ruby_sdk/models/spend_back_txn_resp.rb +0 -307
  126. data/lib/masspay_ruby_sdk/models/spend_backs.rb +0 -340
  127. data/lib/masspay_ruby_sdk/models/stored_user.rb +0 -500
  128. data/lib/masspay_ruby_sdk/models/tax_year_user_resp.rb +0 -388
  129. data/lib/masspay_ruby_sdk/models/txn_history_resp.rb +0 -571
  130. data/lib/masspay_ruby_sdk/models/update_user.rb +0 -490
  131. data/lib/masspay_ruby_sdk/models/user.rb +0 -423
  132. data/lib/masspay_ruby_sdk/models/wallet_txn_resp.rb +0 -375
  133. data/spec/api_client_spec.rb +0 -227
  134. data/spec/configuration_spec.rb +0 -41
  135. data/spec/spec_helper.rb +0 -110
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6a9546ea765d92fd6152037cafacd6126ed8a13867fea49bed5f19a6c18d614
4
- data.tar.gz: 8c843b6d6bbbff4d53486f9173f1f26fefe42569742077d8b91c3bb63c218f28
3
+ metadata.gz: a5f9fbf20daf1b90af82c5a9a52677812fafc0ff003d526794b4ecaec8340038
4
+ data.tar.gz: 401cfc228b0e4bbb5b5778749cc0cb60b3d0087ae386495079dfca25b66cce2e
5
5
  SHA512:
6
- metadata.gz: aa9b2ad6093a093a6cdc8f0072a058b1017cde4a7416e1e5a29b0a75d4aabf78b22300c1cc08b3687d6af4b29793fda6ccf9a9aa9d723fccd388ff932c56c44b
7
- data.tar.gz: 90c7318ec73feaa01bd585b9681f1037d911470ad256838415415540dd10daaaf331b3717ed7cb97f18e2d2403592fa7d98e49d1e1c08b16a9fbc723422616e0
6
+ metadata.gz: 0466c493f9a6084648d58133e50ddf33f70fa39f1a9d9a5b38440814369ac278e2864abb71a5c4e6fd39d8cba16712ffa7bf9b7146b235d9724aa3fddbdb2673
7
+ data.tar.gz: 741a599da95aac3c94d45e6e0311b469115e5df67d573316d45bf36772c37fb1f05d0af399a9c524d67b4fef63e8d8880acdf393dc8d9551447896a7f8e06dff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.0](https://github.com/masspayio/masspay-ruby-sdk/compare/v1.0.0...v2.0.0) (2024-07-19)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * new version of Ruby SDK with new OAS endpoints
9
+
10
+ ### Features
11
+
12
+ * new version of Ruby SDK with new OAS endpoints ([573281d](https://github.com/masspayio/masspay-ruby-sdk/commit/573281db7ef6f357bd4427b3af70bc74bb8a7170))
13
+ * upgrade to OAS v1.0.0 ([4ba1edb](https://github.com/masspayio/masspay-ruby-sdk/commit/4ba1edb7574fa29d45cae363474074f3e9451f30))
14
+
15
+ ## 2.0.0 (2024-04-15)
16
+
17
+ * BREAKING CHANGE: update SDK according to newest OAS and completetly new architecture that suits better for developers
18
+
3
19
  ## 1.0.0 (2023-11-15)
4
20
 
5
21
 
@@ -0,0 +1,43 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ - Using welcoming and inclusive language
12
+ - Being respectful of differing viewpoints and experiences
13
+ - Gracefully accepting constructive criticism
14
+ - Focusing on what is best for the community
15
+ - Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ - The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ - Trolling, insulting/derogatory comments, and personal or political attacks
21
+ - Public or private harassment
22
+ - Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ - Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [info@masspay.io](mailto:info@masspay.io). All complaints will be reviewed and investigated promptly and fairly.
38
+
39
+ All project team members are obligated to respect the privacy and security of the reporter of any incident.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
data/CONTRIBUTING.md CHANGED
@@ -1,13 +1,52 @@
1
- # Contributing
1
+ # Contributing to masspay_ruby_sdk
2
2
 
3
- ## Release new version
3
+ Thank you for considering contributing to masspay_ruby_sdk! We appreciate your efforts in helping to improve our project. Please take a moment to review this document for guidelines on how to contribute.
4
4
 
5
- All commit messages have to be in the format of the [conventionalcommits.org](https://conventionalcommits.org) specification.
5
+ ## Ways to Contribute
6
6
 
7
- 1. Make sure your are on the `main` branch.
8
- 2. Make sure you have committed everything and your code is working.
9
- 3. Run `npx standard-version`
10
- 4. Push your changes to the repository and the `main` branch.
11
- 5. The Github Action will automatically release a new version to rubygems.org (https://rubygems.org/gems/masspay_ruby_sdk).
7
+ There are several ways you can contribute to this project:
12
8
 
13
- For more detailed instructions read [standard-version documentation](https://github.com/conventional-changelog/standard-version).
9
+ - Reporting issues
10
+ - Suggesting enhancements
11
+ - Submitting pull requests for bug fixes or new features
12
+
13
+ ## How to Contribute
14
+
15
+ ### Reporting Issues
16
+
17
+ If you encounter any issues or bugs, please use the GitHub issue tracker to report them. When reporting issues, please provide as much detail as possible, including:
18
+
19
+ - A clear and descriptive title
20
+ - A detailed description of the issue
21
+ - Steps to reproduce the issue, if applicable
22
+ - Any relevant error messages or screenshots
23
+
24
+ ### Suggesting Enhancements
25
+
26
+ If you have suggestions for enhancements or new features, please feel free to open an issue on GitHub. Please provide a clear and detailed description of your suggestion, including why you think it would be beneficial for the project.
27
+
28
+ ### Submitting Pull Requests
29
+
30
+ We welcome pull requests for bug fixes, improvements, and new features. Before submitting a pull request, please ensure the following:
31
+
32
+ - Fork the repository and create a new branch for your changes.
33
+ - Make your changes, and provide clear and descriptive commit messages.
34
+ - Test your changes thoroughly.
35
+ - Ensure that your code follows the existing coding style and guidelines.
36
+ - Update any relevant documentation or examples to reflect your changes.
37
+
38
+ ## Testing
39
+
40
+ Run the IRB console to test the SDK:
41
+
42
+ ```bash
43
+ irb -I lib -r masspay_ruby_sdk
44
+ ```
45
+
46
+ Now you can use the MasspayRubySdk class to interact with the API in the console.
47
+
48
+ ## Contact
49
+
50
+ If you have any further questions or need assistance, please feel free to reach out to us at [info@masspay.io](mailto:info@masspay.io).
51
+
52
+ Thank you again for your interest in contributing to masspay_ruby_sdk
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 MassPay Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,197 +1,162 @@
1
- <img src="./docs/logo.webp" width="200" />
2
-
3
- # masspay_ruby_sdk ![Gem](https://img.shields.io/gem/v/masspay_ruby_sdk) ![Ruby](https://img.shields.io/badge/ruby->=%202.7-blue)
4
-
5
- MassPayRubySdk - the Ruby gem for the MassPay API
6
-
7
- MassPay API
8
-
9
- - API version: 0.1.4
10
- - Package version: 1.0.0
11
-
12
- For more information, please visit [https://www.masspay.io](https://www.masspay.io)
1
+ <div align='center' class='text-center'>
2
+ <img alt='' src='./assets/logo.webp' width='200' />
3
+ <h1 align='center' class='text-center'>masspay_ruby_sdk</h1>
4
+ </div>
5
+
6
+ <div align='center' class='text-center'>
7
+ <a aria-label='Version' href='#'>
8
+ <img alt='' src='https://img.shields.io/badge/version-2.0.0-blue' />
9
+ </a>
10
+ <a aria-label='License' href='https://opensource.org/licenses/MIT'>
11
+ <img alt='' src='https://img.shields.io/badge/License-MIT-blue.svg' />
12
+ </a>
13
+ </div>
14
+
15
+ <!---
16
+ Repository badges to consider: (https://github.com/aleen42/badges)
17
+ a. [![Build Status](https://travis-ci.com/username/repository.svg?branch=master)](https://travis-ci.com/)
18
+ b. [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
19
+ c. [![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)]()
20
+ d. [![Downloads](https://img.shields.io/badge/downloads-1000%2Fmonth-brightgreen.svg)]()
21
+ e. [![Contributors](https://img.shields.io/github/contributors/username/repository.svg)]()
22
+ --->
23
+
24
+ Welcome to our masspay_ruby_sdk. We are committed to providing you with the best SDK services experience possible. Please use our step-by-step instructions to become familiar with how to use our SDK.
25
+
26
+ - Current API version: 1.0.0
27
+ - Current package version: 2.0.0
28
+
29
+ ## Table of Contents
30
+
31
+ - [Requirements](#requirements)
32
+ - [Installation](#installation)
33
+ - [Usage](#usage)
34
+ - [Features](#features)
35
+ - [Contributing](#contributing)
36
+ - [License](#license)
37
+ - [Contact](#contact)
38
+ - [Frequently Asked Questions (FAQ)](#frequently-asked-questions-faq)
39
+
40
+ ## Requirements
41
+
42
+ <!--- Instructions on what the user must do before using the SDK. --->
43
+
44
+ - Ruby version >= 2.7.
45
+ - MassPay.io API credentials.
13
46
 
14
47
  ## Installation
15
48
 
16
- ### Bundler
49
+ <!--- Instructions on how to install and set up the SDK.--->
17
50
 
18
- ```shell
19
- bundle add masspay_ruby_sdk
20
- ```
51
+ Use this command to install masspay_ruby_sdk in your terminal.
21
52
 
22
- ### Global Installation
23
-
24
- ```shell
53
+ ```bash
25
54
  gem install masspay_ruby_sdk
26
55
  ```
27
56
 
28
- ## Getting Started
57
+ ## Usage
29
58
 
30
- Please follow the [installation](#installation) procedure and then run the following code:
59
+ <!--- Description how users can use the SDK.--->
31
60
 
32
- ### Ruby
61
+ In case that you successfully installed our masspay_ruby_sdk please execute this code:
33
62
 
34
63
  ```ruby
35
- # Load the gem
36
64
  require 'masspay_ruby_sdk'
37
65
 
38
- # Setup authorization
39
- MassPayRubySdk.configure do |config|
40
- # Configure API key authorization: AUTHORIZER_NAME
41
- config.api_key['AUTHORIZER_NAME'] = 'YOUR API KEY'
42
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
43
- config.api_key_prefix['AUTHORIZER_NAME'] = 'Bearer'
44
- end
45
-
46
- api_instance = MassPayRubySdk::AccountApi.new
47
-
48
- begin
49
- #Get current available balance
50
- result = api_instance.get_account_balance
51
- p result
52
- rescue MassPayRubySdk::ApiError => e
53
- puts "Exception when calling AccountApi->get_account_balance: #{e}"
54
- end
55
-
66
+ client = MasspayRubySdk.client({ bearer_auth: 'YOUR_BEARER_TOKEN' })
67
+ client.account_service.get_account_balance
56
68
  ```
57
69
 
58
- ### Rails
70
+ ## Features
59
71
 
60
- Create a file `config/initializers/masspay_ruby_sdk.rb` with the following content:
72
+ <!--- Highlighting the key features and capabilities of the SDK. --->
61
73
 
62
- ```ruby
74
+ Kindly note that every URI is relative to _https://api.masspay.io/v1.0.0_.
63
75
 
64
- # Setup authorization
65
- MassPayRubySdk.configure do |config|
66
- # Configure API key authorization: AUTHORIZER_NAME
67
- config.api_key['AUTHORIZER_NAME'] = 'YOUR API KEY'
68
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
69
- config.api_key_prefix['AUTHORIZER_NAME'] = 'Bearer'
70
- end
71
- ```
72
-
73
- Then call the API:
74
-
75
- ```ruby
76
- api_instance = MassPayRubySdk::AccountApi.new
77
-
78
- begin
79
- #Get current available balance
80
- result = api_instance.get_account_balance
81
- p result
82
- rescue MassPayRubySdk::ApiError => e
83
- puts "Exception when calling AccountApi->get_account_balance: #{e}"
84
- end
85
-
86
- ```
87
-
88
- ## Documentation for API Endpoints
89
-
90
- All URIs are relative to *https://api.masspay.io/v0.1.4*
76
+ The table displays all features categorized based on their specific purposes.
91
77
 
92
78
  Class | Method | HTTP request | Description
93
- ------------ | ------------- | ------------- | -------------
94
- *MassPayRubySdk::AccountApi* | [**get_account_balance**](docs/AccountApi.md#get_account_balance) | **GET** /account/balance | Get current available balance
95
- *MassPayRubySdk::AccountApi* | [**get_account_statement**](docs/AccountApi.md#get_account_statement) | **GET** /account/statement | Get certified account statement
96
- *MassPayRubySdk::AttributeApi* | [**get_attrs**](docs/AttributeApi.md#get_attrs) | **GET** /attribute/{user_token}/{destination_token}/{currency} | Get user attributes for destination_token
97
- *MassPayRubySdk::AttributeApi* | [**store_attrs**](docs/AttributeApi.md#store_attrs) | **POST** /attribute/{user_token}/{destination_token}/{currency} | Store user attributes
98
- *MassPayRubySdk::CardApi* | [**get_wallet_card_info**](docs/CardApi.md#get_wallet_card_info) | **GET** /wallet/{user_token}/{wallet_token}/card | Get MassPay Card Information
99
- *MassPayRubySdk::CardApi* | [**update_wallet_card_info**](docs/CardApi.md#update_wallet_card_info) | **PUT** /wallet/{user_token}/{wallet_token}/card | Update MassPay Card Information
100
- *MassPayRubySdk::CatalogApi* | [**get_cheapest_country_services**](docs/CatalogApi.md#get_cheapest_country_services) | **GET** /country/{country_code}/cheapest | Gets a list of Companies and their cheapest service offerings for the given country code.
101
- *MassPayRubySdk::CatalogApi* | [**get_country_list**](docs/CatalogApi.md#get_country_list) | **GET** /country/list | Gets a list of countries where services offered.
102
- *MassPayRubySdk::CatalogApi* | [**get_country_services**](docs/CatalogApi.md#get_country_services) | **GET** /country/{country_code} | Gets a list of Companies and their service offerings for the given country code.
103
- *MassPayRubySdk::CatalogApi* | [**get_destination_token_alternatives**](docs/CatalogApi.md#get_destination_token_alternatives) | **GET** /service/{destination_token}/alternatives | Returns list of alternative service to a provided service
104
- *MassPayRubySdk::CatalogApi* | [**get_user_agreement**](docs/CatalogApi.md#get_user_agreement) | **GET** /user-agreements | Get User Agreement
105
- *MassPayRubySdk::CatalogApi* | [**get_user_agreements_names**](docs/CatalogApi.md#get_user_agreements_names) | **OPTIONS** /user-agreements | Get Available User Agreements
106
- *MassPayRubySdk::KYCApi* | [**find_attributes_velocity**](docs/KYCApi.md#find_attributes_velocity) | **POST** /attribute/{user_token}/velocity | Attributes velocity check
107
- *MassPayRubySdk::KYCApi* | [**get_user_user_token_kyc_au10tix**](docs/KYCApi.md#get_user_user_token_kyc_au10tix) | **GET** /user/{user_token}/kyc/au10tix | Get an Au10tix session link
108
- *MassPayRubySdk::KYCApi* | [**get_user_user_token_kyc_veriff**](docs/KYCApi.md#get_user_user_token_kyc_veriff) | **GET** /user/{user_token}/kyc/veriff | Get a Veriff session link
109
- *MassPayRubySdk::KYCApi* | [**upload_id_photos**](docs/KYCApi.md#upload_id_photos) | **POST** /user/{user_token}/kyc/id | Upload ID Photos
110
- *MassPayRubySdk::LoadApi* | [**cancel_user_load**](docs/LoadApi.md#cancel_user_load) | **DELETE** /load/{user_token} | Reverse a user load
111
- *MassPayRubySdk::LoadApi* | [**create_autopay_rule**](docs/LoadApi.md#create_autopay_rule) | **POST** /wallet/{user_token}/{wallet_token}/autopay | Add autopay rule
112
- *MassPayRubySdk::LoadApi* | [**delete_autopay_rule**](docs/LoadApi.md#delete_autopay_rule) | **DELETE** /wallet/{user_token}/{wallet_token}/autopay | Delete autopay rule
113
- *MassPayRubySdk::LoadApi* | [**get_autopay_rules**](docs/LoadApi.md#get_autopay_rules) | **GET** /wallet/{user_token}/{wallet_token}/autopay | Get all autopay rules
114
- *MassPayRubySdk::LoadApi* | [**get_user_loads_by_token**](docs/LoadApi.md#get_user_loads_by_token) | **GET** /load/{user_token} | Get history of loads by user token
115
- *MassPayRubySdk::LoadApi* | [**load_user**](docs/LoadApi.md#load_user) | **POST** /load/{user_token} | Initiate a load transaction
116
- *MassPayRubySdk::LoadApi* | [**load_user_token_put**](docs/LoadApi.md#load_user_token_put) | **PUT** /load/{user_token} | Resend Load Notification
117
- *MassPayRubySdk::LoadApi* | [**resend_balance_notification**](docs/LoadApi.md#resend_balance_notification) | **PUT** /wallet/{user_token} | Resend Balance Notification
118
- *MassPayRubySdk::PayoutApi* | [**commit_payout_txn**](docs/PayoutApi.md#commit_payout_txn) | **PUT** /payout/{user_token}/{payout_token} | Commit payout transaction
119
- *MassPayRubySdk::PayoutApi* | [**get_payout_status**](docs/PayoutApi.md#get_payout_status) | **GET** /payout/{user_token}/{payout_token} | Get status of a payout by payout token
120
- *MassPayRubySdk::PayoutApi* | [**get_transaction_confirmation_details**](docs/PayoutApi.md#get_transaction_confirmation_details) | **PATCH** /payout/{user_token}/{payout_token} | Get transaction confirmation details
121
- *MassPayRubySdk::PayoutApi* | [**get_user_payouts_by_token**](docs/PayoutApi.md#get_user_payouts_by_token) | **GET** /payout/{user_token} | Get history of payouts by user token
122
- *MassPayRubySdk::PayoutApi* | [**initiate_payout**](docs/PayoutApi.md#initiate_payout) | **POST** /payout/{user_token} | Initiate a payout transaction
123
- *MassPayRubySdk::SpendBackApi* | [**get_user_spendbacks_by_token**](docs/SpendBackApi.md#get_user_spendbacks_by_token) | **GET** /spendback/{user_token} | Get history of spend backs by user token
124
- *MassPayRubySdk::SpendBackApi* | [**initiate_spendback**](docs/SpendBackApi.md#initiate_spendback) | **POST** /spendback/{user_token} | Initiate a spend back transaction
125
- *MassPayRubySdk::TaxApi* | [**get_tax_users**](docs/TaxApi.md#get_tax_users) | **GET** /tax | Get List Of Users Annual Balance
126
- *MassPayRubySdk::UserApi* | [**create_user**](docs/UserApi.md#create_user) | **POST** /user | Create a user
127
- *MassPayRubySdk::UserApi* | [**get_user_by_token**](docs/UserApi.md#get_user_by_token) | **GET** /user/{user_token} | Get user by user token
128
- *MassPayRubySdk::UserApi* | [**get_user_history**](docs/UserApi.md#get_user_history) | **GET** /user/{user_token}/history | Transactions history
129
- *MassPayRubySdk::UserApi* | [**update_user**](docs/UserApi.md#update_user) | **PUT** /user/{user_token} | Updated user
130
- *MassPayRubySdk::UserApi* | [**user_lookup**](docs/UserApi.md#user_lookup) | **GET** /user/lookup | Lookup an existing user
131
- *MassPayRubySdk::WalletApi* | [**create_autopay_rule**](docs/WalletApi.md#create_autopay_rule) | **POST** /wallet/{user_token}/{wallet_token}/autopay | Add autopay rule
132
- *MassPayRubySdk::WalletApi* | [**delete_autopay_rule**](docs/WalletApi.md#delete_autopay_rule) | **DELETE** /wallet/{user_token}/{wallet_token}/autopay | Delete autopay rule
133
- *MassPayRubySdk::WalletApi* | [**get_autopay_rules**](docs/WalletApi.md#get_autopay_rules) | **GET** /wallet/{user_token}/{wallet_token}/autopay | Get all autopay rules
134
- *MassPayRubySdk::WalletApi* | [**get_wallet**](docs/WalletApi.md#get_wallet) | **GET** /wallet/{user_token} | Retrieve all available wallets for a user
135
- *MassPayRubySdk::WalletApi* | [**get_wallet_card_info**](docs/WalletApi.md#get_wallet_card_info) | **GET** /wallet/{user_token}/{wallet_token}/card | Get MassPay Card Information
136
- *MassPayRubySdk::WalletApi* | [**update_wallet_card_info**](docs/WalletApi.md#update_wallet_card_info) | **PUT** /wallet/{user_token}/{wallet_token}/card | Update MassPay Card Information
137
-
138
-
139
- ## Documentation for Models
140
-
141
- - [MassPayRubySdk::ApiResponse](docs/ApiResponse.md)
142
- - [MassPayRubySdk::AttrTxn](docs/AttrTxn.md)
143
- - [MassPayRubySdk::AttrValue](docs/AttrValue.md)
144
- - [MassPayRubySdk::AttrVelocityRequestInner](docs/AttrVelocityRequestInner.md)
145
- - [MassPayRubySdk::AttrsRequirement](docs/AttrsRequirement.md)
146
- - [MassPayRubySdk::AutopayResp](docs/AutopayResp.md)
147
- - [MassPayRubySdk::AutopayRule](docs/AutopayRule.md)
148
- - [MassPayRubySdk::AvailableBalanceTxnResp](docs/AvailableBalanceTxnResp.md)
149
- - [MassPayRubySdk::CompaniesResp](docs/CompaniesResp.md)
150
- - [MassPayRubySdk::Company](docs/Company.md)
151
- - [MassPayRubySdk::Country](docs/Country.md)
152
- - [MassPayRubySdk::Exception](docs/Exception.md)
153
- - [MassPayRubySdk::FoundUser](docs/FoundUser.md)
154
- - [MassPayRubySdk::GetAccountStatement200Response](docs/GetAccountStatement200Response.md)
155
- - [MassPayRubySdk::GetTransactionConfirmationDetails200Response](docs/GetTransactionConfirmationDetails200Response.md)
156
- - [MassPayRubySdk::GetUserAgreement200Response](docs/GetUserAgreement200Response.md)
157
- - [MassPayRubySdk::GetUserAgreementsNames200ResponseInner](docs/GetUserAgreementsNames200ResponseInner.md)
158
- - [MassPayRubySdk::GetUserUserTokenKycAu10tix200Response](docs/GetUserUserTokenKycAu10tix200Response.md)
159
- - [MassPayRubySdk::GetUserUserTokenKycVeriff200Response](docs/GetUserUserTokenKycVeriff200Response.md)
160
- - [MassPayRubySdk::GetWalletCardInfo200Response](docs/GetWalletCardInfo200Response.md)
161
- - [MassPayRubySdk::IDUpload](docs/IDUpload.md)
162
- - [MassPayRubySdk::LoadTxn](docs/LoadTxn.md)
163
- - [MassPayRubySdk::LoadTxnResp](docs/LoadTxnResp.md)
164
- - [MassPayRubySdk::Loads](docs/Loads.md)
165
- - [MassPayRubySdk::PayoutTxn](docs/PayoutTxn.md)
166
- - [MassPayRubySdk::PayoutTxnCommitResp](docs/PayoutTxnCommitResp.md)
167
- - [MassPayRubySdk::PayoutTxnResp](docs/PayoutTxnResp.md)
168
- - [MassPayRubySdk::ResendBalanceNotification200Response](docs/ResendBalanceNotification200Response.md)
169
- - [MassPayRubySdk::Service](docs/Service.md)
170
- - [MassPayRubySdk::ServicePayersInner](docs/ServicePayersInner.md)
171
- - [MassPayRubySdk::ServicePayersInnerExchangeRateInner](docs/ServicePayersInnerExchangeRateInner.md)
172
- - [MassPayRubySdk::SpendBackTxn](docs/SpendBackTxn.md)
173
- - [MassPayRubySdk::SpendBackTxnResp](docs/SpendBackTxnResp.md)
174
- - [MassPayRubySdk::SpendBacks](docs/SpendBacks.md)
175
- - [MassPayRubySdk::StoredUser](docs/StoredUser.md)
176
- - [MassPayRubySdk::TaxYearUserResp](docs/TaxYearUserResp.md)
177
- - [MassPayRubySdk::TxnHistoryResp](docs/TxnHistoryResp.md)
178
- - [MassPayRubySdk::UpdateUser](docs/UpdateUser.md)
179
- - [MassPayRubySdk::User](docs/User.md)
180
- - [MassPayRubySdk::WalletTxnResp](docs/WalletTxnResp.md)
181
-
182
-
183
- ## Documentation for Authorization
184
-
185
-
186
- ### AUTHORIZER_NAME
187
-
188
-
189
- - **Type**: API key
190
- - **API key parameter name**: Authorization
191
- - **Location**: HTTP header
192
-
193
-
194
- ## Author
195
-
196
- info@masspay.io
197
-
79
+ ------------ | ------------- | ------------- | -------------
80
+ _MasspayRubySdk.account_service_ | **get_account_balance** | **GET** /payout/account/balance | Get current available balance
81
+ _MasspayRubySdk.account_service_ | **get_account_statement** | **GET** /payout/account/statement | Get certified account statement
82
+ _MasspayRubySdk.attribute_service_ | **get_all_attrs** | **GET** /payout/attribute/{user_token} | Get all stored user attributes
83
+ _MasspayRubySdk.attribute_service_ | **store_attrs** | **POST** /payout/attribute/{user_token}/{destination_token}/{currency} | Store user attributes
84
+ _MasspayRubySdk.attribute_service_ | **get_attrs** | **GET** /payout/attribute/{user_token}/{destination_token}/{currency} | Get user attributes for destination_token
85
+ _MasspayRubySdk.card_service_ | **get_wallet_card_info** | **GET** /payout/wallet/{user_token}/{wallet_token}/card | Get MassPay card information
86
+ _MasspayRubySdk.card_service_ | **update_wallet_card_info** | **PUT** /payout/wallet/{user_token}/{wallet_token}/card | Update MassPay card information
87
+ _MasspayRubySdk.catalog_service_ | **get_country_list** | **GET** /payout/country/list | Gets a list of countries where services offered.
88
+ _MasspayRubySdk.catalog_service_ | **get_country_services** | **GET** /payout/country/{country_code} | Gets a list of Companies and their service offerings for the given country code.
89
+ _MasspayRubySdk.catalog_service_ | **get_cheapest_country_services** | **GET** /payout/country/{country_code}/cheapest | Gets a list of Companies and their cheapest service offerings for the given country code.
90
+ _MasspayRubySdk.catalog_service_ | **get_destination_token_alternatives** | **GET** /payout/service/{destination_token}/alternatives | Returns list of alternative service to a provided service
91
+ _MasspayRubySdk.catalog_service_ | **get_destination_token** | **GET** /payout/service/{destination_token} | Returns provided service
92
+ _MasspayRubySdk.catalog_service_ | **get_user_agreement** | **GET** /payout/user-agreements | Get user agreement
93
+ _MasspayRubySdk.catalog_service_ | **get_user_agreements_names** | **OPTIONS** /payout/user-agreements | Get available user agreements
94
+ _MasspayRubySdk.kyc_service_ | **find_attributes_velocity** | **POST** /payout/attribute/{user_token}/velocity | Attributes velocity check
95
+ _MasspayRubySdk.kyc_service_ | **get_user_user_token_kyc_au_10_tix** | **GET** /payout/user/{user_token}/kyc/au10tix | Get an Au10tix session link
96
+ _MasspayRubySdk.kyc_service_ | **upload_id_photos** | **POST** /payout/user/{user_token}/kyc/id | Upload ID photos
97
+ _MasspayRubySdk.kyc_service_ | **get_user_user_token_kyc_attempts** | **GET** /payout/user/{user_token}/kyc/id | Get all KYC sessions
98
+ _MasspayRubySdk.kyc_service_ | **get_user_user_token_kyc_veriff** | **GET** /payout/user/{user_token}/kyc/veriff | Get a Veriff session link
99
+ _MasspayRubySdk.load_service_ | **resend_balance_notification** | **PUT** /payout/wallet/{user_token} | Resend balance notification
100
+ _MasspayRubySdk.load_service_ | **load_user** | **POST** /payout/load/{user_token} | Initiate a load transaction
101
+ _MasspayRubySdk.load_service_ | **get_user_loads_by_token** | **GET** /payout/load/{user_token} | Get history of loads by user token
102
+ _MasspayRubySdk.load_service_ | **resend_load_notification** | **PUT** /payout/load/{user_token} | Resend load notification
103
+ _MasspayRubySdk.load_service_ | **cancel_user_load** | **DELETE** /payout/load/{user_token} | Reverse a user load
104
+ _MasspayRubySdk.payout_service_ | **initiate_payout** | **POST** /payout/{user_token} | Initiate a payout transaction
105
+ _MasspayRubySdk.payout_service_ | **get_user_payouts_by_token** | **GET** /payout/{user_token} | Get history of payouts by user token
106
+ _MasspayRubySdk.payout_service_ | **commit_payout_txn** | **PUT** /payout/{user_token}/{payout_token} | Commit payout transaction
107
+ _MasspayRubySdk.payout_service_ | **get_payout_status** | **GET** /payout/{user_token}/{payout_token} | Get status of a payout by payout token
108
+ _MasspayRubySdk.payout_service_ | **get_transaction_confirmation_details** | **PATCH** /payout/{user_token}/{payout_token} | Get transaction confirmation details
109
+ _MasspayRubySdk.spend_back_service_ | **get_user_spendbacks_by_token** | **GET** /payout/spendback/{user_token} | Get history of spend backs by user token
110
+ _MasspayRubySdk.spend_back_service_ | **initiate_spendback** | **POST** /payout/spendback/{user_token} | Initiate a spend back transaction
111
+ _MasspayRubySdk.subaccount_service_ | **create_subaccount** | **POST** /subaccount | Create a subaccount
112
+ _MasspayRubySdk.subaccount_service_ | **get_subaccount_subaccount_token_ubo** | **POST** /subaccount/{subaccount_token}/ubo | Add UBOs to subaccount
113
+ _MasspayRubySdk.subaccount_service_ | **upload_subaccount_ubo_id** | **POST** /subaccount/{subaccount_token}/ubo/{ubo_token}/id | Upload UBO ID photos
114
+ _MasspayRubySdk.tax_service_ | **get_tax_users** | **GET** /payout/tax | Get list of users' annual balance
115
+ _MasspayRubySdk.tax_service_ | **get_tax_interview_link** | **GET** /payout/{user_token}/tax | Get link for tax interview
116
+ _MasspayRubySdk.user_service_ | **create_user** | **POST** /payout/user | Create a user
117
+ _MasspayRubySdk.user_service_ | **get_user_by_token** | **GET** /payout/user/{user_token} | Get user by user token
118
+ _MasspayRubySdk.user_service_ | **update_user** | **PUT** /payout/user/{user_token} | Updated user
119
+ _MasspayRubySdk.user_service_ | **user_lookup** | **GET** /payout/user/lookup | Lookup an existing user
120
+ _MasspayRubySdk.user_service_ | **get_user_history** | **GET** /payout/user/{user_token}/history | Transactions history
121
+ _MasspayRubySdk.user_service_ | **get_all_users_history** | **GET** /payout/user/history | All Users' Transactions history
122
+ _MasspayRubySdk.wallet_service_ | **get_wallet** | **GET** /payout/wallet/{user_token} | Retrieve all available wallets for a user
123
+ _MasspayRubySdk.wallet_service_ | **get_autopayout_rules** | **GET** /payout/wallet/{user_token}/{wallet_token}/autopayout | Get all AutoPayout rules
124
+ _MasspayRubySdk.wallet_service_ | **create_autopayout_rule** | **POST** /payout/wallet/{user_token}/{wallet_token}/autopayout | Add AutoPayout rule
125
+ _MasspayRubySdk.wallet_service_ | **delete_autopayout_rule** | **DELETE** /payout/wallet/{user_token}/{wallet_token}/autopayout | Delete AutoPayout rule
126
+
127
+
128
+ ## Contributing
129
+
130
+ <!--- Explaining how users can contribute to the project. Include guidelines for bug reports, feature requests, and pull requests.--->
131
+
132
+ To learn more about the possibility of contributing to the subsequent development of this SDK, please visit our [contributing page](./CONTRIBUTING.md). Kindly note that contributions are limited by a unique set of rules in order to ensure clarity.
133
+
134
+ ## License
135
+
136
+ <!--- Including the license information for your project and the specification of the license type (e.g., MIT, Apache 2.0). --->
137
+
138
+ Please refer to the [license page](./LICENSE) for more information about the license type and the corresponding terms of use.
139
+
140
+ ## Contact
141
+
142
+ <!--- Providing contact information or links to relevant communication channels (e.g., email, Slack, Gitter).--->
143
+
144
+ We kindly request that you direct all questions to our support email:
145
+
146
+ - [info@masspay.io](mailto:info@masspay.io)
147
+
148
+ ## Frequently Asked Questions (FAQ)
149
+
150
+ <!--- Including a section addressing frequently asked questions about the SDK.--->
151
+
152
+ **Q: Where may I obtain an API key?**
153
+ A: Please visit our [registration page](https://developers.masspay.io/) if you do not have your unique API key.
154
+
155
+ <!--- Questions that can be prefilled
156
+ What are the main functions or features supported by the SDK?
157
+ Are there any examples or tutorials to help me understand how to use the SDK effectively?
158
+ How can I get help or assistance if I encounter issues while using the SDK?
159
+ How often is the SDK updated, and how can users stay informed about updates?
160
+ Are there any best practices recommended for maintaining security while using the SDK?
161
+ What are the licensing terms for using the SDK?
162
+ --->
data/assets/logo.webp ADDED
Binary file
@@ -0,0 +1,35 @@
1
+ =begin
2
+ MassPay API
3
+
4
+ The version of the OpenAPI document: 1.0.0
5
+ Contact: info@masspay.io
6
+
7
+ NOTE: This file is auto generated. Do not edit the file manually.
8
+ =end
9
+
10
+ require 'cgi'
11
+
12
+ module MasspayRubySdk
13
+ class AccountService
14
+
15
+ def initialize(client)
16
+ @client = client ||= Client.new
17
+ end
18
+
19
+ # Get current available balance
20
+ # GET /payout/account/balance
21
+ def get_account_balance
22
+ @client.get("payout/account/balance")
23
+ end
24
+
25
+ # Get certified account statement
26
+ # GET /payout/account/statement
27
+ # @param query_params The query parameters
28
+ def get_account_statement query_params={}
29
+ @client.get("payout/account/statement") do |req|
30
+ req.params = query_params
31
+ end
32
+ end
33
+
34
+ end
35
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ MassPay API
3
+
4
+ The version of the OpenAPI document: 1.0.0
5
+ Contact: info@masspay.io
6
+
7
+ NOTE: This file is auto generated. Do not edit the file manually.
8
+ =end
9
+
10
+ require 'cgi'
11
+
12
+ module MasspayRubySdk
13
+ class AttributeService
14
+
15
+ def initialize(client)
16
+ @client = client ||= Client.new
17
+ end
18
+
19
+ # Get all stored user attributes
20
+ # GET /payout/attribute/{user_token}
21
+ def get_all_attrs user_token
22
+ @client.get("payout/attribute/#{user_token}")
23
+ end
24
+
25
+ # Store user attributes
26
+ # POST /payout/attribute/{user_token}/{destination_token}/{currency}
27
+ # @param body The body of the request
28
+ def store_attrs user_token, destination_token, currency, body
29
+ @client.post("payout/attribute/#{user_token}/#{destination_token}/#{currency}") do |req|
30
+ req.body = body
31
+ end
32
+ end
33
+
34
+ # Get user attributes for destination_token
35
+ # GET /payout/attribute/{user_token}/{destination_token}/{currency}
36
+ def get_attrs user_token, destination_token, currency
37
+ @client.get("payout/attribute/#{user_token}/#{destination_token}/#{currency}")
38
+ end
39
+
40
+ end
41
+ end