POST
/
creditapps
curl --request POST \
  --url https://commerce.driv.ly/api/creditapps \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "crapp_4ks9j3k2d0d2",
  "ssn": "123-45-6789",
  "email": "john.doe@example.com",
  "vehicle": "Vehicle ID",
  "lastName": "Doe",
  "consumer": "Consumer ID",
  "birthDate": "1984-09-20",
  "firstName": "John",
  "phoneNumber": "555-0199",
  "preApproval": "Pre-Approval ID",
  "coApplicantSSN": "234-56-7890",
  "coApplicantEmail": "jane.doe@example.com",
  "coApplicantLastName": "Doe",
  "coApplicantConsumer": "Consumer ID",
  "coApplicantBirthDate": "1990-07-12",
  "coApplicantFirstName": "Jane",
  "coApplicantPhoneNumber": "555-6789"
}'
{
  "data": {
    "id": "crapp_4ks9j3k2d0d2",
    "ssn": "123-45-6789",
    "email": "john.doe@example.com",
    "vehicle": "Vehicle ID",
    "lastName": "Doe",
    "consumer": "Consumer ID",
    "birthDate": "1984-09-20",
    "firstName": "John",
    "phoneNumber": "555-0199",
    "preApproval": "Pre-Approval ID",
    "coApplicantSSN": "234-56-7890",
    "coApplicantEmail": "jane.doe@example.com",
    "coApplicantLastName": "Doe",
    "coApplicantConsumer": "Consumer ID",
    "coApplicantBirthDate": "1990-07-12",
    "coApplicantFirstName": "Jane",
    "coApplicantPhoneNumber": "555-6789"
  },
  "success": true
}

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json

Response

200
application/json

Credit App Created

The response is of type object.