API Reference › Endpoints

Leases

A lease to own lets a business use a domain from the first month and own it after the last payment, at the rent and number of months the listing sets. It is a lease, not a loan: there's no interest and no credit check. When it starts, the person hands the domain to Ported.io, as for a sale, and Ported.io holds it during the lease. Each month's rent goes to the person through Stripe 5 business days after it arrives, less Ported.io's 1% and Stripe's fees, and the domain's yearly renewal comes out of one payment. A missed payment gives the buyer 14 days to make it. If they don't, the lease ends, the domain goes back to the person, and they keep the rent paid. Leases are read only through the API.

statusMeans
startingThe lease started. The person hands the domain to Ported.io by handOverBy, 5 business days later, in the app.
activeThe buyer uses the domain and pays the rent each month.
paymentMissedA payment didn't go through. The buyer has until graceUntil, 14 days after it was due, to make it.
endedThe payment wasn't made in time. The domain went back to the person, and they keep the rent paid.
completeEvery payment arrived, or the buyer bought it outright. The domain is theirs.
forfeitedThe person took the domain out of Ported.io's account during the lease. Under the lease terms for owners that forfeits it to the buyer: no more rent is due, Ported.io pursues the person to hand it over, and they can't sell on Ported.io again.
cancelledThe buyer's first payment didn't arrive within 10 days, so the lease never started. Nothing changed hands.

GET /api/v1/leases read

Takes status, domain, cursor and limit. Newest first.

GET /api/v1/leases/{leaseId} read

While a lease is starting, the inbox has a lease item whose next tells the person to hand the domain over on the lease page, as for a sale.

Response
HTTP/1.1 200 OK

{
  "id": "ls_4Q7N",
  "domain": "kilnworks.com",
  "buyer": "Buyer 6114",
  "status": "active",
  "rent": 300,
  "months": 60,
  "total": 18000,
  "paymentsMade": 7,
  "received": 2100,
  "paymentsLeft": 53,
  "nextPayment": { "amount": 300, "due": "2026-12-22" },
  "eachPayout": { "portedIo": 3, "stripe": 4.48, "youReceive": 292.52 },
  "startedAt": "2026-05-22T09:00:00Z",
  "handOverBy": null,
  "graceUntil": null,
  "endedAt": null,
  "appUrl": "https://app.ported.io/leases/ls_4Q7N",
  "next": [
    { "do": "wait", "until": "The next payment, due Dec 22. Ported.io emails the person if a payment is missed.", "checkWith": "GET /api/v1/inbox" }
  ]
}
Response: a payment missed
HTTP/1.1 200 OK

{
  "id": "ls_4Q7N",
  "domain": "kilnworks.com",
  "status": "paymentMissed",
  "paymentsMade": 6,
  "nextPayment": { "amount": 300, "due": "2026-11-22" },
  "graceUntil": "2026-12-06",
  "next": [
    { "do": "tellPerson", "say": "Buyer 6114 missed the lease payment for kilnworks.com due Nov 22. They have until Dec 6 to make it. If they don't, the lease ends and kilnworks.com comes back to you. You keep the $1,800 already paid." }
  ]
}