Sample Creative

Laboriosam sit aperiam perspiciatis aliquam voluptate earum qui.
Excepturi et voluptatibus ut aut doloremque optio.

Adcopy

Laboriosam sit aperiam perspiciatis aliquam voluptate earum qui.

TCPA

Excepturi et voluptatibus ut aut doloremque optio.

Banner To use


Other Details

Quis quaerat accusantium ut reiciendis eligendi perspiciatis.


Post Instructions



Fields

The following fields will be captured by this campaign. For examples of how to submit these fields, please see the examples below.

Field Name Type Format Required Label Description
rcm_campaign_id Numeric 1234 REQUIRED Campaign ID Must be set to: 6551
rcm_aff_id Numeric 1234 REQUIRED Affiliate ID Ask this value from your Account Manager
e.g. 3417
rcm_aff_sub Text Any Text OPTIONAL Affiliate Sub ID pass here your subids
e.g. mysubid1
price Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Price must be a number e.g. 123, 456 or 1.2, 2.5
first_name Text Any Text REQUIRED First Name must be between 1 and 500 characters.
last_name Text Any Text REQUIRED Last Name must be between 1 and 500 characters.
address Text Any Text REQUIRED Address must be between 1 and 500 characters.
zip_code PostalCode 5 digits e.g. 01561 REQUIRED Zip Code must be a 5-digit number in the format 12345
state State US States e.g. CA, TX REQUIRED State must be a valid U.S. state abbreviation (e.g., CA, TX).
city Text Any Text REQUIRED City must be between 1 and 500 characters.
email Email Any Valid Email REQUIRED Email must be a valid email address.
phone Phone 1234567890 REQUIRED Phone must be a 10-digit number in the format 1234567890.
ssn Numeric Any Numeric e.g. 123 or 12.45 REQUIRED SSN must be a number e.g. 123, 456 or 1.2, 2.5
dob DateTime yyyy-mm-dd REQUIRED Date Of Birth must be a valid date in format yyyy-mm-dd
drivers_license_number Text Any Text REQUIRED Driver's License Number must be between 1 and 500 characters.
driver_license_state State US States e.g. CA, TX REQUIRED Driver License State must be a valid U.S. state abbreviation (e.g., CA, TX).
is_military MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Is Military is_military Accepted Values
Label Value
No no
Yes yes
income_frequency MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Income Frequency income_frequency Accepted Values
Label Value
Weekly weekly
Monthly monthly
Biweekly biweekly
Semimonthly semimonthly
income_net_monthly Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Income Net Monthly must be a number e.g. 123, 456 or 1.2, 2.5
income_next_date DateTime yyyy-mm-dd REQUIRED Income Next Date must be a valid date in format yyyy-mm-dd
pay_type MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Pay Type pay_type Accepted Values
Label Value
Cash cash
Check check
Deposit deposit
residence_months Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Residence Months must be a number e.g. 123, 456 or 1.2, 2.5
bank_account_type MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Bank Account Type bank_account_type Accepted Values
Label Value
Saving saving
Checking checking
bank_account_number Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Bank Account Number must be a number e.g. 123, 456 or 1.2, 2.5
bank_months Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Bank Months must be a number e.g. 123, 456 or 1.2, 2.5
ip_address IpAddress Both IpV4AndV6 e.g. 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334 REQUIRED Ip Address must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1) or IPv6 Format (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
browser_agent Text Any Text REQUIRED Browser Agent must be between 1 and 500 characters.
consent_sms MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Consent SMS consent_sms Accepted Values
Label Value
0 0
1 1
consent_email MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Consent Email consent_email Accepted Values
Label Value
0 0
1 1
income_source MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Income Source income_source Accepted Values
Label Value
Benefits benefits
Employment employment
Unemployed unemployed
Selfemployed selfemployed
loan_amount Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Loan Amount must be a number e.g. 123, 456 or 1.2, 2.5
employer_name Text Any Text REQUIRED Employer Name must be between 1 and 500 characters.
bank_routing_number Text Any Text REQUIRED Bank Routing Number must be between 1 and 500 characters.
transaction_id Text Any Text REQUIRED Transaction Id must be between 1 and 500 characters.
sub1 Text Any Text REQUIRED Sub ID 1 must be between 1 and 500 characters.
credit_score Text Any Text REQUIRED Credit Score must be between 1 and 500 characters.

Posting leads

We only accept POST HTTP requests. Requests can be sent either as FORM or JSON.

Method: POST
URL: https://api-leaddepot.offerwings.com/api/v1/lead/receive/
FORM

Headers:

Content-Type: application/x-www-form-urlencoded

Payload:



rcm_campaign_id=6551&rcm_aff_id=1&price=samplevalue&first_name=samplevalue&last_name=samplevalue&address=samplevalue&zip_code=samplevalue&state=samplevalue&city=samplevalue&email=samplevalue&phone=samplevalue&ssn=samplevalue&dob=samplevalue&drivers_license_number=samplevalue&driver_license_state=samplevalue&is_military=samplevalue&income_frequency=samplevalue&income_net_monthly=samplevalue&income_next_date=samplevalue&pay_type=samplevalue&residence_months=samplevalue&bank_account_type=samplevalue&bank_account_number=samplevalue&bank_months=samplevalue&ip_address=samplevalue&browser_agent=samplevalue&consent_sms=samplevalue&consent_email=samplevalue&income_source=samplevalue&loan_amount=samplevalue&employer_name=samplevalue&bank_routing_number=samplevalue&transaction_id=samplevalue&sub1=samplevalue&credit_score=samplevalue
                                        
JSON

Headers:

Content-Type: application/json

Payload:

                        
{
    "rcm_campaign_id": "6551",
    "rcm_aff_id": "1",
    "rcm_aff_sub": "mysub1",
    "price" : "1234"     ,
    "first_name" : "John"     ,
    "last_name" : "Smith"     ,
    "address" : "123 main street"     ,
    "zip_code" : "01561"     ,
    "state" : "CA"     ,
    "city" : "Any Text"     ,
    "email" : "burt@testmail.com"     ,
    "phone" : "1234567890"     ,
    "ssn" : "1234"     ,
    "dob" : "1980-12-21"     ,
    "drivers_license_number" : "Any Text"     ,
    "driver_license_state" : "CA"     ,
    "is_military" : "see the list of allowed value"     ,
    "income_frequency" : "see the list of allowed value"     ,
    "income_net_monthly" : "1234"     ,
    "income_next_date" : "1980-12-21"     ,
    "pay_type" : "see the list of allowed value"     ,
    "residence_months" : "1234"     ,
    "bank_account_type" : "see the list of allowed value"     ,
    "bank_account_number" : "1234"     ,
    "bank_months" : "1234"     ,
    "ip_address" : "192.168.1.1"     ,
    "browser_agent" : "Any Text"     ,
    "consent_sms" : "see the list of allowed value"     ,
    "consent_email" : "see the list of allowed value"     ,
    "income_source" : "see the list of allowed value"     ,
    "loan_amount" : "1234"     ,
    "employer_name" : "Any Text"     ,
    "bank_routing_number" : "Any Text"     ,
    "transaction_id" : "Any Text"     ,
    "sub1" : "Any Text"     ,
    "credit_score" : "Any Text" 
}
                        
                    

Post Responses

All responses are sent back in JSON format. There are 2 possible responses: rejected, success.

Post Rejected response

                            
{
    "rcm_campaign_id": "6551",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "rejected", 
    "pixel": null
}

Post Success response


{
    "rcm_campaign_id": "6551",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "success",
    "pixel": "success=true;"
}




Validation Error

A validation error occurs when the submitted data does not meet the rules defined in the posting instructions. If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.

Example Of Validation Error

                            
{
    "data": {
        "email": [
            "The email field is required."
        ],
        "ip_address": [
            "The ip address field is required."
        ]
    },
    "message": "Validation Errors",
    "posting_instruction": "http://api-leaddepot.offerwings.test:8000/campaign/posting-instruction/...",
    "status": "Operation failed."
}