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
(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.
PaymentProcessorAuthorizationCodeRequestBody paymentProcessorAuthorizationCodeRequestBody =newPaymentProcessorAuthorizationCodeRequestBody(); // PaymentProcessorAuthorizationCodeRequestBody | The scope for the authorization code.
1531
+
try {
1532
+
PaymentProcessorAuthorizationCodeResponseBody result = apiInstance.deprecatedRequestPaymentProcessorAuthorizationCode(paymentProcessorAuthorizationCodeRequestBody);
1533
+
System.out.println(result);
1534
+
} catch (ApiException e) {
1535
+
System.err.println("Exception when calling MxPlatformApi#deprecatedRequestPaymentProcessorAuthorizationCode");
**paymentProcessorAuthorizationCodeRequestBody** | [**PaymentProcessorAuthorizationCodeRequestBody**](PaymentProcessorAuthorizationCodeRequestBody.md)| The scope for the authorization code. |
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.
AuthorizationCodeRequestBody authorizationCodeRequestBody =newAuthorizationCodeRequestBody(); // AuthorizationCodeRequestBody | The scope for the authorization code.
5577
+
try {
5578
+
AuthorizationCodeResponseBody result = apiInstance.requestAuthorizationCode(authorizationCodeRequestBody);
5579
+
System.out.println(result);
5580
+
} catch (ApiException e) {
5581
+
System.err.println("Exception when calling MxPlatformApi#requestAuthorizationCode");
0 commit comments