Upload an Excel file to bulk import settlement data for a drawdown intent. The system parses the Excel file and automatically creates:
This endpoint only accepts Excel files (.xlsx or .xls).
drawdown_id (loan_request_id) value in the Excel file’s Drawdowns sheet must exactly match the drawdownId parameter in the URL path.allocation_amount values across corridors, and the sum of all amount values across routes, must equal the total drawdown amount.The Excel file must contain exactly four sheets with the following structure:
| Column | Description |
|---|---|
| intent_submission_id | Unique identifier for the intent submission |
| drawdown_id (loan_request_id) | The drawdown ID (must match path parameter) |
| amount | Drawdown amount |
| currency | Currency code (e.g., USD, EUR) |
| Column | Description |
|---|---|
| corridor_id | Unique identifier for the corridor |
| intent_submission_id | Reference to the drawdown |
| intent_code | Intent code |
| origin_country | Origin country code |
| destination_country | Destination country code |
| allocation_amount | Amount allocated to this corridor |
| allocation_currency | Currency for the allocation |
| expected_settlement_at | Expected settlement timestamp (ISO-8601) |
| additional_fields | Optional JSON object with extra data |
| Column | Description |
|---|---|
| route_id | Unique identifier for the route |
| corridor_id | Reference to the corridor |
| rail_type | Type of payment rail |
| provider | Payment provider |
| source_instrument | Source instrument (JSON or “type:id” format) |
| dest_instrument | Destination instrument (JSON or “type:id” format) |
| source_currency | Source currency code |
| dest_currency | Destination currency code |
| amount | Route amount |
| expected_at | Expected completion timestamp |
| Column | Description |
|---|---|
| proof_id | Unique identifier for the proof (idempotency key) |
| route_id | Reference to the route |
| doc_type | Document type (see supported types below) |
| mime_type | MIME type of the document |
| url | URL where the document is stored |
| recorded_at | Timestamp when proof was recorded (ISO-8601) |
| hash_sha256 | Optional SHA-256 hash for integrity verification |
| metadata | Optional JSON object with extra data |
The doc_type column in the Docs sheet accepts these values:
MT103 - SWIFT MT103 payment messageWIRE_RECEIPT - Wire transfer receiptACH_STATEMENT - ACH transaction statementSEPA_CONFIRMATION - SEPA transfer confirmationRTGS_ADVICE - Real-Time Gross Settlement adviceMOBILE_EXPORT - Mobile money transaction exportCARD_PROCESSOR_REPORT - Card processor reportBLOCK_EXPLORER - Blockchain explorer screenshot/exportBANK_STATEMENT - Bank account statementCEP - Comprobante Electronico de Pago (Mexican electronic payment receipt)JWT token following RFC001 specification
Unique identifier for the drawdown (UUID format). This ID must exist in the Drawdowns sheet of the uploaded Excel file.
Excel file containing settlement data. Only the following formats are accepted:
.xlsx (Excel 2007+).xls (Excel 97-2003)Other file types (PDF, PNG, JPG, etc.) will be rejected with a 400 error.
Settlement data uploaded successfully
Success message confirming the upload
"Settlement data uploaded successfully"
Number of drawdown records created from the Excel file
1
Number of corridor records created from the Excel file
3
Number of route records created from the Excel file
5
Number of settlement proof documents created from the Excel file
5