# Send Customer Application

Submits a previously configured customer application for review and processing. This endpoint finalizes the application submission, triggering the review workflow and moving the application from draft to submitted status.

**Endpoint:** `PATCH /v2/customer/{customerId}/application`

**Link:**&#x20;

{% embed url="<https://stagep.tst-apidmndelss.com/openapi/v2.html#/operations/Customer_SendApplication>" %}

### **Request**

#### **Path Parameters**

| Parameter        | Type     | Description                                  | Required | Example                       |
| ---------------- | -------- | -------------------------------------------- | -------- | ----------------------------- |
| **`customerId`** | `string` | **Customer ID** whose application to submit. | Yes      | `"D7k3xbc-ERrj-lde9k1t3XuaE"` |

#### **Headers**

| Key             | Value              | Required |
| --------------- | ------------------ | -------- |
| `Authorization` | `123`              | Yes      |
| `Accept`        | `application/json` | Yes      |
| `Content-Type`  | `application/json` | Yes      |

#### **Request Body**

No request body required for this endpoint. The submission is based on the previously saved application data.

***

### **Response (200 OK)**

Returns the submission status and confirmation message.

#### **Response Fields**

| Field         | Type      | Description                   | Example                                |
| ------------- | --------- | ----------------------------- | -------------------------------------- |
| **`success`** | `boolean` | **Submission status**.        | `true`                                 |
| **`message`** | `string`  | **Operation result message**. | `"Application submitted successfully"` |

### **Error Responses**

1. **Customer Not Found**:

   json

   ```
   {
     "success": false,
     "message": "Customer not found: D7k3xbc-ERrj-lde9k1t3XuaE"
   }
   ```
2. **Application Not Configured**:

   json

   ```
   {
     "success": false,
     "message": "No application found for customer D7k3xbc-ERrj-lde9k1t3XuaE"
   }
   ```
3. **Missing Required Information**:

   json

   ```
   {
     "success": false,
     "message": "Application incomplete: missing required documents"
   }
   ```
4. **Unauthorized**:

   json

   ```
   {
     "success": false,
     "message": "Unauthorized"
   }
   ```
5. **Application Validation Failed**:

   json

   ```
   {
     "success": false,
     "message": "Application validation failed: invalid tax identification number"
   }
   ```

***

### **Notes**

* **Prerequisite**: An application must be previously configured using `POST /v2/customer/{customerId}/application`
* **State Transition**: Moves application from `NEW` to `READY_FOR_MODERATION` status
* **Workflow Trigger**: Initiates KYC/AML review processes
* **Idempotent**: Multiple calls have the same effect (won't resubmit already submitted applications)
* **Validation**: Comprehensive validation performed before submission

**Application Status Flow**:

1. **NEW** → Application created but not submitted
2. **READY\_FOR\_MODERATION** → Application sent for review (this endpoint)
3. **MODERTION** → Being reviewed by compliance team
4. **VERIFICATION** → Waiting for the final status
5. **ACCEPT** / **REJECTED**  → Final statuses

**What Happens After Submission**:

* Application enters review queue
* Compliance team notifications triggered
* Document verification processes initiated
* Review timeline starts

#### Example

**Real request**

```postman_json
Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjE2NCwiZXhwIjoxNzY1NzgxNTcxLCJrZXkiOiI1Y2ZiOGZjN2RmYjk4ZjVkYmIyZTgwNTVkZWFhN2U2Zjk4MzEyYmE3Iiwib3RwX3ZlcmlmaWVkIjpmYWxzZX0.VCpRI6Xwg0YGEdZRk0JuhDAKkE0mQPK3GSwOHjHKTno
customerId*: D7k3xbc-ERrj-lde9k1t3XuaE
```

**Real response**

200OK

```postman_json
{
  "success": true,
  "message": ""
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.delos.financial/application/send-customer-application.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
