mx-platform-ruby 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/docs/CredentialResponse.md +3 -1
  4. data/docs/MxPlatformApi.md +51 -51
  5. data/docs/{PaymentAccountResponse.md → PartnerAccountResponse.md} +2 -2
  6. data/docs/PartnerAccountResponseBody.md +18 -0
  7. data/docs/{PaymentProcessorAuthorizationCodeRequest.md → PartnerAuthorizationCodeRequest.md} +2 -2
  8. data/docs/PartnerAuthorizationCodeRequestBody.md +18 -0
  9. data/docs/{PaymentProcessorAuthorizationCodeResponse.md → PartnerAuthorizationCodeResponse.md} +2 -2
  10. data/docs/PartnerAuthorizationCodeResponseBody.md +18 -0
  11. data/docs/{PaymentProcessorTokenResponseBody.md → PartnerTokenResponseBody.md} +3 -3
  12. data/lib/mx-platform-ruby/api/mx_platform_api.rb +54 -54
  13. data/lib/mx-platform-ruby/models/credential_response.rb +15 -5
  14. data/lib/mx-platform-ruby/models/{payment_account_response.rb → partner_account_response.rb} +3 -3
  15. data/lib/mx-platform-ruby/models/{payment_account_response_body.rb → partner_account_response_body.rb} +10 -10
  16. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_request.rb → partner_authorization_code_request.rb} +3 -3
  17. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_request_body.rb → partner_authorization_code_request_body.rb} +10 -10
  18. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_response.rb → partner_authorization_code_response.rb} +3 -3
  19. data/lib/mx-platform-ruby/models/{payment_processor_authorization_code_response_body.rb → partner_authorization_code_response_body.rb} +10 -10
  20. data/lib/mx-platform-ruby/models/{payment_processor_token_response_body.rb → partner_token_response_body.rb} +3 -3
  21. data/lib/mx-platform-ruby/version.rb +1 -1
  22. data/lib/mx-platform-ruby.rb +7 -7
  23. data/openapi/config.yml +1 -1
  24. data/spec/api/mx_platform_api_spec.rb +19 -19
  25. data/spec/models/credential_response_spec.rb +6 -0
  26. data/spec/models/{payment_account_response_body_spec.rb → partner_account_response_body_spec.rb} +7 -7
  27. data/spec/models/{payment_account_response_spec.rb → partner_account_response_spec.rb} +6 -6
  28. data/spec/models/{payment_processor_authorization_code_request_body_spec.rb → partner_authorization_code_request_body_spec.rb} +7 -7
  29. data/spec/models/{payment_processor_authorization_code_request_spec.rb → partner_authorization_code_request_spec.rb} +6 -6
  30. data/spec/models/{payment_processor_authorization_code_response_body_spec.rb → partner_authorization_code_response_body_spec.rb} +7 -7
  31. data/spec/models/{payment_processor_authorization_code_response_spec.rb → partner_authorization_code_response_spec.rb} +6 -6
  32. data/spec/models/{payment_processor_token_response_body_spec.rb → partner_token_response_body_spec.rb} +6 -6
  33. metadata +118 -118
  34. data/docs/PaymentAccountResponseBody.md +0 -18
  35. data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +0 -18
  36. data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +0 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9b7bf8cec23929cbf30de63f0882a276aaf37635577cb805acd1bd9afc9110d
4
- data.tar.gz: 3bdab1f7207bb87e83d8ad6d709b964d2f0d26ea1e4282b61beae2e5301627a8
3
+ metadata.gz: ab1410816217c5640a8be2c03f446b82f6d6a7c16b763dea4ccc6fd799159a4d
4
+ data.tar.gz: 46f442533a80fb1dd5b493165ca8c19b7aa14098f6c0b6e0fb3502f202fbf86e
5
5
  SHA512:
6
- metadata.gz: 2a23569dc78294f1114f252c26b1dd703731bbb14db753e190352c8a871d9432cff4641ad8579d272bc0ea1379022ea4d80bd328d03deaaa5f2f936d0363efd4
7
- data.tar.gz: 4f17b42abd95b66f216a06a40600d9334b90d9d9c66d13a4e0de5120389af09a2cd06c1fe5c6f71f80d280491985949f9ba99cb79ee176676fdd620d1de37e5a
6
+ metadata.gz: 9aa1bdc51335fc40aec94e32b1e3c4997d97ad8d8a0959d70a0ae03d167dd822dad08befc47f79e91effa63e8982fb98e0d68d64c11af3f4b4aeada263717c06
7
+ data.tar.gz: ced2787f5809d0dada6503a97c4147517c7a086c47c217d50a4cdd7846d1c1c5466c2e0c53c4a52fd5a675166688c610a9e318031e5a77be435473f459fec448
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.11.0)
4
+ mx-platform-ruby (0.12.0)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -37,8 +37,8 @@ GEM
37
37
  jaro_winkler (1.5.4)
38
38
  method_source (1.0.0)
39
39
  multipart-post (2.1.1)
40
- parallel (1.21.0)
41
- parser (3.1.1.0)
40
+ parallel (1.22.1)
41
+ parser (3.1.2.0)
42
42
  ast (~> 2.4.1)
43
43
  pry (0.13.1)
44
44
  coderay (~> 1.1)
@@ -59,7 +59,7 @@ GEM
59
59
  rspec-expectations (3.11.0)
60
60
  diff-lcs (>= 1.2.0, < 2.0)
61
61
  rspec-support (~> 3.11.0)
62
- rspec-mocks (3.11.0)
62
+ rspec-mocks (3.11.1)
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.11.0)
65
65
  rspec-support (3.11.0)
@@ -87,4 +87,4 @@ DEPENDENCIES
87
87
  rubocop (~> 0.66.0)
88
88
 
89
89
  BUNDLED WITH
90
- 2.3.8
90
+ 2.3.11
@@ -9,6 +9,7 @@
9
9
  | **field_type** | **String** | | [optional] |
10
10
  | **guid** | **String** | | [optional] |
11
11
  | **label** | **String** | | [optional] |
12
+ | **type** | **String** | | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = MxPlatformRuby::CredentialResponse.new(
20
21
  field_name: LOGIN,
21
22
  field_type: TEXT,
22
23
  guid: CRD-1ec152cd-e628-e81a-e852-d1e7104624da,
23
- label: Username
24
+ label: Username,
25
+ type: TEXT
24
26
  )
25
27
  ```
26
28
 
@@ -79,9 +79,9 @@ All URIs are relative to *https://api.mx.com*
79
79
  | [**read_user**](MxPlatformApi.md#read_user) | **GET** /users/{user_guid} | Read user |
80
80
  | [**request_connect_widget_url**](MxPlatformApi.md#request_connect_widget_url) | **POST** /users/{user_guid}/connect_widget_url | Request connect widget url |
81
81
  | [**request_o_auth_window_uri**](MxPlatformApi.md#request_o_auth_window_uri) | **GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Request oauth window uri |
82
- | [**request_payment_account**](MxPlatformApi.md#request_payment_account) | **GET** /payment_account | Request payment account |
83
- | [**request_payment_processor_authorization_code**](MxPlatformApi.md#request_payment_processor_authorization_code) | **POST** /payment_processor_authorization_code | Request payment processor authorization code |
84
- | [**request_payment_processor_token**](MxPlatformApi.md#request_payment_processor_token) | **POST** /payment_processor_token | Request payment processor token |
82
+ | [**request_partner_account**](MxPlatformApi.md#request_partner_account) | **GET** /partner_account | Request partner account |
83
+ | [**request_partner_authorization_code**](MxPlatformApi.md#request_partner_authorization_code) | **POST** /partner_authorization_code | Request partner authorization code |
84
+ | [**request_partner_token**](MxPlatformApi.md#request_partner_token) | **POST** /partner_token | Request partner token |
85
85
  | [**request_widget_url**](MxPlatformApi.md#request_widget_url) | **POST** /users/{user_guid}/widget_urls | Request widget url |
86
86
  | [**resume_aggregation**](MxPlatformApi.md#resume_aggregation) | **PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation |
87
87
  | [**update_account_by_member**](MxPlatformApi.md#update_account_by_member) | **PUT** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Update account by member |
@@ -830,7 +830,7 @@ end
830
830
 
831
831
  Create user
832
832
 
833
- Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
833
+ Use this endpoint to create a new user. The API will respond with the newly-created user object if successful. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that user’s data until they are no longer disabled.
834
834
 
835
835
  ### Examples
836
836
 
@@ -5677,13 +5677,13 @@ end
5677
5677
  - **Accept**: application/vnd.mx.api.v1+json
5678
5678
 
5679
5679
 
5680
- ## request_payment_account
5680
+ ## request_partner_account
5681
5681
 
5682
- > <PaymentAccountResponseBody> request_payment_account
5682
+ > <PartnerAccountResponseBody> request_partner_account
5683
5683
 
5684
- Request payment account
5684
+ Request partner account
5685
5685
 
5686
- Use this endpoint to request a payment account.
5686
+ Use this endpoint to request a partner account.
5687
5687
 
5688
5688
  ### Examples
5689
5689
 
@@ -5699,29 +5699,29 @@ end
5699
5699
  api_instance = MxPlatformRuby::MxPlatformApi.new
5700
5700
 
5701
5701
  begin
5702
- # Request payment account
5703
- result = api_instance.request_payment_account
5702
+ # Request partner account
5703
+ result = api_instance.request_partner_account
5704
5704
  p result
5705
5705
  rescue MxPlatformRuby::ApiError => e
5706
- puts "Error when calling MxPlatformApi->request_payment_account: #{e}"
5706
+ puts "Error when calling MxPlatformApi->request_partner_account: #{e}"
5707
5707
  end
5708
5708
  ```
5709
5709
 
5710
- #### Using the request_payment_account_with_http_info variant
5710
+ #### Using the request_partner_account_with_http_info variant
5711
5711
 
5712
5712
  This returns an Array which contains the response data, status code and headers.
5713
5713
 
5714
- > <Array(<PaymentAccountResponseBody>, Integer, Hash)> request_payment_account_with_http_info
5714
+ > <Array(<PartnerAccountResponseBody>, Integer, Hash)> request_partner_account_with_http_info
5715
5715
 
5716
5716
  ```ruby
5717
5717
  begin
5718
- # Request payment account
5719
- data, status_code, headers = api_instance.request_payment_account_with_http_info
5718
+ # Request partner account
5719
+ data, status_code, headers = api_instance.request_partner_account_with_http_info
5720
5720
  p status_code # => 2xx
5721
5721
  p headers # => { ... }
5722
- p data # => <PaymentAccountResponseBody>
5722
+ p data # => <PartnerAccountResponseBody>
5723
5723
  rescue MxPlatformRuby::ApiError => e
5724
- puts "Error when calling MxPlatformApi->request_payment_account_with_http_info: #{e}"
5724
+ puts "Error when calling MxPlatformApi->request_partner_account_with_http_info: #{e}"
5725
5725
  end
5726
5726
  ```
5727
5727
 
@@ -5731,7 +5731,7 @@ This endpoint does not need any parameter.
5731
5731
 
5732
5732
  ### Return type
5733
5733
 
5734
- [**PaymentAccountResponseBody**](PaymentAccountResponseBody.md)
5734
+ [**PartnerAccountResponseBody**](PartnerAccountResponseBody.md)
5735
5735
 
5736
5736
  ### Authorization
5737
5737
 
@@ -5743,13 +5743,13 @@ This endpoint does not need any parameter.
5743
5743
  - **Accept**: application/vnd.mx.api.v1+json
5744
5744
 
5745
5745
 
5746
- ## request_payment_processor_authorization_code
5746
+ ## request_partner_authorization_code
5747
5747
 
5748
- > <PaymentProcessorAuthorizationCodeResponseBody> request_payment_processor_authorization_code(payment_processor_authorization_code_request_body)
5748
+ > <PartnerAuthorizationCodeResponseBody> request_partner_authorization_code(partner_authorization_code_request_body)
5749
5749
 
5750
- Request payment processor authorization code
5750
+ Request partner authorization code
5751
5751
 
5752
- Use this endpoint to request a payment processor authorization code.
5752
+ Use this endpoint to request a partner authorization code.
5753
5753
 
5754
5754
  ### Examples
5755
5755
 
@@ -5764,32 +5764,32 @@ MxPlatformRuby.configure do |config|
5764
5764
  end
5765
5765
 
5766
5766
  api_instance = MxPlatformRuby::MxPlatformApi.new
5767
- payment_processor_authorization_code_request_body = MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody.new # PaymentProcessorAuthorizationCodeRequestBody | Payment processor authorization code object containing account_guid, member_guid, and user_guid.
5767
+ partner_authorization_code_request_body = MxPlatformRuby::PartnerAuthorizationCodeRequestBody.new # PartnerAuthorizationCodeRequestBody | Partner authorization code object containing account_guid, member_guid, and user_guid.
5768
5768
 
5769
5769
  begin
5770
- # Request payment processor authorization code
5771
- result = api_instance.request_payment_processor_authorization_code(payment_processor_authorization_code_request_body)
5770
+ # Request partner authorization code
5771
+ result = api_instance.request_partner_authorization_code(partner_authorization_code_request_body)
5772
5772
  p result
5773
5773
  rescue MxPlatformRuby::ApiError => e
5774
- puts "Error when calling MxPlatformApi->request_payment_processor_authorization_code: #{e}"
5774
+ puts "Error when calling MxPlatformApi->request_partner_authorization_code: #{e}"
5775
5775
  end
5776
5776
  ```
5777
5777
 
5778
- #### Using the request_payment_processor_authorization_code_with_http_info variant
5778
+ #### Using the request_partner_authorization_code_with_http_info variant
5779
5779
 
5780
5780
  This returns an Array which contains the response data, status code and headers.
5781
5781
 
5782
- > <Array(<PaymentProcessorAuthorizationCodeResponseBody>, Integer, Hash)> request_payment_processor_authorization_code_with_http_info(payment_processor_authorization_code_request_body)
5782
+ > <Array(<PartnerAuthorizationCodeResponseBody>, Integer, Hash)> request_partner_authorization_code_with_http_info(partner_authorization_code_request_body)
5783
5783
 
5784
5784
  ```ruby
5785
5785
  begin
5786
- # Request payment processor authorization code
5787
- data, status_code, headers = api_instance.request_payment_processor_authorization_code_with_http_info(payment_processor_authorization_code_request_body)
5786
+ # Request partner authorization code
5787
+ data, status_code, headers = api_instance.request_partner_authorization_code_with_http_info(partner_authorization_code_request_body)
5788
5788
  p status_code # => 2xx
5789
5789
  p headers # => { ... }
5790
- p data # => <PaymentProcessorAuthorizationCodeResponseBody>
5790
+ p data # => <PartnerAuthorizationCodeResponseBody>
5791
5791
  rescue MxPlatformRuby::ApiError => e
5792
- puts "Error when calling MxPlatformApi->request_payment_processor_authorization_code_with_http_info: #{e}"
5792
+ puts "Error when calling MxPlatformApi->request_partner_authorization_code_with_http_info: #{e}"
5793
5793
  end
5794
5794
  ```
5795
5795
 
@@ -5797,11 +5797,11 @@ end
5797
5797
 
5798
5798
  | Name | Type | Description | Notes |
5799
5799
  | ---- | ---- | ----------- | ----- |
5800
- | **payment_processor_authorization_code_request_body** | [**PaymentProcessorAuthorizationCodeRequestBody**](PaymentProcessorAuthorizationCodeRequestBody.md) | Payment processor authorization code object containing account_guid, member_guid, and user_guid. | |
5800
+ | **partner_authorization_code_request_body** | [**PartnerAuthorizationCodeRequestBody**](PartnerAuthorizationCodeRequestBody.md) | Partner authorization code object containing account_guid, member_guid, and user_guid. | |
5801
5801
 
5802
5802
  ### Return type
5803
5803
 
5804
- [**PaymentProcessorAuthorizationCodeResponseBody**](PaymentProcessorAuthorizationCodeResponseBody.md)
5804
+ [**PartnerAuthorizationCodeResponseBody**](PartnerAuthorizationCodeResponseBody.md)
5805
5805
 
5806
5806
  ### Authorization
5807
5807
 
@@ -5813,13 +5813,13 @@ end
5813
5813
  - **Accept**: application/vnd.mx.api.v1+json
5814
5814
 
5815
5815
 
5816
- ## request_payment_processor_token
5816
+ ## request_partner_token
5817
5817
 
5818
- > <PaymentProcessorTokenResponseBody> request_payment_processor_token(opts)
5818
+ > <PartnerTokenResponseBody> request_partner_token(opts)
5819
5819
 
5820
- Request payment processor token
5820
+ Request partner token
5821
5821
 
5822
- Use this endpoint to request a payment processor token.
5822
+ Use this endpoint to request a partner token.
5823
5823
 
5824
5824
  ### Examples
5825
5825
 
@@ -5835,34 +5835,34 @@ end
5835
5835
 
5836
5836
  api_instance = MxPlatformRuby::MxPlatformApi.new
5837
5837
  opts = {
5838
- code: 'sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM', # String | Code to request processor token.
5838
+ code: 'sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM', # String | Code to request partner token.
5839
5839
  grant_type: 'authorization_code' # String | Specify grant type.
5840
5840
  }
5841
5841
 
5842
5842
  begin
5843
- # Request payment processor token
5844
- result = api_instance.request_payment_processor_token(opts)
5843
+ # Request partner token
5844
+ result = api_instance.request_partner_token(opts)
5845
5845
  p result
5846
5846
  rescue MxPlatformRuby::ApiError => e
5847
- puts "Error when calling MxPlatformApi->request_payment_processor_token: #{e}"
5847
+ puts "Error when calling MxPlatformApi->request_partner_token: #{e}"
5848
5848
  end
5849
5849
  ```
5850
5850
 
5851
- #### Using the request_payment_processor_token_with_http_info variant
5851
+ #### Using the request_partner_token_with_http_info variant
5852
5852
 
5853
5853
  This returns an Array which contains the response data, status code and headers.
5854
5854
 
5855
- > <Array(<PaymentProcessorTokenResponseBody>, Integer, Hash)> request_payment_processor_token_with_http_info(opts)
5855
+ > <Array(<PartnerTokenResponseBody>, Integer, Hash)> request_partner_token_with_http_info(opts)
5856
5856
 
5857
5857
  ```ruby
5858
5858
  begin
5859
- # Request payment processor token
5860
- data, status_code, headers = api_instance.request_payment_processor_token_with_http_info(opts)
5859
+ # Request partner token
5860
+ data, status_code, headers = api_instance.request_partner_token_with_http_info(opts)
5861
5861
  p status_code # => 2xx
5862
5862
  p headers # => { ... }
5863
- p data # => <PaymentProcessorTokenResponseBody>
5863
+ p data # => <PartnerTokenResponseBody>
5864
5864
  rescue MxPlatformRuby::ApiError => e
5865
- puts "Error when calling MxPlatformApi->request_payment_processor_token_with_http_info: #{e}"
5865
+ puts "Error when calling MxPlatformApi->request_partner_token_with_http_info: #{e}"
5866
5866
  end
5867
5867
  ```
5868
5868
 
@@ -5870,12 +5870,12 @@ end
5870
5870
 
5871
5871
  | Name | Type | Description | Notes |
5872
5872
  | ---- | ---- | ----------- | ----- |
5873
- | **code** | **String** | Code to request processor token. | [optional] |
5873
+ | **code** | **String** | Code to request partner token. | [optional] |
5874
5874
  | **grant_type** | **String** | Specify grant type. | [optional] |
5875
5875
 
5876
5876
  ### Return type
5877
5877
 
5878
- [**PaymentProcessorTokenResponseBody**](PaymentProcessorTokenResponseBody.md)
5878
+ [**PartnerTokenResponseBody**](PartnerTokenResponseBody.md)
5879
5879
 
5880
5880
  ### Authorization
5881
5881
 
@@ -6791,7 +6791,7 @@ end
6791
6791
 
6792
6792
  Update user
6793
6793
 
6794
- Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
6794
+ Use this endpoint to update the attributes of the specified user.
6795
6795
 
6796
6796
  ### Examples
6797
6797
 
@@ -1,4 +1,4 @@
1
- # MxPlatformRuby::PaymentAccountResponse
1
+ # MxPlatformRuby::PartnerAccountResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@
17
17
  ```ruby
18
18
  require 'mx-platform-ruby'
19
19
 
20
- instance = MxPlatformRuby::PaymentAccountResponse.new(
20
+ instance = MxPlatformRuby::PartnerAccountResponse.new(
21
21
  account_name: My Savings,
22
22
  account_number: 1858091489,
23
23
  account_type: SAVINGS,
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PartnerAccountResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **partner_account** | [**PartnerAccountResponse**](PartnerAccountResponse.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PartnerAccountResponseBody.new(
15
+ partner_account: null
16
+ )
17
+ ```
18
+
@@ -1,4 +1,4 @@
1
- # MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest
1
+ # MxPlatformRuby::PartnerAuthorizationCodeRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'mx-platform-ruby'
15
15
 
16
- instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest.new(
16
+ instance = MxPlatformRuby::PartnerAuthorizationCodeRequest.new(
17
17
  account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
18
18
  member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
19
19
  user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PartnerAuthorizationCodeRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **partner_authorization_code** | [**PartnerAuthorizationCodeRequest**](PartnerAuthorizationCodeRequest.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PartnerAuthorizationCodeRequestBody.new(
15
+ partner_authorization_code: null
16
+ )
17
+ ```
18
+
@@ -1,4 +1,4 @@
1
- # MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse
1
+ # MxPlatformRuby::PartnerAuthorizationCodeResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'mx-platform-ruby'
13
13
 
14
- instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse.new(
14
+ instance = MxPlatformRuby::PartnerAuthorizationCodeResponse.new(
15
15
  authorization_code: sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM
16
16
  )
17
17
  ```
@@ -0,0 +1,18 @@
1
+ # MxPlatformRuby::PartnerAuthorizationCodeResponseBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **partner_authorization_code** | [**PartnerAuthorizationCodeResponse**](PartnerAuthorizationCodeResponse.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'mx-platform-ruby'
13
+
14
+ instance = MxPlatformRuby::PartnerAuthorizationCodeResponseBody.new(
15
+ partner_authorization_code: null
16
+ )
17
+ ```
18
+
@@ -1,4 +1,4 @@
1
- # MxPlatformRuby::PaymentProcessorTokenResponseBody
1
+ # MxPlatformRuby::PartnerTokenResponseBody
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,9 +13,9 @@
13
13
  ```ruby
14
14
  require 'mx-platform-ruby'
15
15
 
16
- instance = MxPlatformRuby::PaymentProcessorTokenResponseBody.new(
16
+ instance = MxPlatformRuby::PartnerTokenResponseBody.new(
17
17
  access_token: jUmJS4AZVdvywAMO_JWKwZ8fvY9ZZQINSBHTKkHMw-c,
18
- scope: payment_accounts,
18
+ scope: Platform#partner_accounts,
19
19
  token_type: bearer
20
20
  )
21
21
  ```