BorrouPartner APISandboxDraft

Draft documentation for partners integrating against the sandbox. It can change before /v1 is published; the contract, openapi.yaml, is the reference.

Borrou Partner API · v1 draft

USDT loans backed by bitcoin, inside your app

Your users borrow USDT against their BTC without leaving your product. You originate and inform through the API; TFG approves every payout and every return of collateral with two people, and the custodian executes them. The API never moves funds.

  • Sandbox https://api.borrou.capital
  • Live: announced by TFG
  • Contract 0.13.0-draft
  • OAuth 2.0 client credentials

How a loan runs

Every step is an API call of yours, the borrower's act in your app, or a decision at TFG. You follow all of them by webhook and by the events feed.

  1. Apply and verify

    You create the application. The borrower completes KYC at Borrou's provider, with your own evidence where TFG accepts it; TFG decides.

  2. Loan and contract

    You create the loan from the approved application on a quoted product. The borrower accepts the contract with a one-time code, or signs it.

  3. Collateral

    The borrower sends BTC to the loan's own address, signed by Borrou. The custodian screens and releases it.

  4. Payout and servicing

    Two TFG people approve the payout; the custodian executes it. You show coverage, margin calls, the maturity and the repayment.

Built to be integrated safely

The conventions an integration can rely on, on every endpoint.

Idempotent writes

Every POST and DELETE takes an Idempotency-Key: retry with the same key and get the same answer, never a second loan.

Signed webhooks and an ordered feed

Every event is signed with your subscription's secret, and the same events are in GET /v1/events in a guaranteed order, to recover anything missed.

Signed collateral addresses

Borrou signs every deposit and top-up address with Ed25519; your app verifies it before the borrower sees it.

Personal data stays write-only

Borrower fields are never returned and never in an event. Responses carry identifiers, statuses and amounts.

No address, ever

Payouts and returns go only where TFG has set for you, at the custodian. A body with an address is refused.

A sandbox with simulators

Play the borrower, the KYC provider, the custodian and the payout's two approvals, on synthetic data, with your own BTC price.

Documentation

Start with the integration guide; the reference has every endpoint, schema, webhook event and error code.

Getting access

Sandbox credentials are issued by TFG to the partners it onboards, with the partner and product configured for them. If you are integrating, ask your TFG contact for your sandbox credential; it is handed over through a secure channel, never by email in clear. Live access follows the checklist at the end of the integration guide.