Appearance
DEPRECATED /swap/companies
This is deprecated. Use Company Search instead, passing in 'cardswap' for the products.
Retrieve a list of companies that support swaps.
HTTP Request
GET https://api.q2open.io/v1/swap/companies
Returns
A dictionary with a data
property that contains an array of company objects that support swaps.
Example Request
shell
curl "https://api.q2open.io/v1/swap/companies" \
-H "Authorization: Bearer dc220490-e6ee-11e5-8a94-e7385a8d929e" \
-G
Example Response
json
{
"data": [
{
"_id": "579b695decea110719b1874d",
"name": "Netflix",
"logo": {
"url": "https://s3.amazonaws.com/app-assets.unbill.io-primary/uploads/utility-provider-logos/7242937ba29042cce61a8e4745269fce.png",
"background": false,
"svg": {
"url": "https://s3.amazonaws.com/app-assets.unbill.io-primary/uploads/utility-provider-logos/7242937ba29042cce61a8e4745269fce.svg",
"color": "FF041F"
}
},
"requiredPayment": "bank",
"schedule": "on-due-date",
"auth": {
"urls": {
"login": "https://www.netflix.com/Login",
"signup": "https://www.netflix.com"
},
"loginFields": [{
"placeholder": "Username",
"formType": "text",
"name": "username",
"label": "Username"
}, {
"placeholder": "Password",
"formType": "password",
"name": "password",
"label": "Password"
}]
},
"geo": {
"lat": 30.70,
"lng": -95.53,
"state_short": "TX",
"state_long": "Texas",
"zipcode": "77340"
}
}
]
}