@@ -79,6 +79,9 @@ Method | HTTP request | Description
7979[ ** readUser** ] ( MxPlatformApi.md#readUser ) | ** GET** /users/{user_guid} | Read user
8080[ ** requestConnectWidgetURL** ] ( MxPlatformApi.md#requestConnectWidgetURL ) | ** POST** /users/{user_guid}/connect_widget_url | Request connect widget url
8181[ ** requestOAuthWindowURI** ] ( MxPlatformApi.md#requestOAuthWindowURI ) | ** GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Request oauth window uri
82+ [ ** requestPaymentAccount** ] ( MxPlatformApi.md#requestPaymentAccount ) | ** GET** /payment_account | Request payment account
83+ [ ** requestPaymentProcessorAuthorizationCode** ] ( MxPlatformApi.md#requestPaymentProcessorAuthorizationCode ) | ** POST** /payment_processor_authorization_code | Request payment processor authorization code
84+ [ ** requestPaymentProcessorToken** ] ( MxPlatformApi.md#requestPaymentProcessorToken ) | ** POST** /payment_processor_token | Request payment processor token
8285[ ** requestWidgetURL** ] ( MxPlatformApi.md#requestWidgetURL ) | ** POST** /users/{user_guid}/widget_urls | Request widget url
8386[ ** resumeAggregation** ] ( MxPlatformApi.md#resumeAggregation ) | ** PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation
8487[ ** updateAccountByMember** ] ( MxPlatformApi.md#updateAccountByMember ) | ** PUT** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Update account by member
@@ -5462,6 +5465,207 @@ Name | Type | Description | Notes
54625465| -------------| -------------| ------------------|
54635466** 200** | OK | - |
54645467
5468+ <a name =" requestPaymentAccount " ></a >
5469+ # ** requestPaymentAccount**
5470+ > PaymentAccountResponseBody requestPaymentAccount()
5471+
5472+ Request payment account
5473+
5474+ Use this endpoint to request a payment account.
5475+
5476+ ### Example
5477+ ``` java
5478+ // Import classes:
5479+ import com.mx.client.ApiClient ;
5480+ import com.mx.client.ApiException ;
5481+ import com.mx.client.Configuration ;
5482+ import com.mx.client.auth.* ;
5483+ import com.mx.client.models.* ;
5484+ import com.mx.client.mx_platform_api.MxPlatformApi ;
5485+
5486+ public class Example {
5487+ public static void main (String [] args ) {
5488+ ApiClient defaultClient = Configuration . getDefaultApiClient();
5489+ defaultClient. setBasePath(" https://api.mx.com" );
5490+
5491+ // Configure HTTP bearer authorization: bearerAuth
5492+ HttpBearerAuth bearerAuth = (HttpBearerAuth ) defaultClient. getAuthentication(" bearerAuth" );
5493+ bearerAuth. setBearerToken(" BEARER TOKEN" );
5494+
5495+ MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
5496+ try {
5497+ PaymentAccountResponseBody result = apiInstance. requestPaymentAccount();
5498+ System . out. println(result);
5499+ } catch (ApiException e) {
5500+ System . err. println(" Exception when calling MxPlatformApi#requestPaymentAccount" );
5501+ System . err. println(" Status code: " + e. getCode());
5502+ System . err. println(" Reason: " + e. getResponseBody());
5503+ System . err. println(" Response headers: " + e. getResponseHeaders());
5504+ e. printStackTrace();
5505+ }
5506+ }
5507+ }
5508+ ```
5509+
5510+ ### Parameters
5511+ This endpoint does not need any parameter.
5512+
5513+ ### Return type
5514+
5515+ [ ** PaymentAccountResponseBody** ] ( PaymentAccountResponseBody.md )
5516+
5517+ ### Authorization
5518+
5519+ [ bearerAuth] ( ../README.md#bearerAuth )
5520+
5521+ ### HTTP request headers
5522+
5523+ - ** Content-Type** : Not defined
5524+ - ** Accept** : application/vnd.mx.api.v1+json
5525+
5526+ ### HTTP response details
5527+ | Status code | Description | Response headers |
5528+ | -------------| -------------| ------------------|
5529+ ** 200** | OK | - |
5530+
5531+ <a name =" requestPaymentProcessorAuthorizationCode " ></a >
5532+ # ** requestPaymentProcessorAuthorizationCode**
5533+ > PaymentProcessorAuthorizationCodeResponseBody requestPaymentProcessorAuthorizationCode(paymentProcessorAuthorizationCodeRequestBody)
5534+
5535+ Request payment processor authorization code
5536+
5537+ Use this endpoint to request a payment processor authorization code.
5538+
5539+ ### Example
5540+ ``` java
5541+ // Import classes:
5542+ import com.mx.client.ApiClient ;
5543+ import com.mx.client.ApiException ;
5544+ import com.mx.client.Configuration ;
5545+ import com.mx.client.auth.* ;
5546+ import com.mx.client.models.* ;
5547+ import com.mx.client.mx_platform_api.MxPlatformApi ;
5548+
5549+ public class Example {
5550+ public static void main (String [] args ) {
5551+ ApiClient defaultClient = Configuration . getDefaultApiClient();
5552+ defaultClient. setBasePath(" https://api.mx.com" );
5553+
5554+ // Configure HTTP basic authorization: basicAuth
5555+ HttpBasicAuth basicAuth = (HttpBasicAuth ) defaultClient. getAuthentication(" basicAuth" );
5556+ basicAuth. setUsername(" YOUR USERNAME" );
5557+ basicAuth. setPassword(" YOUR PASSWORD" );
5558+
5559+ MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
5560+ PaymentProcessorAuthorizationCodeRequestBody paymentProcessorAuthorizationCodeRequestBody = new PaymentProcessorAuthorizationCodeRequestBody (); // PaymentProcessorAuthorizationCodeRequestBody | Payment processor authorization code object containing account_guid, member_guid, and user_guid.
5561+ try {
5562+ PaymentProcessorAuthorizationCodeResponseBody result = apiInstance. requestPaymentProcessorAuthorizationCode(paymentProcessorAuthorizationCodeRequestBody);
5563+ System . out. println(result);
5564+ } catch (ApiException e) {
5565+ System . err. println(" Exception when calling MxPlatformApi#requestPaymentProcessorAuthorizationCode" );
5566+ System . err. println(" Status code: " + e. getCode());
5567+ System . err. println(" Reason: " + e. getResponseBody());
5568+ System . err. println(" Response headers: " + e. getResponseHeaders());
5569+ e. printStackTrace();
5570+ }
5571+ }
5572+ }
5573+ ```
5574+
5575+ ### Parameters
5576+
5577+ Name | Type | Description | Notes
5578+ ------------- | ------------- | ------------- | -------------
5579+ ** paymentProcessorAuthorizationCodeRequestBody** | [ ** PaymentProcessorAuthorizationCodeRequestBody** ] ( PaymentProcessorAuthorizationCodeRequestBody.md ) | Payment processor authorization code object containing account_guid, member_guid, and user_guid. |
5580+
5581+ ### Return type
5582+
5583+ [ ** PaymentProcessorAuthorizationCodeResponseBody** ] ( PaymentProcessorAuthorizationCodeResponseBody.md )
5584+
5585+ ### Authorization
5586+
5587+ [ basicAuth] ( ../README.md#basicAuth )
5588+
5589+ ### HTTP request headers
5590+
5591+ - ** Content-Type** : application/json
5592+ - ** Accept** : application/vnd.mx.api.v1+json
5593+
5594+ ### HTTP response details
5595+ | Status code | Description | Response headers |
5596+ | -------------| -------------| ------------------|
5597+ ** 200** | OK | - |
5598+
5599+ <a name =" requestPaymentProcessorToken " ></a >
5600+ # ** requestPaymentProcessorToken**
5601+ > PaymentProcessorTokenResponseBody requestPaymentProcessorToken(code, grantType)
5602+
5603+ Request payment processor token
5604+
5605+ Use this endpoint to request a payment processor token.
5606+
5607+ ### Example
5608+ ``` java
5609+ // Import classes:
5610+ import com.mx.client.ApiClient ;
5611+ import com.mx.client.ApiException ;
5612+ import com.mx.client.Configuration ;
5613+ import com.mx.client.auth.* ;
5614+ import com.mx.client.models.* ;
5615+ import com.mx.client.mx_platform_api.MxPlatformApi ;
5616+
5617+ public class Example {
5618+ public static void main (String [] args ) {
5619+ ApiClient defaultClient = Configuration . getDefaultApiClient();
5620+ defaultClient. setBasePath(" https://api.mx.com" );
5621+
5622+ // Configure HTTP basic authorization: basicAuth
5623+ HttpBasicAuth basicAuth = (HttpBasicAuth ) defaultClient. getAuthentication(" basicAuth" );
5624+ basicAuth. setUsername(" YOUR USERNAME" );
5625+ basicAuth. setPassword(" YOUR PASSWORD" );
5626+
5627+ MxPlatformApi apiInstance = new MxPlatformApi (defaultClient);
5628+ String code = " sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM" ; // String | Code to request processor token.
5629+ String grantType = " authorization_code" ; // String | Specify grant type.
5630+ try {
5631+ PaymentProcessorTokenResponseBody result = apiInstance. requestPaymentProcessorToken(code, grantType);
5632+ System . out. println(result);
5633+ } catch (ApiException e) {
5634+ System . err. println(" Exception when calling MxPlatformApi#requestPaymentProcessorToken" );
5635+ System . err. println(" Status code: " + e. getCode());
5636+ System . err. println(" Reason: " + e. getResponseBody());
5637+ System . err. println(" Response headers: " + e. getResponseHeaders());
5638+ e. printStackTrace();
5639+ }
5640+ }
5641+ }
5642+ ```
5643+
5644+ ### Parameters
5645+
5646+ Name | Type | Description | Notes
5647+ ------------- | ------------- | ------------- | -------------
5648+ ** code** | ** String** | Code to request processor token. | [ optional]
5649+ ** grantType** | ** String** | Specify grant type. | [ optional]
5650+
5651+ ### Return type
5652+
5653+ [ ** PaymentProcessorTokenResponseBody** ] ( PaymentProcessorTokenResponseBody.md )
5654+
5655+ ### Authorization
5656+
5657+ [ basicAuth] ( ../README.md#basicAuth )
5658+
5659+ ### HTTP request headers
5660+
5661+ - ** Content-Type** : Not defined
5662+ - ** Accept** : application/vnd.mx.api.v1+json
5663+
5664+ ### HTTP response details
5665+ | Status code | Description | Response headers |
5666+ | -------------| -------------| ------------------|
5667+ ** 200** | OK | - |
5668+
54655669<a name =" requestWidgetURL " ></a >
54665670# ** requestWidgetURL**
54675671> WidgetResponseBody requestWidgetURL(userGuid, widgetRequestBody, acceptLanguage)
0 commit comments