You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
(This endpoint is deprecated. Clients should use `/authorization_code`.) Clients use this endpoint to request an authorization_code according to a user, member, and account specified in the request body. Clients then pass this code to processors. Processor access is scoped only to the user/member/account specified in this request. Before requesting an authorization_code, clients must have verified the specified member.
1817
+
1818
+
### Example
1819
+
1820
+
* Basic Authentication (basicAuth):
1821
+
1822
+
```python
1823
+
import time
1824
+
import mx_platform_python
1825
+
from mx_platform_python.api import mx_platform_api
1826
+
from mx_platform_python.model.payment_processor_authorization_code_request_body import PaymentProcessorAuthorizationCodeRequestBody
1827
+
from mx_platform_python.model.payment_processor_authorization_code_response_body import PaymentProcessorAuthorizationCodeResponseBody
1828
+
from pprint import pprint
1829
+
# Defining the host is optional and defaults to https://api.mx.com
1830
+
# See configuration.py for a list of all supported configuration parameters.
1831
+
configuration = mx_platform_python.Configuration(
1832
+
host="https://api.mx.com"
1833
+
)
1834
+
1835
+
# The client must configure the authentication and authorization parameters
1836
+
# in accordance with the API server security policy.
1837
+
# Examples for each auth method are provided below, use the example that
1838
+
# satisfies your auth use case.
1839
+
1840
+
# Configure HTTP basic authorization: basicAuth
1841
+
configuration = mx_platform_python.Configuration(
1842
+
username='YOUR_USERNAME',
1843
+
password='YOUR_PASSWORD'
1844
+
)
1845
+
1846
+
# Enter a context with an instance of the API client
1847
+
with mx_platform_python.ApiClient(configuration) as api_client:
**payment_processor_authorization_code_request_body** | [**PaymentProcessorAuthorizationCodeRequestBody**](PaymentProcessorAuthorizationCodeRequestBody.md)| The scope for the authorization code. |
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -6569,6 +6656,89 @@ Name | Type | Description | Notes
6569
6656
-**Accept**: application/vnd.mx.api.v1+json
6570
6657
6571
6658
6659
+
### HTTP response details
6660
+
6661
+
| Status code | Description | Response headers |
6662
+
|-------------|-------------|------------------|
6663
+
**200** | OK | - |
6664
+
6665
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Clients use this endpoint to request an authorization code according to the parameters specified in the scope. Clients then pass this code to processors. Processor access is scoped only to the GUIDs and features specified in this request. Before requesting an authorization code which includes a member in the scope, clients must have verified that member.
6673
+
6674
+
### Example
6675
+
6676
+
* Basic Authentication (basicAuth):
6677
+
6678
+
```python
6679
+
import time
6680
+
import mx_platform_python
6681
+
from mx_platform_python.api import mx_platform_api
6682
+
from mx_platform_python.model.authorization_code_request_body import AuthorizationCodeRequestBody
6683
+
from mx_platform_python.model.authorization_code_response_body import AuthorizationCodeResponseBody
6684
+
from pprint import pprint
6685
+
# Defining the host is optional and defaults to https://api.mx.com
6686
+
# See configuration.py for a list of all supported configuration parameters.
6687
+
configuration = mx_platform_python.Configuration(
6688
+
host="https://api.mx.com"
6689
+
)
6690
+
6691
+
# The client must configure the authentication and authorization parameters
6692
+
# in accordance with the API server security policy.
6693
+
# Examples for each auth method are provided below, use the example that
6694
+
# satisfies your auth use case.
6695
+
6696
+
# Configure HTTP basic authorization: basicAuth
6697
+
configuration = mx_platform_python.Configuration(
6698
+
username='YOUR_USERNAME',
6699
+
password='YOUR_PASSWORD'
6700
+
)
6701
+
6702
+
# Enter a context with an instance of the API client
6703
+
with mx_platform_python.ApiClient(configuration) as api_client:
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
11
+
12
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments