UW AIYou fund. We run the rest.
Developers · API reference

Applications API reference

Read underwriting results for your applications and record the decisions made in your own system. Version 1, over HTTPS, with JSON responses.

Overview

A server-to-server API for approved customers and partners. Every endpoint uses GET except one write, which records your decision. Your base URL is sent with your keys.

Base URL
https://<api-host>/api/v1/external

Authentication

  • Send your key in the Authorization header: Bearer mca_live_<keyId>_<secret>.
  • Live keys start with mca_live_ and sandbox keys with mca_test_. A key works only in the environment that issued it.
  • Keys are shown once, so store them in a secret manager.
  • Keys in the URL are rejected with 400 credentials_in_query.
  • Keys can be revoked at any time and can expire. Hold two active keys to rotate without downtime.
  • Any authentication problem returns the same 401 unauthorized.
Header
Authorization: Bearer mca_live_<keyId>_<secret>

Access and security

  • Each API client belongs to an organization, which decides which applications it can see.
  • An application you can't see returns 404, exactly like one that doesn't exist.
  • An IP allowlist can limit a client to your own addresses and ranges, IPv4 or IPv6.
  • Your organization can require that an application is sent to your CRM before the API shows it.

Scopes

Each API client is given only the scopes it needs. A missing scope returns 403 insufficient_scope.

ScopeAllows
applications:readGET /applications/{applicationId}
applications:listGET /applications
applications:decidePUT /applications/{applicationId}/decision

Endpoints

GET

/me

Your API client, its organization and key, and the environment (live or sandbox).

Scope: any valid key

  • Every response also carries the environment in the X-MCA-Environment header.
Response (shortened)
{
  "data": {
    "environment": "live",
    "client": { "name": "Example CRM prod", "scopes": ["applications:read"] },
    "organization": { "name": "Example Funding", "accessMode": "uw" },
    "key": { "keyId": "5q8r1t6v3w5y", "expiresAt": null }
  },
  "meta": { "requestId": "…" }
}
GET

/applications?limit=&cursor=

The applications your organization can see, newest first, a page at a time.

Scope: applications:list

  • limit: 1 to 100 (default 25). cursor: the nextCursor from the previous page.
  • nextCursor is null on the last page. There is no total count.
  • Any other, repeated or malformed parameter returns 400.
Response (shortened)
{
  "data": [{
    "applicationId": "6abab68a75972c0d9c4c2af9",
    "date": "2026-09-10",
    "createdAt": "…",
    "updatedAt": "…",
    "decision": { "status": "pending", "declinedReason": null },
    "riskCategory": null,
    "client": { "name": "Example Merchant LLC" }
  }],
  "page": { "limit": 25, "nextCursor": "6abab5fe75972c0d9c4c1de5" },
  "meta": { "requestId": "…" }
}
GET

/applications/{applicationId}

One application in full: decision, bank analysis by month, positions, offer, leverage, additional information and merchant details.

Scope: applications:read

  • offer is null unless the application is approved. bankTotals is null unless at least two banks have data.
  • Only the last four digits of a bank account are ever returned, and bankAccounts is left out if your organization hides account numbers.
  • merchant and sourceEmail are filled once the application has been sent to your CRM. SSN and date of birth are never returned.
  • Not included in v1: notes, transactions, documents, background checks and AI statement analysis.
Response (shortened)
{
  "data": {
    "application": {
      "applicationId": "6abab68a75972c0d9c4c2af9",
      "date": "2026-09-10",
      "decision": { "status": "approved", "declinedReason": null },
      "riskCategory": "medium",
      "client": { "name": "Example Merchant LLC" }
    },
    "bankAccounts": [{ "index": 0, "last4": "1098" }],
    "banks": [{ "index": 0, "months": [{ "month": "2026-08", "totalCredits": 42000.5,
      "fundingAmount": 20000, "transfers": 0, "netCredit": 22000.5 }] }],
    "positions": [{ "lender": "Example Funder", "startDate": "2026-08-04", "amountFunded": 20000,
      "status": "ACTIVE", "frequency": "Daily", "installment": 300, "monthlyPayments": 6600, "remitPct": 14.1 }],
    "offer": { "offer": 30000, "rate": 1.45, "term": 90, "frequency": "Daily",
      "periodicRepay": 483.33, "monthlyPayment": 10633.26, "repayment": 43500, "ourPosition": 2 },
    "leverage": { "ourRemitPct": 36.23, "existingRemitPct": 14.1, "totalRemitPct": 50.33,
      "overThreshold": false, "thresholdPct": 60 },
    "merchant": { "legalName": "Example Merchant LLC", "industry": "Restaurants", "timeInBusinessMonths": 91 }
  },
  "meta": { "requestId": "…", "currency": "USD", "calcVersion": "1", "dataAsOf": "…", "generatedAt": "…" }
}
PUT

/applications/{applicationId}/decision

Record the decision made in your own system, so both records match.

Scope: applications:decide

  • Send Content-Type: application/json. status is "approved" or "declined".
  • declinedReason is required when declined (1 to 500 characters), and must be empty or absent when approved.
  • Last write wins, and sending the same decision again is harmless.
  • Only the decision is recorded. Approving does not create or change an offer.
Request body
{ "status": "declined", "declinedReason": "Funded elsewhere" }
Response (shortened)
{
  "data": {
    "applicationId": "6abab68a75972c0d9c4c2af9",
    "decision": { "status": "declined", "declinedReason": "Funded elsewhere" },
    "previousDecision": { "status": "approved", "declinedReason": null }
  },
  "meta": { "requestId": "…" }
}

Values and calculations

  • Money is a JSON number in USD, rounded to 2 decimals. Percentages have 2 decimals.
  • Missing values are null. The API never fills in display defaults.
  • Dates are YYYY-MM-DD, and timestamps are ISO 8601 UTC.
  • Net credit is total credits less funding, transfers, unverified deposits and other.
  • Leverage is monthly payments divided by average net credit. Total leverage over 60% sets overThreshold.
  • Position figures are the values saved in the tool by the underwriter, not independently recalculated.

Errors

Errors share one shape, and every one carries a requestId to quote when you contact support.

{ "error": { "code": "not_found", "message": "Application not found", "requestId": "…" } }
StatusCodeWhen
400invalid_application_id, invalid_parameter, invalid_limit, invalid_cursor, invalid_body, credentials_in_query, https_requiredMalformed request
401unauthorizedAny authentication failure
403insufficient_scope, ip_not_allowedMissing scope, or a request from outside the IP allowlist
404not_foundUnknown application, or one you can't see
405method_not_allowedWrong method for the path. The Allow header names the right one.
415unsupported_media_typeDecision body not sent as application/json
429rate_limitedToo many requests. Wait for the Retry-After time.
503service_unavailableTemporarily unavailable. Retry with backoff.

Rate limits

  • 60 requests per minute per API client, with bursts of up to 10.
  • Responses carry RateLimit-Limit and RateLimit-Remaining headers.
  • A 429 response carries Retry-After. Wait that long before retrying.
  • Repeated failed authentication from one address is blocked for a short window.

Sandbox

The sandbox has the same endpoints, parameters, responses, errors, scopes and rate limits as live, with synthetic data. Code built against it works on live by changing only the base URL and key.

  • Sandbox keys start with mca_test_, and every response carries X-MCA-Environment: sandbox.
  • Data is synthetic and reset from time to time. The test application ids below stay the same.
  • The decision endpoint works in the sandbox and changes the sandbox application until the next reset.
applicationIdStatusShows
5a5b00000000000000000081200Approved, with a final offer, positions and two bank accounts
5a5b00000000000000000082200Pending decision
5a5b00000000000000000083200Declined, with a reason
5a5b00000000000000000084200Assigned to two underwriters
5a5b00000000000000000085404Outside your organization's access

Ready for keys? Request API access and we'll set up your sandbox client.

Request API access.

Tell us which system you're connecting, and we'll set up your API client and send sandbox keys.