Retrieves information about merchant account.
This method will return details about your merchant account. It is useful for determining what functionality your account supports.
For example this method can help you determine if your account includes support for check processing, multiple currencies or cardholder authentication.
AccountDetails getAccountDetails ( ueSecurityToken Token )
Type |
Name |
Description |
Token |
Merchant security token: used to identify merchant and validate transaction. |
Returns details pertaining to the merchant account requested, including the name of their credit card platform, the merchant's type of industry, whether the merchant account supports check processing, type of cardholder authentication and an array of currencies supported by the account. |
<?php
try {
$details = $client->getAccountDetails($token);
}
catch(SoapFault $e) {
echo "soap fault: " .$e->getMessage();
}
?>
try {
AccountDetails Account = new AccountDetails();
Account = client.getAccountDetails(token);
} catch (Exception e) {
System.out.println("Soap Exception: " + e.getMessage());
}
Dim response As eBizCharge.AccountDetails = New eBizCharge.AccountDetails
response = client.getAccountDetails(token)
MsgBox(response.CreditCardPlatform)
eBizCharge.AccountDetails merchant = new eBizCharge.AccountDetails();
try
{
merchant = client.getAccountDetails(token);
MessageBox.Show(string.Concat(merchant.CreditCardPlatform));
}
catch (Exception err)
{
MessageBox.Show(err.Message);
}
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="urn:eBizCharge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:getAccountDetails>
<Token xsi:type="ns1:ueSecurityToken">
<ClientIP xsi:type="xsd:string">192.168.0.1</ClientIP>
<PinHash xsi:type="ns1:ueHash">
<HashValue xsi:type="xsd:string">11ac55b0a0b59f8f028dbf85bc32266fa973dd0e</HashValue>
<Seed xsi:type="xsd:string">12678150211876663375</Seed>
<Type xsi:type="xsd:string">sha1</Type>
</PinHash>
<SourceKey xsi:type="xsd:string">HB4P7C4K2w2ZCQQQXRqrxDj6agrS2NIT</SourceKey>
</Token>
</ns1:getAccountDetails>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>