Posting Instruction for Financial Spot Personal Loan v2 - API
Affiliate API Tech Specs Documentation
This document provides all the information needed to successfully
process leads for this campaign.
Sample Creative
π° **Need Extra Funds? Explore Your Options Today!**
Unexpected expenses happen. Whether itβs for bills, emergencies, home expenses, or other financial needs, explore personal loan options that may work for you.
π **Submit your loan request today and see what options may be available!**
*Submitting a request does not guarantee approval or funding. Rates, terms, amounts, and eligibility vary by lender and applicant.*
Adcopy
π° **Need Extra Funds? Explore Your Options Today!**
Unexpected expenses happen. Whether itβs for bills, emergencies, home expenses, or other financial needs, explore personal loan options that may work for you.
All responses are sent back in JSON format. There are 2 possible responses:
rejected, success.
Ping Rejected response
{
"rcm_campaign_id": "6576",
"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
}
Ping Success response
{
"rcm_campaign_id": "6576",
"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."
}
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: 6576
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
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
PostalCode
5 digits e.g. 01561
REQUIRED
Zip
must be a 5-digit number in the format 12345
email
Email
Any Valid Email
REQUIRED
Email
must be a valid email address.
home_phone
Phone
1234567890
REQUIRED
Home 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
Valid 9-digit SSN. Digits only. Length should be:min 9, max 9.
dob
DateTime
yyyy-mm-dd
REQUIRED
Date Of Birth
must be a valid date in format yyyy-mm-dd
YYYY-mm-dd format. Age must be: min 18, max 110.
drivers_license_number
Text
Any Text
REQUIRED
Driver's License Number
must be between 1 and 500 characters.
May only contain:characters, digits.Β Length should be:min 3, max 32.
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.
Client's browser "User Agent" string
consent_sms
MultipleChoice2
Multiple Choices, can select only one answer
REQUIRED
Consent SMS
consent_sms Accepted Values
Label
Value
No
0
Yes
1
consent_email
MultipleChoice2
Multiple Choices, can select only one answer
REQUIRED
Consent Email
consent_email Accepted Values
Label
Value
No
0
Yes
1
Posting leads
We only accept POST HTTP requests. Requests can be sent either
as
FORM or JSON.
{
"rcm_campaign_id": "6576",
"rcm_aff_id": "1",
"rcm_aff_sub": "mysub1",
"first_name" : "John" ,
"last_name" : "Smith" ,
"address" : "123 main street" ,
"zip" : "01561" ,
"email" : "burt@testmail.com" ,
"home_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"
}
Post Responses
All responses are sent back in JSON format. There are 2 possible responses:
rejected, success.
Post Rejected response
{
"rcm_campaign_id": "6576",
"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": "6576",
"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."
}
Direct 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: 6576
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
Posting leads
We only accept POST HTTP requests. Requests can be sent either
as
FORM or JSON.
All responses are sent back in JSON format. There are 2 possible responses:
rejected, success.
Direct Post Rejected response
{
"rcm_campaign_id": "6576",
"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
}
Direct Post Success response
{
"rcm_campaign_id": "6576",
"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."
}