Skip to main content
This recipe walks through the full lifecycle of submitting a loan tape as an originator — from initiating the upload to the deal being marked for review.

Overview


Step 1 — Initiate the Deal

Call this endpoint with your loan type. The platform creates a new deal in DRAFT status and returns an upload URL valid for 1 hour.
Supported loan types: Auto, Personal, Mortgage, Student, Business, Credit Card Response
If a DRAFT deal already exists for the same loan type, it will be reused and a fresh URL returned.

Step 2 — Upload the File

Using the upload_url from Step 1, upload your CSV or XLSX file directly. No auth header needed — the URL is pre-authorized.
For XLSX files use Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
The upload URL expires in 1 hour. If it expires, call PATCH /originator/loans/:dealId to regenerate.

Step 3 — Complete the Upload

After the file is uploaded, notify the platform. The gateway verifies the file is valid CSV or XLSX, registers it, and transitions the deal to IN_REVIEW.
Response

Step 4 — Check Deal Status

Poll the deal to track its progress through the review pipeline.
Deal status lifecycle:

Regenerate an Expired URL

If your upload URL expired before you could upload, regenerate it:
Returns a fresh upload_url and file_name. The deal remains in DRAFT.

What’s Next