public class AccountManagementClient extends AmazonPayClient
connectionManager, payConfiguration, requestSigner| Constructor and Description |
|---|
AccountManagementClient(PayConfiguration payConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
AmazonPayResponse |
createMerchantAccount(org.json.JSONObject payload,
Map<String,String> header)
Creates a new merchant account in Amazon Pay.
|
AmazonPayResponse |
merchantAccountClaim(String merchantAccountId,
org.json.JSONObject payload,
Map<String,String> header)
Claims an existing merchant account using the provided Merchant Account ID.
|
AmazonPayResponse |
updateMerchantAccount(String merchantAccountId,
org.json.JSONObject payload,
Map<String,String> header)
Updates a merchant account for the given Merchant Account ID.
|
callAPI, deleteAmazonPayAccount, deleteAmazonPayAccount, deliveryTracker, deliveryTracker, generateButtonSignature, generateButtonSignature, getAuthorizationToken, getClosableHttpClientWithConnectionPool, getClosableHttpClientWithPoolAndProxy, getPoolStats, registerAmazonPayAccount, registerAmazonPayAccount, updateAmazonPayAccount, updateAmazonPayAccountpublic AccountManagementClient(PayConfiguration payConfiguration) throws AmazonPayClientException
AmazonPayClientExceptionpublic AmazonPayResponse createMerchantAccount(org.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
payload - JSONObject containing the request body with merchant details.header - MapAmazonPayClientException - When an error response is returned by Amazon Pay due to a bad request or other issue.public AmazonPayResponse updateMerchantAccount(String merchantAccountId, org.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
merchantAccountId - Internal Merchant Account ID provided while calling the API.payload - JSONObject containing the request body with updated merchant account details.header - MapAmazonPayClientException - When an error response is returned by Amazon Pay due to a bad request or other issue.public AmazonPayResponse merchantAccountClaim(String merchantAccountId, org.json.JSONObject payload, Map<String,String> header) throws AmazonPayClientException
merchantAccountId - Internal Merchant Account ID for the claim request.payload - JSONObject containing the request body required for the claim process.header - MapAmazonPayClientException - When an error response is returned by Amazon Pay due to a bad request or other issue.Copyright © 2025. All rights reserved.