Skip to content

Ingest Endpoint

The /capital/ingest endpoint allows partners to submit new business applications for processing.

Endpoint

POST /capital/ingest

Request Body

FieldTypeRequiredDescription
emailstringYesApplicant's email address. Must be unique and valid format.
business_namestringYesName of the business applying.
einstringYesEmployer Identification Number. Must be exactly 9 digits and unique.

Example Request

json
{
  "email": "[email protected]",
  "business_name": "Acme Corp",
  "ein": "123456789"
}

Responses

Success (200)

When the application is processed successfully:

json
{
  "message": "Application processed successfully. User will receive login instructions via email within a few minutes.",
  "data": {
    "fundex_id": "FFASD123K"
  }
}

The fundex_id is a unique identifier that can be used to track this application.

Validation Error (422)

When the request data is invalid:

json
{
  "message": "The given data was invalid.",
  "errors": {
    "email": [
      "The email has already been taken."
    ]
  }
}

Common validation errors:

  • email: Invalid format, already exists
  • ein: Not 9 digits, already exists, invalid format

Server Error (500)

When an internal error occurs:

json
{
  "error": "Connection timed out"
}

WARNING

If you receive a 500 error, wait a few moments and retry the request. If the issue persists, contact partner support.