Fundamentally submitting a payment for an impound vehicle consists of 4 3 steps:
Finding the correct vehicle
finding its fees/total to the user and eligibility for release
Creating the receipt & payment
...
Note how in the response the vehicle’s status has changed to RELEASE_PENDING. This happens when a vehicle in a releasable state has been fully paid for. Also note the value in vehicle
.releaseAuthorizedThrough
, this is the latest time that the vehicle owner can show up to the yard to retrieve the vehicle before additional fees might be applied.
Expand | ||
---|---|---|
| ||
curl --location 'https://staging-api.autoreturn.net/api-web/api/impound/createReceiptAndPayment' \ --header 'Content-Type: application/json' \ --data-raw '{ "vehicleId": 1067632, "amount": 9181.2200, "paymentType": "CREDIT_CARD", "receiptMessage": "Payment was made online", "creditCardType": "VISA", "authorizationNumber": "string", "checkNumber": "string", "externalRefNumber": "string", "impoundContact": { "firstName": "Joe", "lastName": "Schmoe", "address1": "Address1", "address2": "address2", "city": "City", "state": "CA", "zip": "12345", "identification": "ABC123", "identificationType": "US_DL", "idState": "CA", "email": "joe@example.com", "type": "PAID_BY", "phoneNumber": "5555555555" }, "paymentDate": "2024-02-01T12:15:50" }' |
Expand | ||
---|---|---|
| ||
|