Exclusive PingPost Specification | Shared PingPost Specification

Demo operates on a directpost or pingpost system for paydayloans leads.

Global description
You send your Lead data,HTTP, XML or JSON formatted, in the body of an HTTP POST request. The XML consists of 4 sections of interest:

Fixed pricing and Minimum required pricing are supported. These need to be discussed with our account manager.

LeadData
Format
<LeadData Target="Lead.Insert" Partner="xxx" Password="ppp" RequestTime="YYYY-mm-dd HH:MM:SS" UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" OriginalURL="http://www.exampleURL.com" SessionLength="7" TransactionId="3A015A43-CD25-4EF5-BD82-5C19C1F40408" TCPAText="tcpa">

You receive the following parameters from our account manager:

Target is the way you want to post us your lead.
Lead.Insert means inserting the lead as a direct post
Lead.Ping means ping us the lead (and a lot of contact data isn't mandatory then)
Lead.Post means post us the lead (after sending us a ping first) and then the transactionId field is mantory. The transactionId you receive from us with the ping response.

RequestTime equals the time the request was issued (Format "YYYY-mm-dd HH:MM:SS")
Remark: all dates in the XML request are in this format.

UserAgent is a string that identifies the user's internet browser or other tools from which the lead was sent, this field is not mandatory.

OriginalURL is the URL of the original source, this field is not mandatory.

SessionLength is how long a user spent on a form before submitting (in seconds), this field is not mandatory

TransactionId Can be the TransactionId of your tracking system or when working with us via ping/post tree it is the transactionId you receive from us on the ping and then this field is mandatory when posting a lead afer a ping transaction.

TCPA is the compliancy text a user must agree to according to the Telephone Consumer Protection Act before submitting. For instance: "By clicking Get My Quotes, I authorize security companies, their dealers and partner companies to contact me about security offers by phone calls and text messages to the number I provided. I authorize that these marketing communications may be delivered to me using an automatic telephone dialing system or by prerecorded message. I understand that my consent is not a condition of purchase". TCPA field is not mandatory.

AffiliateData
Format
<AffiliateData Id="<YourAffiliateId>" OfferId="<YourOfferIdId>" SubId="<affSub>" Sub2Id="<affSub2>" Sub3Id="<affSub3>" Sub4Id="<affSub4>" Sub5Id="<affSub5>" Source="zzz" VerifyAddress="false" RespondOnNoSale="true" SellResponseURL="YourURL" LeadId="" TrustedForm="" ClickConsentID="" PageId="" />

You receive the following parameters from our account manager:

The following parameters need to be discussed with our account manager: LeadId is not mandatory and can be omitted or left empty when not used.

TrustedForm is not mandatory and can be omitted or left empty when not used.

ClickConsentId is not mandatory and can be omitted or left empty when not used.

pageId is not mandatory and can be omitted or left empty when not used.

VerifyAddress (Not mandatory, default = False)
When VerifyAddress is True, any verification errors that occur during Address verification will be passed back to you and the LeadInsert will NOT succeed.
The API will remember the Address data of your request, so when the Lead is reissued to the API, updated parts will be merged with the intial data and
processing continues without further address verification. If no other errors are encountered, the Lead will now pass.
This functionality creates the possibility for your users to edit input errors. The following verification errors could be returned: Should multiple errors be encountered, they will be reported separated by a '|' character.
E.G. Address information provided is incomplete or invalid|Phone number provided seems to be invalid

RespondOnNoSale (Not mandatory, default = True)
When this is set to False, the API will NOT perform a callback to your SellResponseURL in case we could not sell the LEAD.
In case we could sell the Lead we will always perform a callback on your SellResponseURL (unless your SellResponseURL is not specified).

SellResponseURL (aka Post back url / S2S pixel) (Not mandatory, default = "")
If not empty, this is the URL, that you specify, that will be called by the API to inform you about the final results of the posted Lead.
We can provide information in the callback regarding TransactionID, Payout, Result, Reason and Sub2ID.

There are 2 ways, depending on the SellResponseURL you specify: 'standard' and 'with variables'.
In 'standard' we defined the lay-out. In 'with variables' you define the layout using our variable labels enclosed in curly brackets {}.
We will only return the variables that you specify.

standard: {SellResponseURL}TransactionId={transactionid}&Payout={payout}&Result={Result}&Reason={Reason}&Sub2ID={sub2id}
with variables: {SellResponseURL}yourvar={transactionid}&yourvar={payout}&yourvar={Result}&yourvar={Reason}&yourvar={sub2id}

The reason will only be filled in case of a NoSale and can be one of the following:
  1. Duplicate
  2. Contact information invalid
  3. Unable to monetize
example NoSale standard:
http://{yourserver/yourscript}?TransactionId=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Payout=0.00&Result=NotSold&Reason=Unable to monetize&Sub2ID=x11d

example Sale standard:
http://{yourserver/yourscript}?TransactionId=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Payout=12.50&Result=Sold&Sub2ID=x11d

example NoSale with variables (SellResponseURL="http://Server1/SellResp?T={transactionid}&Money={payout}&Err={Reason}&"):
http://Server1/SellResp?T=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Money=0.00&Err=Unable to monetize&

example Sale with variables (SellResponseURL="http://Server1/SellResp?T={transactionid}&Money={payout}&Err={Reason}&"):
http://Server1/SellResp?T=5B5E55EF-5D8F-4955-8C75-D1DB4EE4FA48&Money=12.50&Err=&

ContactData and QuoteRequest
Please see the example below for the specifics. All clickable values refer to a list of values that you must choose from.

Pass Back Functionality
Pass Back is a general mechanism supported by PX to return specific Buyer responses on successful Post to the form.
For now, it is Redirect URL and Buyer Raw Response, but it can be any other value (Buyer Email, Buyer Phone, Unique discount code, etc.) in the future.

<QuoteRequest QuoteType="paydayloans" PassBack="True">
With adding the Passback="True" to the QuoteRequest you will enable the "Passback" functionality of PX.

More information about how to use this you can find here.

An example with a vertical definition can by found here.

Selected Buyers
Selected Buyers is a general mechanism supported by PX to return specific Buyers that are interested in buying the lead.

<QuoteRequest QuoteType="paydayloans" QuoteFlow="SelectedBuyers">
With adding the QuoteFlow="SelectedBuyers" to the QuoteRequest you will enable this functionality of PX.

  1. Send in your lead with QuoteFlow="SelectedBuyers"
    PX will respond with a list of Buyers that are willing in buying this lead.

  2. Send in the whole lead again but this time include the Buyers you want to send this lead to and PX will only offer the lead to the buyers in this list.
It is possible to skip STEP 1 and directly send PX the buyer list.

An example with a vertical definition can be found here.

How we operate with direct post
URL: http://api.pxdemo.px.com/px

  1. You send us a lead XML post
  2. You parse the directpost response
  3. You create a web page that can handle our sell response

How we operate with ping/post
Please also see our knowledge base for Ping Post Instructions
URL: http://api.pxdemo.px.com/px

  1. You send us a XML/JSON Ping Request
  2. You send us a XML/JSON Post Request

Example paydayloans Ping in XML Format
<?xml version="1.0" encoding="utf-8"?>
<LeadData Target="Lead.Ping" Partner="PUB_LOGIN_HERE" Password="PUB_PASSWORD_HERE" RequestTime="2016-06-09 14:58:36" UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" OriginalURL="http://www.exampleURL.com" SessionLength="7" TCPAText="TCPA_TEXT_HERE" >
<!-- Your own AffiliateData all values are mandatory except the last 3--> <!-- LeadId can be empty or omitted when not used -->
<AffiliateData Id="PUB_ID_HERE" OfferId="OFFER_ID_HERE" SubId="SUBID_HERE" Sub2Id="" Sub3Id="" Sub4Id="" Sub5Id="" Source="" VerifyAddress="false" RespondOnNoSale="true" SellResponseURL="" LeadId="" TrustedForm="" ClickConsentID="" />
<ContactData>
                <State>(State)</State>
                <ZIPCode>(ZipCode)</ZIPCode>
                <IPAddress>255.255.255.255</IPAddress>
        </ContactData>
<QuoteRequest QuoteType="PayDayLoans" PassBack="True">
<CustomField1>Free text</CustomField1><!-- not mandatory max length 512-->
<CustomField2>Free text</CustomField2><!-- not mandatory max length 512-->
<CustomField3>Free text</CustomField3><!-- not mandatory max length 512-->
<CustomField4>Free text</CustomField4><!-- not mandatory max length 512-->
<CustomField5>Free text</CustomField5><!-- not mandatory max length 512-->
<CustomField6>Free text</CustomField6><!-- not mandatory max length 512-->
<CustomField7>Free text</CustomField7><!-- not mandatory max length 512-->
<CustomField8>Free text</CustomField8><!-- not mandatory max length 512-->
<CustomField9>Free text</CustomField9><!-- not mandatory max length 512-->
<CustomField10>Free text</CustomField10><!-- not mandatory max length 512-->
<CustomField11>Free text</CustomField11><!-- not mandatory max length 512-->
<CustomField12>Free text</CustomField12><!-- not mandatory max length 512-->
<CustomField13>Free text</CustomField13><!-- not mandatory max length 512-->
<CustomField14>Free text</CustomField14><!-- not mandatory max length 512-->
<CustomField15>Free text</CustomField15><!-- not mandatory max length 512-->
<CustomField16>Free text</CustomField16><!-- not mandatory max length 512-->
<CustomField17>Free text</CustomField17><!-- not mandatory max length 512-->
<CustomField18>Free text</CustomField18><!-- not mandatory max length 512-->
<CustomField19>Free text</CustomField19><!-- not mandatory max length 512-->
<CustomField20>Free text</CustomField20><!-- not mandatory max length 512-->
<Persons>
         <Person>
                <BirthDate>(BirthDate)</BirthDate>
                <Gender>(Gender)</Gender>
        </Person>
</Persons>
<PayDayLoans>
         <PayDayLoan>
                <LoanAmount>$100 - 500</LoanAmount> <!-- mandatory -->
                <GrossMonthlyIncome>2500</GrossMonthlyIncome> <!-- mandatory -->
                <IncomeType>Employed</IncomeType><!-- mandatory -->
                <FrequencyOfIncome>Every Week</FrequencyOfIncome> <!-- not mandatory -->
                <PayCheckNetAmount>2500</PayCheckNetAmount> <!-- not mandatory -->
                <AdditionalIncome>No</AdditionalIncome> <!-- not mandatory -->
                <AdditionalIncomeAmount>100</AdditionalIncomeAmount> <!-- not mandatory -->
                <PayDateOne>1980-12-09</PayDateOne><!-- not mandatory -->
                <PayDateTwo>1980-01-31</PayDateTwo><!-- not mandatory -->
                <MonthlyHousingCosts>100</MonthlyHousingCosts> <!-- not mandatory -->
                <MonthlyUnsecuredDebts>500</MonthlyUnsecuredDebts> <!-- not mandatory -->
                <HomeEquityAmount>1111</HomeEquityAmount> <!-- not mandatory -->
                <LiquidAssetsAmount>9999</LiquidAssetsAmount> <!-- not mandatory -->
                <RetirementAssetsAmount>10000</RetirementAssetsAmount> <!-- not mandatory -->
                <DirectDeposit>Yes</DirectDeposit> <!-- not mandatory -->
                <ExtraInfo>Hello</ExtraInfo> <!-- not mandatory -->
                <LoanDueDate>1980-01-31</LoanDueDate> <!-- not mandatory -->
                <RawLoanAmount>2500</RawLoanAmount> <!-- not mandatory -->
                <EmploymentStartDate>1980-01-31</EmploymentStartDate> <!-- not mandatory YYYY-MM-DD -->
                <LastPayDate>1980-01-31</LastPayDate> <!-- not mandatory YYYY-MM-DD -->
                <BankPhoneNumber>5757171795</BankPhoneNumber> <!-- not mandatory -->
                <LoanPurpose>Home Improvements</LoanPurpose> <!-- not mandatory -->
         </PayDayLoan>
</PayDayLoans>
<PassBacks> <!-- If present, Buyer extractable Parameters will be returned (if Buyer supplies) at successful completion in synchronous mode -->
         <PassBack>
                 <RedirectURL>http://fake.com/fake.html</RedirectURL> <!-- not mandatory -->
         </PassBack>
</PassBacks>
</QuoteRequest>

</LeadData>


Example paydayloans Post in XML Format
Please remember for a post (Target="Lead.Post") to change the following:
  1. <LeadData Target="Lead.Post">
  2. And add the attribute transactionId to the leaddata node: <LeadData TransactionId="3A015A43-CD25-4EF5-BD82-5C19C1F40408">
<?xml version="1.0" encoding="utf-8"?>
<LeadData Target="Lead.Insert" Partner="PUB_LOGIN_HERE" Password="PUB_PASSWORD_HERE" RequestTime="2016-06-09 14:58:36" UserAgent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" OriginalURL="http://www.exampleURL.com" SessionLength="7" TCPAText="TCPA_TEXT_HERE" >
<!-- Your own AffiliateData all values are mandatory except the last 3--> <!-- LeadId can be empty or omitted when not used -->
<AffiliateData Id="PUB_ID_HERE" OfferId="OFFER_ID_HERE" SubId="SUBID_HERE" Sub2Id="" Sub3Id="" Sub4Id="" Sub5Id="" Source="" VerifyAddress="false" RespondOnNoSale="true" SellResponseURL="" LeadId="" TrustedForm="" ClickConsentID="" />
<ContactData>
        <FirstName>John</FirstName> <!-- mandatory -->
        <LastName>Doe</LastName> <!-- mandatory -->
        <Address>1 Little West 12th</Address> <!-- mandatory -->
        <City>New York</City> <!-- mandatory -->
        <State>NY</State> <!-- mandatory -->
        <ZIPCode>10014</ZIPCode> <!-- mandatory -->
        <EmailAddress>testlead@somedomain.com</EmailAddress> <!-- mandatory -->
        <PhoneNumber>6367171795</PhoneNumber> <!-- mandatory -->
        <DayPhoneNumber>6367171795</DayPhoneNumber> <!-- not mandatory -->
        <IPAddress>255.255.255.255</IPAddress> <!--mandatory -->
</ContactData>
<QuoteRequest QuoteType="PayDayLoans" PassBack="True">
<CustomField1>Free text</CustomField1><!-- not mandatory max length 512-->
<CustomField2>Free text</CustomField2><!-- not mandatory max length 512-->
<CustomField3>Free text</CustomField3><!-- not mandatory max length 512-->
<CustomField4>Free text</CustomField4><!-- not mandatory max length 512-->
<CustomField5>Free text</CustomField5><!-- not mandatory max length 512-->
<CustomField6>Free text</CustomField6><!-- not mandatory max length 512-->
<CustomField7>Free text</CustomField7><!-- not mandatory max length 512-->
<CustomField8>Free text</CustomField8><!-- not mandatory max length 512-->
<CustomField9>Free text</CustomField9><!-- not mandatory max length 512-->
<CustomField10>Free text</CustomField10><!-- not mandatory max length 512-->
<CustomField11>Free text</CustomField11><!-- not mandatory max length 512-->
<CustomField12>Free text</CustomField12><!-- not mandatory max length 512-->
<CustomField13>Free text</CustomField13><!-- not mandatory max length 512-->
<CustomField14>Free text</CustomField14><!-- not mandatory max length 512-->
<CustomField15>Free text</CustomField15><!-- not mandatory max length 512-->
<CustomField16>Free text</CustomField16><!-- not mandatory max length 512-->
<CustomField17>Free text</CustomField17><!-- not mandatory max length 512-->
<CustomField18>Free text</CustomField18><!-- not mandatory max length 512-->
<CustomField19>Free text</CustomField19><!-- not mandatory max length 512-->
<CustomField20>Free text</CustomField20><!-- not mandatory max length 512-->
<Persons>
         <Person>
                <FirstName>John</FirstName> <!-- mandatory -->
                <LastName>Doe</LastName> <!-- mandatory -->
                <Gender>Male</Gender> <!-- not mandatory --> <!-- Male / Female / Unspecified -->
                <BirthDate>1980-12-09</BirthDate> <!-- not mandatory -->
                <CreditRating>Excellent</CreditRating> <!-- mandatory -->
                <CreditScore>850</CreditScore> <!-- not mandatory numeric -->
                <SocialSecurityNumber>26683XXXX</SocialSecurityNumber> <!-- not mandatory -->
                <MilitaryOrVeteran>No</MilitaryOrVeteran> <!-- not mandatory -->
                <BestTimeToCall>Morning</BestTimeToCall> <!-- not mandatory -->
                <Job>
                        <CompanyName>PX</CompanyName><!-- not mandatory -->
                        <Occupation>Developer</Occupation> <!-- not mandatory -->
                        <JobTitle>Developer</JobTitle> <!-- not mandatory -->
                        <YearsEmployedAtCurrentCompany>5</YearsEmployedAtCurrentCompany><!-- not mandatory Range(1,100) -->
                        <OfficeStreetAddress>123 street 1</OfficeStreetAddress> <!-- not mandatory -->
                        <OfficeCity>New York</OfficeCity> <!-- not mandatory -->
                        <OfficeState>NY</OfficeState> <!-- not mandatory -->
                        <OfficeZipCode>90210</OfficeZipCode> <!-- not mandatory -->
                        <OfficePhone>6367171795</OfficePhone> <!-- not mandatory -->
                </Job>
                <OwnRented>Own</OwnRented> <!-- mandatory -->
                <YearsAtResidence>5</YearsAtResidence><!-- not mandatory Range(0,100) -->
                <MonthsAtResidence>1</MonthsAtResidence> <!-- not mandatory Range(1,11) -->
                <DriversLicense>No</DriversLicense> <!-- not mandatory -->
                <DriversLicenseNumber>123456789</DriversLicenseNumber> <!--not mandatory -->
                <DriversLicenseState>NY</DriversLicenseState> <!--not mandatory -->
                <BankAccountNumber>123456789012345</BankAccountNumber> <!-- not mandatory LenAplha(0,50) -->
                <BankRoutingNumber>123123123</BankRoutingNumber> <!-- not mandatory LenAplha(0,9) -->
                <BankAccountType>Checking</BankAccountType> <!-- not mandatory-->
                <BankName>North Bank</BankName> <!-- not mandatory LenAplha(0,50) -->
                <MonthsAtBank>5</MonthsAtBank><!-- not mandatory Range(1,360) -->
                <DebitCard>No</DebitCard> <!-- not mandatory-->
                <BankStartDate>1980-11-30</BankStartDate> <!-- not mandatory-->
         </Person>
</Persons>
<PayDayLoans>
         <PayDayLoan>
                <LoanAmount>$100 - 500</LoanAmount> <!-- mandatory -->
                <GrossMonthlyIncome>2500</GrossMonthlyIncome> <!-- mandatory -->
                <IncomeType>Employed</IncomeType><!-- mandatory -->
                <FrequencyOfIncome>Every Week</FrequencyOfIncome> <!-- not mandatory -->
                <PayCheckNetAmount>2500</PayCheckNetAmount> <!-- not mandatory -->
                <AdditionalIncome>No</AdditionalIncome> <!-- not mandatory -->
                <AdditionalIncomeAmount>100</AdditionalIncomeAmount> <!-- not mandatory -->
                <PayDateOne>1980-12-09</PayDateOne><!-- not mandatory -->
                <PayDateTwo>1980-01-31</PayDateTwo><!-- not mandatory -->
                <MonthlyHousingCosts>100</MonthlyHousingCosts> <!-- not mandatory -->
                <MonthlyUnsecuredDebts>500</MonthlyUnsecuredDebts> <!-- not mandatory -->
                <HomeEquityAmount>1111</HomeEquityAmount> <!-- not mandatory -->
                <LiquidAssetsAmount>9999</LiquidAssetsAmount> <!-- not mandatory -->
                <RetirementAssetsAmount>10000</RetirementAssetsAmount> <!-- not mandatory -->
                <DirectDeposit>Yes</DirectDeposit> <!-- not mandatory -->
                <ExtraInfo>Hello</ExtraInfo> <!-- not mandatory -->
                <LoanDueDate>1980-01-31</LoanDueDate> <!-- not mandatory -->
                <RawLoanAmount>2500</RawLoanAmount> <!-- not mandatory -->
                <EmploymentStartDate>1980-01-31</EmploymentStartDate> <!-- not mandatory YYYY-MM-DD -->
                <LastPayDate>1980-01-31</LastPayDate> <!-- not mandatory YYYY-MM-DD -->
                <BankPhoneNumber>5757171795</BankPhoneNumber> <!-- not mandatory -->
                <LoanPurpose>Home Improvements</LoanPurpose> <!-- not mandatory -->
         </PayDayLoan>
</PayDayLoans>
<PassBacks> <!-- If present, Buyer extractable Parameters will be returned (if Buyer supplies) at successful completion in synchronous mode -->
         <PassBack>
                 <RedirectURL>http://fake.com/fake.html</RedirectURL> <!-- not mandatory -->
         </PassBack>
</PassBacks>
</QuoteRequest>

</LeadData>


Example paydayloans Ping in JSON Format
{
        "type": "jsonwsp/request",
        "version": "1.0",
        "methodname": "Lead.Ping",
        "LeadData": {
                "Target": "Lead.Ping",
                "Partner": "PUB_LOGIN_HERE",
                "Password": "PUB_PASSWORD_HERE",
                "RequestTime": "2016-06-09 14:58:36",
                "UserAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
                "OriginalURL": "http://www.exampleURL.com",
                "SessionLength": "7",
                "TCPAText": "TCPA_TEXT_HERE",
                "AffiliateData": {
                        "Id": "PUB_ID_HERE",
                        "OfferId": "OFFER_ID_HERE",
                        "SubId": "SUBID_HERE",
                        "Sub2Id": "",
                        "Sub3Id": "",
                        "Sub4Id": "",
                        "Sub5Id": "",
                        "Source": "",
                        "VerifyAddress": "false",
                        "RespondOnNoSale": "true",
                        "SellResponseURL": "",
                        "LeadId": "",
                        "TrustedForm": "",
                        "ClickConsentID": ""
                },
                "ContactData": {
                        "State": "(State)",
                        "ZIPCode": "(ZipCode)",
                        "IPAddress": "255.255.255.255"
                },
                "QuoteRequest": {
                        "QuoteType": "PayDayLoans",
                        "PassBack": "True",
                        "CustomField1": "Free text",
                        "CustomField2": "Free text",
                        "CustomField3": "Free text",
                        "CustomField4": "Free text",
                        "CustomField5": "Free text",
                        "CustomField6": "Free text",
                        "CustomField7": "Free text",
                        "CustomField8": "Free text",
                        "CustomField9": "Free text",
                        "CustomField10": "Free text",
                        "CustomField11": "Free text",
                        "CustomField12": "Free text",
                        "CustomField13": "Free text",
                        "CustomField14": "Free text",
                        "CustomField15": "Free text",
                        "CustomField16": "Free text",
                        "CustomField17": "Free text",
                        "CustomField18": "Free text",
                        "CustomField19": "Free text",
                        "CustomField20": "Free text",
                        "Persons": {
                                "Person": {
                                        "BirthDate": "(BirthDate)",
                                        "Gender": "(Gender)"
                                }
                        },
                        "PayDayLoans": {
                                "PayDayLoan": {
                                        "LoanAmount": "$100 - 500",
                                        "GrossMonthlyIncome": "2500",
                                        "IncomeType": "Employed",
                                        "FrequencyOfIncome": "Every Week",
                                        "PayCheckNetAmount": "2500",
                                        "AdditionalIncome": "No",
                                        "AdditionalIncomeAmount": "100",
                                        "PayDateOne": "1980-12-09",
                                        "PayDateTwo": "1980-01-31",
                                        "MonthlyHousingCosts": "100",
                                        "MonthlyUnsecuredDebts": "500",
                                        "HomeEquityAmount": "1111",
                                        "LiquidAssetsAmount": "9999",
                                        "RetirementAssetsAmount": "10000",
                                        "DirectDeposit": "Yes",
                                        "ExtraInfo": "Hello",
                                        "LoanDueDate": "1980-01-31",
                                        "RawLoanAmount": "2500",
                                        "EmploymentStartDate": "1980-01-31",
                                        "LastPayDate": "1980-01-31",
                                        "BankPhoneNumber": "5757171795",
                                        "LoanPurpose": "Home Improvements"
                                }
                        },
                        "PassBacks": {
                                "PassBack": {
                                        "RedirectURL": "http://fake.com/fake.html"
                                }
                        }
                }
        }
}


Example paydayloans Post in JSON format
Please remember for a post ("Target" : "Lead.Post",) to change the following:
  1. "Target" : "Lead.Post",
  2. And add transactionId "TransactionId" : "3A015A43-CD25-4EF5-BD82-5C19C1F40408",
{
        "type": "jsonwsp/request",
        "version": "1.0",
        "methodname": "Lead.Insert",
        "LeadData": {
                "Target": "Lead.Insert",
                "Partner": "PUB_LOGIN_HERE",
                "Password": "PUB_PASSWORD_HERE",
                "RequestTime": "2016-06-09 14:58:36",
                "UserAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
                "OriginalURL": "http://www.exampleURL.com",
                "SessionLength": "7",
                "TCPAText": "TCPA_TEXT_HERE",
                "AffiliateData": {
                        "Id": "PUB_ID_HERE",
                        "OfferId": "OFFER_ID_HERE",
                        "SubId": "SUBID_HERE",
                        "Sub2Id": "",
                        "Sub3Id": "",
                        "Sub4Id": "",
                        "Sub5Id": "",
                        "Source": "",
                        "VerifyAddress": "false",
                        "RespondOnNoSale": "true",
                        "SellResponseURL": "",
                        "LeadId": "",
                        "TrustedForm": "",
                        "ClickConsentID": ""
                },
                "ContactData": {
                        "FirstName": "John",
                        "LastName": "Doe",
                        "Address": "1 Little West 12th",
                        "City": "New York",
                        "State": "NY",
                        "ZIPCode": "10014",
                        "EmailAddress": "testlead@somedomain.com",
                        "PhoneNumber": "6367171795",
                        "DayPhoneNumber": "6367171795",
                        "IPAddress": "255.255.255.255"
                },
                "QuoteRequest": {
                        "QuoteType": "PayDayLoans",
                        "PassBack": "True",
                        "CustomField1": "Free text",
                        "CustomField2": "Free text",
                        "CustomField3": "Free text",
                        "CustomField4": "Free text",
                        "CustomField5": "Free text",
                        "CustomField6": "Free text",
                        "CustomField7": "Free text",
                        "CustomField8": "Free text",
                        "CustomField9": "Free text",
                        "CustomField10": "Free text",
                        "CustomField11": "Free text",
                        "CustomField12": "Free text",
                        "CustomField13": "Free text",
                        "CustomField14": "Free text",
                        "CustomField15": "Free text",
                        "CustomField16": "Free text",
                        "CustomField17": "Free text",
                        "CustomField18": "Free text",
                        "CustomField19": "Free text",
                        "CustomField20": "Free text",
                        "Persons": {
                                "Person": {
                                        "FirstName": "John",
                                        "LastName": "Doe",
                                        "Gender": "Male",
                                        "BirthDate": "1980-12-09",
                                        "CreditRating": "Excellent",
                                        "CreditScore": "850",
                                        "SocialSecurityNumber": "26683XXXX",
                                        "MilitaryOrVeteran": "No",
                                        "BestTimeToCall": "Morning",
                                        "Job": {
                                                "CompanyName": "PX",
                                                "Occupation": "Developer",
                                                "JobTitle": "Developer",
                                                "YearsEmployedAtCurrentCompany": "5",
                                                "OfficeStreetAddress": "123 street 1",
                                                "OfficeCity": "New York",
                                                "OfficeState": "NY",
                                                "OfficeZipCode": "90210",
                                                "OfficePhone": "6367171795"
                                        },
                                        "OwnRented": "Own",
                                        "YearsAtResidence": "5",
                                        "MonthsAtResidence": "1",
                                        "DriversLicense": "No",
                                        "DriversLicenseNumber": "123456789",
                                        "DriversLicenseState": "NY",
                                        "BankAccountNumber": "123456789012345",
                                        "BankRoutingNumber": "123123123",
                                        "BankAccountType": "Checking",
                                        "BankName": "North Bank",
                                        "MonthsAtBank": "5",
                                        "DebitCard": "No",
                                        "BankStartDate": "1980-11-30"
                                }
                        },
                        "PayDayLoans": {
                                "PayDayLoan": {
                                        "LoanAmount": "$100 - 500",
                                        "GrossMonthlyIncome": "2500",
                                        "IncomeType": "Employed",
                                        "FrequencyOfIncome": "Every Week",
                                        "PayCheckNetAmount": "2500",
                                        "AdditionalIncome": "No",
                                        "AdditionalIncomeAmount": "100",
                                        "PayDateOne": "1980-12-09",
                                        "PayDateTwo": "1980-01-31",
                                        "MonthlyHousingCosts": "100",
                                        "MonthlyUnsecuredDebts": "500",
                                        "HomeEquityAmount": "1111",
                                        "LiquidAssetsAmount": "9999",
                                        "RetirementAssetsAmount": "10000",
                                        "DirectDeposit": "Yes",
                                        "ExtraInfo": "Hello",
                                        "LoanDueDate": "1980-01-31",
                                        "RawLoanAmount": "2500",
                                        "EmploymentStartDate": "1980-01-31",
                                        "LastPayDate": "1980-01-31",
                                        "BankPhoneNumber": "5757171795",
                                        "LoanPurpose": "Home Improvements"
                                }
                        },
                        "PassBacks": {
                                "PassBack": {
                                        "RedirectURL": "http://fake.com/fake.html"
                                }
                        }
                }
        }
}


Example paydayloans Post in HTTPPost format
Command=HTTPPost&Target=Lead.Insert&PartnerToken=xxxxx&RequestTime=2016-06-09 14:58:36&UserAgent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36&
OriginalURL=http://www.exampleURL.com&SessionLength=7&TCPAText=TCPA_TEXT_HERE&AffiliateData.Id=PUB_ID_HERE&AffiliateData.OfferId=OFFER_ID_HERE&
AffiliateData.SubId=SUBID_HERE&AffiliateData.Sub2Id=&AffiliateData.Sub3Id=&AffiliateData.Sub4Id=&AffiliateData.Sub5Id=&AffiliateData.Source=&AffiliateData.VerifyAddress=false&
AffiliateData.RespondOnNoSale=true&AffiliateData.SellResponseURL=&AffiliateData.LeadId=&AffiliateData.TrustedForm=&AffiliateData.ClickConsentID=&ContactData.FirstName=John&
ContactData.LastName=Doe&ContactData.Address=1 Little West 12th&ContactData.City=New York&ContactData.State=NY&ContactData.ZIPCode=10014&ContactData.EmailAddress=testlead@somedomain.com&
ContactData.PhoneNumber=6367171795&ContactData.DayPhoneNumber=6367171795&ContactData.IPAddress=255.255.255.255&QuoteRequest.QuoteType=PayDayLoans&
QuoteRequest.PassBack=True&QuoteRequest.CustomField1=Free text&QuoteRequest.CustomField2=Free text&QuoteRequest.CustomField3=Free text&QuoteRequest.CustomField4=Free text&
QuoteRequest.CustomField5=Free text&QuoteRequest.CustomField6=Free text&QuoteRequest.CustomField7=Free text&QuoteRequest.CustomField8=Free text&QuoteRequest.CustomField9=Free text&
QuoteRequest.CustomField10=Free text&QuoteRequest.CustomField11=Free text&QuoteRequest.CustomField12=Free text&QuoteRequest.CustomField13=Free text&
QuoteRequest.CustomField14=Free text&QuoteRequest.CustomField15=Free text&QuoteRequest.CustomField16=Free text&QuoteRequest.CustomField17=Free text&
QuoteRequest.CustomField18=Free text&QuoteRequest.CustomField19=Free text&QuoteRequest.CustomField20=Free text&QuoteRequest.Persons.Person.FirstName=John&
QuoteRequest.Persons.Person.LastName=Doe&QuoteRequest.Persons.Person.Gender=Male&QuoteRequest.Persons.Person.BirthDate=1980-12-09&QuoteRequest.Persons.Person.CreditRating=Excellent&
QuoteRequest.Persons.Person.CreditScore=850&QuoteRequest.Persons.Person.SocialSecurityNumber=26683XXXX&QuoteRequest.Persons.Person.MilitaryOrVeteran=No&
QuoteRequest.Persons.Person.BestTimeToCall=Morning&QuoteRequest.Persons.Person.Job.CompanyName=PX&
QuoteRequest.Persons.Person.Job.Occupation=Developer&QuoteRequest.Persons.Person.Job.JobTitle=Developer&QuoteRequest.Persons.Person.Job.YearsEmployedAtCurrentCompany=5&
QuoteRequest.Persons.Person.Job.OfficeStreetAddress=123 street 1&QuoteRequest.Persons.Person.Job.OfficeCity=New York&QuoteRequest.Persons.Person.Job.OfficeState=NY&
QuoteRequest.Persons.Person.Job.OfficeZipCode=90210&QuoteRequest.Persons.Person.Job.OfficePhone=6367171795&QuoteRequest.Persons.Person.OwnRented=Own&
QuoteRequest.Persons.Person.YearsAtResidence=5&QuoteRequest.Persons.Person.MonthsAtResidence=1&
QuoteRequest.Persons.Person.DriversLicense=No&QuoteRequest.Persons.Person.DriversLicenseNumber=123456789&
QuoteRequest.Persons.Person.DriversLicenseState=NY&QuoteRequest.Persons.Person.BankAccountNumber=123456789012345&QuoteRequest.Persons.Person.BankRoutingNumber=123123123&
QuoteRequest.Persons.Person.BankAccountType=Checking&QuoteRequest.Persons.Person.BankName=North Bank&
QuoteRequest.Persons.Person.MonthsAtBank=5&QuoteRequest.Persons.Person.DebitCard=No&
QuoteRequest.Persons.Person.BankStartDate=1980-11-30&QuoteRequest.PayDayLoans.PayDayLoan.LoanAmount=$100 - 500&
QuoteRequest.PayDayLoans.PayDayLoan.GrossMonthlyIncome=2500&QuoteRequest.PayDayLoans.PayDayLoan.IncomeType=Employed&
QuoteRequest.PayDayLoans.PayDayLoan.FrequencyOfIncome=Every Week&QuoteRequest.PayDayLoans.PayDayLoan.PayCheckNetAmount=2500&
QuoteRequest.PayDayLoans.PayDayLoan.AdditionalIncome=No&QuoteRequest.PayDayLoans.PayDayLoan.AdditionalIncomeAmount=100&
QuoteRequest.PayDayLoans.PayDayLoan.PayDateOne=1980-12-09&QuoteRequest.PayDayLoans.PayDayLoan.PayDateTwo=1980-01-31&QuoteRequest.PayDayLoans.PayDayLoan.MonthlyHousingCosts=100&
QuoteRequest.PayDayLoans.PayDayLoan.MonthlyUnsecuredDebts=500&QuoteRequest.PayDayLoans.PayDayLoan.HomeEquityAmount=1111&QuoteRequest.PayDayLoans.PayDayLoan.LiquidAssetsAmount=9999&
QuoteRequest.PayDayLoans.PayDayLoan.RetirementAssetsAmount=10000&QuoteRequest.PayDayLoans.PayDayLoan.DirectDeposit=Yes&
QuoteRequest.PayDayLoans.PayDayLoan.ExtraInfo=Hello&QuoteRequest.PayDayLoans.PayDayLoan.LoanDueDate=1980-01-31&QuoteRequest.PayDayLoans.PayDayLoan.RawLoanAmount=2500&
QuoteRequest.PayDayLoans.PayDayLoan.EmploymentStartDate=1980-01-31&QuoteRequest.PayDayLoans.PayDayLoan.LastPayDate=1980-01-31&QuoteRequest.PayDayLoans.PayDayLoan.BankPhoneNumber=5757171795&
QuoteRequest.PayDayLoans.PayDayLoan.LoanPurpose=Home Improvements&QuoteRequest.PassBacks.PassBack.RedirectURL=http://fake.com/fake.html



AdditionalIncome
   back
No
Yes

BankAccountType
   back
Checking
Savings

BestTimeToCall
   back
Morning
Afternoon
Evening
Any time

CreditRating
   back
Excellent
Good
Some Problems
Major Problems

DebitCard
   back
No
Yes

DirectDeposit
   back
Yes
No

DriversLicense
   back
No
Yes

FrequencyOfIncome
   back
Every Week
Every Two Weeks
Every Month
Other
Twice Monthly

IncomeType
   back
Employed
Benefits
SelfEmployed
Unemployed

LoanAmount
   back
$100 - 500
$501 - 1,000
$1,001 - 2,500
$2,501 - 5,000
$5,001 - 10,000
$10,001 - 12,500
$12,501 - 17,500
$17,501 - 20,000
$20,001 - 25,000
$25,001 - 30,000
$30,001 - 35,000
$35,001 - 40,000
$40,001 - 45,000
$45,001 - 50,000

LoanPurpose
   back
Home Improvements
Consolidation
Car Purchase
Caravan Purchase
Holiday
Boat Purchase
Household Goods
Motorcycle Purchase
Wedding Expense
School Fees
Solicitors Fees
Cosmetic Surgery
Medical Fees
Business Loan
Mortgage Deposit
Livestock Purchase
Repay 1st Mortgage and Consolidation
Repay 1st Mortgage and Home Improve
Further Advance
Bridging Loan
Business Purchase

MilitaryOrVeteran
   back
No
Yes

MonthsAtResidence
   back
1
2
3
4
5
6
7
8
9
10
11
0

OwnRented
   back
Own
Rented

State
   back
AL (Alabama)
AK (Alaska)
AZ (Arizona)
AR (Arkansas)
CA (California)
CO (Colorado)
CT (Connecticut)
DE (Delaware)
DC (District of Columbia)
FL (Florida)
GA (Georgia)
HI (Hawaii)
ID (Idaho)
IL (Illinois)
IN (Indiana)
IA (Iowa)
KS (Kansas)
KY (Kentucky)
LA (Louisiana)
ME (Maine)
MD (Maryland)
MA (Massachusetts)
MI (Michigan)
MN (Minnesota)
MS (Mississippi)
MO (Missouri)
MT (Montana)
NE (Nebraska)
NV (Nevada)
NH (New Hampshire)
NJ (New Jersey)
NM (New Mexico)
NY (New York)
NC (North Carolina)
ND (North Dakota)
OH (Ohio)
OK (Oklahoma)
OR (Oregon)
PA (Pennsylvania)
RI (Rhode Island)
SC (South Carolina)
SD (South Dakota)
TN (Tennessee)
TX (Texas)
UT (Utah)
VT (Vermont)
VA (Virginia)
WA (Washington)
WV (West Virginia)
WI (Wisconsin)
WY (Wyoming)


Response Examples
<?xml version="1.0" encoding="utf-8"?>
<Response>
        <Result Value="BaeOK">
                <TransactionId>3A015A43-CD25-4EF5-BD82-5C19C1F40408</TransactionId>
        </Result>
</Response>

<?xml version="1.0" encoding="utf-8"?>
<Response>
        <Result Value="BaeNOK">
                <Error>
                        <Reason>Invalid PhoneNumber.</Reason>
                        <Param>PhoneNumber</Param>
                        <ExtraInfo>Param=PhoneNumber, Value=333795, Error=Number bad format.</ExtraInfo>
         </Error>
        </Result>
</Response>

Response Examples in JSON format
{
        "Result":"BaeOK",
        "TransactionId":"8DF593E1-66CC-4F6C-B4FE-471108C86FAC"
}

{
        "Result":"BaeNOK",
        "Reason":"Parameter value does not pass check.",
        "Param":"PhoneNumber",
        "ExtraInfo":"Param=PhoneNumber, Value=333795, Check=USPhone."
}

All error reasons
Example Sell Request   back
We do an HTTP GET Request to a URL on your server.

Sold Example:
?TransactionId=D9562D0D-950F-4F86-B102-A225E8D2E2A3&Payout=10.54&Result=Sold

NotSold:
?TransactionId=D9562D0D-950F-4F86-B102-A225E8D2E2A3&Payout=0.00&Result=NotSold