POST api/AcceptOffer
Request Information
URI Parameters
None.
Body Parameters
AcceptOfferRequestName | Description | Type | Additional information |
---|---|---|---|
RequestAgentType | string |
None. |
|
RequestAgent | string |
None. |
|
username | string |
None. |
|
password | string |
None. |
|
ApplicationID | integer |
None. |
|
MerchantNumber | integer |
None. |
|
MerchantReferenceNumber | string |
None. |
|
ApplicationGUID | string |
None. |
|
UserHasAccepted | boolean |
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", "ApplicationID": 5, "MerchantNumber": 6, "MerchantReferenceNumber": "sample string 7", "ApplicationGUID": "sample string 8", "UserHasAccepted": true, "ExtendedData": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
application/xml, text/xml
Sample:
<AcceptOfferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Progressive.Web.Api.Library.Models.AcceptOffer"> <ApplicationGUID>sample string 8</ApplicationGUID> <ApplicationID>5</ApplicationID> <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>6</MerchantNumber> <MerchantReferenceNumber>sample string 7</MerchantReferenceNumber> <RequestAgent>sample string 2</RequestAgent> <RequestAgentType>sample string 1</RequestAgentType> <UserHasAccepted>true</UserHasAccepted> <password>sample string 4</password> <username>sample string 3</username> </AcceptOfferRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AcceptOfferResponseName | Description | Type | Additional information |
---|---|---|---|
DecisionCode | string |
None. |
|
PortalURL | string |
None. |
|
CardNumber | integer |
None. |
|
ApplicationID | integer |
None. |
|
AccountNumber | string |
None. |
|
AvailableCredit | decimal number |
None. |
|
MerchantReferenceNumber | string |
None. |
|
ApprovalAmount | decimal number |
None. |
|
Messages | Collection of string |
None. |
|
ApplicationGUID | string |
None. |
|
CreatedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "DecisionCode": "sample string 1", "PortalURL": "sample string 2", "CardNumber": 3, "ApplicationID": 4, "AccountNumber": "sample string 5", "AvailableCredit": 6.0, "MerchantReferenceNumber": "sample string 7", "ApprovalAmount": 8.0, "Messages": [ "sample string 1", "sample string 2" ], "ApplicationGUID": "sample string 9", "CreatedDate": "2025-04-04T14:29:43.6437436-05:00" }
application/xml, text/xml
Sample:
<AcceptOfferResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Progressive.Web.Api.Library.Models.AcceptOffer"> <AccountNumber>sample string 5</AccountNumber> <ApplicationGUID>sample string 9</ApplicationGUID> <ApplicationID>4</ApplicationID> <ApprovalAmount>8</ApprovalAmount> <AvailableCredit>6</AvailableCredit> <CardNumber>3</CardNumber> <CreatedDate>2025-04-04T14:29:43.6437436-05:00</CreatedDate> <DecisionCode>sample string 1</DecisionCode> <MerchantReferenceNumber>sample string 7</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> <PortalURL>sample string 2</PortalURL> </AcceptOfferResponse>