Skip to main content
POST
/
v1
/
loans
/
consent
cURL
curl --request POST \
  --url https://sandbox-api.itscovered.com/lenders/v1/loans/consent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "693f2f46-69ff-4f20-a4d9-abe982d34fd4",
  "termsOfServiceId": "1.0",
  "email": "email@example.com",
  "phone": "6666666666"
}
'
{
  "consent": true,
  "consentDateTime": "2023-12-25T10:30:00",
  "email": "email@example.com",
  "id": "693f2f46-69ff-4f20-a4d9-abe982d34fd4",
  "phone": "6666666666",
  "termsOfServiceId": "1.0"
}

Authorizations

Authorization
string
header
required

JWT Token

Body

The request to record consent

id
string
required

The unique identifier of the loan application

Example:

"693f2f46-69ff-4f20-a4d9-abe982d34fd4"

termsOfServiceId
string
required

Loan Platform version identifier of Terms of Service

Example:

"1.0"

email
string

Borrower email (optional)

Example:

"email@example.com"

phone
string

Borrower phone number (optional)

Example:

"6666666666"

Response

The response to recording consent

Whether consent was successfully recorded

Example:

true

Consent timestamp

Example:

"2023-12-25T10:30:00"

email
string

Borrower email (optional)

Example:

"email@example.com"

id
string

The unique identifier of the loan application

Example:

"693f2f46-69ff-4f20-a4d9-abe982d34fd4"

phone
string

Borrower phone number (optional)

Example:

"6666666666"

termsOfServiceId
string

Loan Platform version identifier of Terms of Service

Example:

"1.0"