POST api/AccountLookup/ByAccount
Request Information
URI Parameters
None.
Body Parameters
AccountLookupByAccountRequestName | Description | Type | Additional information |
---|---|---|---|
RequestAgentType | string |
None. |
|
RequestAgent | string |
None. |
|
username | string |
None. |
|
password | string |
None. |
|
AccountNumber | string |
None. |
|
ApplicationID | integer |
None. |
|
CardNumber | integer |
None. |
|
MerchantReferenceNumber | string |
None. |
|
AccountGUID | string |
None. |
|
MerchantNumber | integer |
None. |
|
ExtendedData | Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "RequestAgentType": "sample string 1", "RequestAgent": "sample string 2", "username": "sample string 3", "password": "sample string 4", "AccountNumber": "sample string 5", "ApplicationID": 6, "CardNumber": 7, "MerchantReferenceNumber": "sample string 8", "AccountGUID": "sample string 9", "MerchantNumber": 10, "ExtendedData": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
application/xml, text/xml
Sample:
<AccountLookupByAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Progressive.Web.Api.Library.Models.AccountLookup"> <AccountGUID>sample string 9</AccountGUID> <AccountNumber>sample string 5</AccountNumber> <ApplicationID>6</ApplicationID> <CardNumber>7</CardNumber> <ExtendedData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ExtendedData> <MerchantNumber>10</MerchantNumber> <MerchantReferenceNumber>sample string 8</MerchantReferenceNumber> <RequestAgent>sample string 2</RequestAgent> <RequestAgentType>sample string 1</RequestAgentType> <password>sample string 4</password> <username>sample string 3</username> </AccountLookupByAccountRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccountLookupByAccountResponseName | Description | Type | Additional information |
---|---|---|---|
CardNumber | integer |
None. |
|
ApplicationID | integer |
None. |
|
AccountNumber | string |
None. |
|
MerchantReferenceNumber | string |
None. |
|
AvailableCredit | decimal number |
None. |
|
PlanCode | string |
None. |
|
ZipCode | string |
None. |
|
FullName | string |
None. |
|
MerchantNumber | integer |
None. |
|
MerchantName | string |
None. |
|
StoreNumber | string |
None. |
|
ExpirationDate | date |
None. |
|
Messages | Collection of string |
None. |
|
Status | string |
None. |
|
DecisionCode | string |
None. |
|
ApprovalAmount | decimal number |
None. |
|
AccountGUID | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CardNumber": 1, "ApplicationID": 2, "AccountNumber": "sample string 3", "MerchantReferenceNumber": "sample string 4", "AvailableCredit": 5.0, "PlanCode": "sample string 6", "ZipCode": "sample string 7", "FullName": "sample string 8", "MerchantNumber": 9, "MerchantName": "sample string 10", "StoreNumber": "sample string 11", "ExpirationDate": "2025-04-04T15:17:48.1732923-05:00", "Messages": [ "sample string 1", "sample string 2" ], "Status": "sample string 12", "DecisionCode": "sample string 13", "ApprovalAmount": 14.0, "AccountGUID": "sample string 15" }
application/xml, text/xml
Sample:
<AccountLookupByAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Progressive.Web.Api.Library.Models.AccountLookup"> <AccountGUID>sample string 15</AccountGUID> <AccountNumber>sample string 3</AccountNumber> <ApplicationID>2</ApplicationID> <ApprovalAmount>14</ApprovalAmount> <AvailableCredit>5</AvailableCredit> <CardNumber>1</CardNumber> <DecisionCode>sample string 13</DecisionCode> <ExpirationDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-04-04T20:17:48.1732923Z</d2p1:DateTime> <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes> </ExpirationDate> <FullName>sample string 8</FullName> <MerchantName>sample string 10</MerchantName> <MerchantNumber>9</MerchantNumber> <MerchantReferenceNumber>sample string 4</MerchantReferenceNumber> <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Messages> <PlanCode>sample string 6</PlanCode> <Status>sample string 12</Status> <StoreNumber>sample string 11</StoreNumber> <ZipCode>sample string 7</ZipCode> </AccountLookupByAccountResponse>