Get Payments
curl --request GET \
--url https://payments.vin/{vin}import requests
url = "https://payments.vin/{vin}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://payments.vin/{vin}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://payments.vin/{vin}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://payments.vin/{vin}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://payments.vin/{vin}")
.asString();require 'uri'
require 'net/http'
url = URI("https://payments.vin/{vin}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"vehicle": {
"vin": "1C4HJXEN5MW592818",
"year": "2021",
"make": "Jeep",
"model": "Wrangler"
},
"criteria": {
"price": 25000,
"zip": "43345",
"docFee": 200,
"tradeIn": 0
},
"paymentsData": {
"loanAmount": 27093.5,
"loanMonthlyPayment": 434.23,
"loanMonthlyPaymentWithTaxes": 470.59,
"totalTaxesAndFees": 2093.5,
"taxes": {
"citySalesTax": 0,
"combinedSalesTax": 1812.5,
"countySalesTax": 375,
"districtSalesTax": 0,
"stateSalesTax": 1437.5,
"gasGuzzlerTax": 0
},
"fees": {
"titleFee": 15,
"registrationFee": 46,
"dmvFee": 20,
"combinedFees": 281,
"docFee": 200,
"dmvFees": {
"Temporary Tag": 20
}
},
"calculationCriteria": {
"numberOfMonths": 72,
"financeRate": 7.663,
"downPayment": 0,
"tradeIn": 0,
"tradeInOwedAmount": 0,
"salesPrice": 25000,
"conditionalIncentiveAmount": 0,
"primaryIncentiveAmount": 0,
"docFee": 200,
"zipCode": "43345",
"styleId": 401858048,
"marketValue": 25000,
"withConcreteTaxesAndFees": true,
"applyLimits": true,
"msrp": 25000,
"lowerLimit": false
},
"limitCriteria": {
"limitPercentage": 70,
"limitPrice": 25000,
"limits": []
}
},
"apr": {
"36": 7.644,
"48": 7.644,
"60": 7.524,
"72": 7.663,
"84": 8.263
},
"totalTaxesAndFees": 2093.5,
"taxes": {
"citySalesTax": 0,
"combinedSalesTax": 1812.5,
"countySalesTax": 375,
"districtSalesTax": 0,
"stateSalesTax": 1437.5,
"gasGuzzlerTax": 0
},
"fees": {
"titleFee": 15,
"registrationFee": 46,
"dmvFee": 20,
"combinedFees": 281,
"docFee": 200,
"dmvFees": {
"Temporary Tag": 20
}
}
}
API Reference
Get Payments
GET
/
{vin}
Get Payments
curl --request GET \
--url https://payments.vin/{vin}import requests
url = "https://payments.vin/{vin}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://payments.vin/{vin}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://payments.vin/{vin}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://payments.vin/{vin}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://payments.vin/{vin}")
.asString();require 'uri'
require 'net/http'
url = URI("https://payments.vin/{vin}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"vehicle": {
"vin": "1C4HJXEN5MW592818",
"year": "2021",
"make": "Jeep",
"model": "Wrangler"
},
"criteria": {
"price": 25000,
"zip": "43345",
"docFee": 200,
"tradeIn": 0
},
"paymentsData": {
"loanAmount": 27093.5,
"loanMonthlyPayment": 434.23,
"loanMonthlyPaymentWithTaxes": 470.59,
"totalTaxesAndFees": 2093.5,
"taxes": {
"citySalesTax": 0,
"combinedSalesTax": 1812.5,
"countySalesTax": 375,
"districtSalesTax": 0,
"stateSalesTax": 1437.5,
"gasGuzzlerTax": 0
},
"fees": {
"titleFee": 15,
"registrationFee": 46,
"dmvFee": 20,
"combinedFees": 281,
"docFee": 200,
"dmvFees": {
"Temporary Tag": 20
}
},
"calculationCriteria": {
"numberOfMonths": 72,
"financeRate": 7.663,
"downPayment": 0,
"tradeIn": 0,
"tradeInOwedAmount": 0,
"salesPrice": 25000,
"conditionalIncentiveAmount": 0,
"primaryIncentiveAmount": 0,
"docFee": 200,
"zipCode": "43345",
"styleId": 401858048,
"marketValue": 25000,
"withConcreteTaxesAndFees": true,
"applyLimits": true,
"msrp": 25000,
"lowerLimit": false
},
"limitCriteria": {
"limitPercentage": 70,
"limitPrice": 25000,
"limits": []
}
},
"apr": {
"36": 7.644,
"48": 7.644,
"60": 7.524,
"72": 7.663,
"84": 8.263
},
"totalTaxesAndFees": 2093.5,
"taxes": {
"citySalesTax": 0,
"combinedSalesTax": 1812.5,
"countySalesTax": 375,
"districtSalesTax": 0,
"stateSalesTax": 1437.5,
"gasGuzzlerTax": 0
},
"fees": {
"titleFee": 15,
"registrationFee": 46,
"dmvFee": 20,
"combinedFees": 281,
"docFee": 200,
"dmvFees": {
"Temporary Tag": 20
}
}
}
string
required
The Vehicle Identification Number (e.g. WP0AF2A99KS165242)
Response
The response will be an array of search results. Each result will contain the text of the search result and the filter object of the search result.object
required
object
required
object
required
The paymentsData object contains the loanAmount, loanMonthlyPayment, loanMonthlyPaymentWithTaxes, totalTaxesAndFees, taxes, fees, calculationCriteria, and limitCriteria of the vehicle.
Show properties
Show properties
number
The loan amount of the vehicle (e.g. 27093.5)
number
The loan monthly payment of the vehicle (e.g. 434.23)
number
The loan monthly payment with taxes of the vehicle (e.g. 470.59)
number
The total taxes and fees of the vehicle (e.g. 2093.5)
object
The taxes object contains the citySalesTax, combinedSalesTax, countySalesTax, districtSalesTax, stateSalesTax, and gasGuzzlerTax of the vehicle.
Show properties
Show properties
number
The city sales tax of the vehicle (e.g. 0)
number
The combined sales tax of the vehicle (e.g. 1812.5)
number
The county sales tax of the vehicle (e.g. 375)
number
The district sales tax of the vehicle (e.g. 0)
number
The state sales tax of the vehicle (e.g. 1437.5)
number
The gas guzzler tax of the vehicle (e.g. 0)
object
The fees object contains the titleFee, registrationFee, dmvFee, combinedFees, docFee, and dmvFees of the vehicle.
Show properties
Show properties
number
The title fee of the vehicle (e.g. 15)
number
The registration fee of the vehicle (e.g. 46)
number
The dmv fee of the vehicle (e.g. 20)
number
The combined fees of the vehicle (e.g. 281)
number
The doc fee of the vehicle (e.g. 200)
object
The calculationCriteria object contains the numberOfMonths, financeRate, downPayment, tradeIn, tradeInOwedAmount, salesPrice, conditionalIncentiveAmount, primaryIncentiveAmount, docFee, zipCode, styleId, marketValue, withConcreteTaxesAndFees, applyLimits, msrp, and lowerLimit of the vehicle.
Show properties
Show properties
number
The number of months of the vehicle (e.g. 72)
number
The finance rate of the vehicle (e.g. 7.663)
number
The down payment of the vehicle (e.g. 0)
number
The trade in of the vehicle (e.g. 0)
number
The trade in owed amount of the vehicle (e.g. 0)
number
The sales price of the vehicle (e.g. 25000)
number
The conditional incentive amount of the vehicle (e.g. 0)
number
The primary incentive amount of the vehicle (e.g. 0)
number
The doc fee of the vehicle (e.g. 200)
string
The zip code of the vehicle (e.g. 43345)
number
The style id of the vehicle (e.g. 401858048)
number
The market value of the vehicle (e.g. 25000)
boolean
The with concrete taxes and fees of the vehicle (e.g. true)
boolean
The apply limits of the vehicle (e.g. true)
number
The msrp of the vehicle (e.g. 25000)
boolean
The lower limit of the vehicle (e.g. false)
object
{
"vehicle": {
"vin": "1C4HJXEN5MW592818",
"year": "2021",
"make": "Jeep",
"model": "Wrangler"
},
"criteria": {
"price": 25000,
"zip": "43345",
"docFee": 200,
"tradeIn": 0
},
"paymentsData": {
"loanAmount": 27093.5,
"loanMonthlyPayment": 434.23,
"loanMonthlyPaymentWithTaxes": 470.59,
"totalTaxesAndFees": 2093.5,
"taxes": {
"citySalesTax": 0,
"combinedSalesTax": 1812.5,
"countySalesTax": 375,
"districtSalesTax": 0,
"stateSalesTax": 1437.5,
"gasGuzzlerTax": 0
},
"fees": {
"titleFee": 15,
"registrationFee": 46,
"dmvFee": 20,
"combinedFees": 281,
"docFee": 200,
"dmvFees": {
"Temporary Tag": 20
}
},
"calculationCriteria": {
"numberOfMonths": 72,
"financeRate": 7.663,
"downPayment": 0,
"tradeIn": 0,
"tradeInOwedAmount": 0,
"salesPrice": 25000,
"conditionalIncentiveAmount": 0,
"primaryIncentiveAmount": 0,
"docFee": 200,
"zipCode": "43345",
"styleId": 401858048,
"marketValue": 25000,
"withConcreteTaxesAndFees": true,
"applyLimits": true,
"msrp": 25000,
"lowerLimit": false
},
"limitCriteria": {
"limitPercentage": 70,
"limitPrice": 25000,
"limits": []
}
},
"apr": {
"36": 7.644,
"48": 7.644,
"60": 7.524,
"72": 7.663,
"84": 8.263
},
"totalTaxesAndFees": 2093.5,
"taxes": {
"citySalesTax": 0,
"combinedSalesTax": 1812.5,
"countySalesTax": 375,
"districtSalesTax": 0,
"stateSalesTax": 1437.5,
"gasGuzzlerTax": 0
},
"fees": {
"titleFee": 15,
"registrationFee": 46,
"dmvFee": 20,
"combinedFees": 281,
"docFee": 200,
"dmvFees": {
"Temporary Tag": 20
}
}
}
⌘I