Create a borrower
POST/borrower
Create a borrower
Request
- application/json
Body
required
name stringrequired
email stringrequired
dob stringrequired
Possible values: Value must match regular expression ^(\d{4}-\d{2}-\d{2})$
Borrowers date of birth in ISO8601 date string format
creditScore integerrequired
Possible values: <= 1000
Responses
- 200
- 201
- 400
Borrower already exists
- application/json
- Schema
- Example (from schema)
Schema
email stringrequired
{
"email": "string"
}
Borrower created
- application/json
- Schema
- Example (from schema)
Schema
email stringrequired
{
"email": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
{
"message": "string"
}
Loading...