Pilot environment: testnet, simulated yield, mocked fiat rails — read the disclosure
Netting

Decline a proposed agreement

POST
/api/partner/v1/netting/agreements/{id}/decline
AuthorizationBearer <token>

In: header

Path Parameters

id*string

The netting agreement id.

Header Parameters

x-on-behalf-of?string

Act on behalf of one of your sub-clients. The value is that sub-client id, and the request then reads and writes that sub-client's own accounts and registry rows rather than yours. Omit it to act as yourself. A route that does not accept the header refuses it with 400 ON_BEHALF_OF_NOT_ALLOWED_HERE rather than ignoring it — that includes every vault route (deposits, withdrawals, conversions, sub-accounts, positions), the webhook registry, and POST /sub-clients, since a sub-client never has sub-clients of its own. An id that is not one of your sub-clients answers 404 ON_BEHALF_OF_NOT_FOUND; a closed one answers 409 ON_BEHALF_OF_SUB_CLIENT_CLOSED; and a key restricted to a subset of your sub-clients answers 403 ON_BEHALF_OF_NOT_ALLOWED_FOR_KEY for any node outside it.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Why, when declining, ending or withdrawing.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/partner/v1/netting/agreements/snag_3f8c1d2a5e6b7049a1b2c3d4e5f60718/decline" \  -H "Content-Type: application/json" \  -d '{    "reason": "Relationship ended"  }'
{  "data": {    "acceptedAt": {},    "counterparty": {      "accountId": {},      "clientAccountId": "9f1c2a54-7b3d-4e08-9a61-2c5f0b7d4e13",      "legalName": "Acme Trading Ltd"    },    "createdAt": "2026-09-02T10:15:30.000Z",    "currency": "USD",    "declineReason": null,    "declinedAt": {},    "disclosure": {      "items": [        "ENVIRONMENT_IS_TESTNET: The environment is a testnet (Arbitrum Sepolia). No mainnet deployment exists.",        "YIELD_IS_SIMULATED: The vault rate is set administratively and the interest it produces is minted as fresh underlying, not earned. It does not represent a return generated by deployed capital.",        "FIAT_RAILS_ARE_MOCKED: No real fiat movement occurs. Balances are ledger entries against a sandbox provider.",        "CONVERSION_RATES_ARE_MARKET_QUOTED_OR_REFUSED: A conversion is priced only by an external venue that quotes independently of TCB. When no such venue can price the pair, the conversion is refused rather than priced from an internal table. Read rate.pricingModel on every conversion: MARKET is a venue quote; any other value is not a market rate and must not be presented as one.",        "CONTRACTS_ARE_UNAUDITED: No audit has been performed. Mainnet is gated on a two-firm audit that has not been commissioned.",        "CUSTODY_IS_TCB_SUBACCOUNT: Everything held for the client — its vault shares, and the tcbUSD it holds between the steps of the tokenised deposit chain — is held in TCB custody, in the one TCB wallet assigned to the client. The client holds no keys and moves those tokens only through this API; each sub-account's shares and tcbUSD are book entries against what that wallet holds.",        "INTEGRATION_AGREEMENT_ONLY: Fees as published on the rate card; no yield share, no return commitment."      ],      "summary": "This is a pilot integration on a testnet. Nothing in this system earns anything: the yield is simulated and the fiat rails are mocked.",      "version": "2026-10-27"    },    "endReason": null,    "endedAt": {},    "id": "snag_3f8c1d2a5e6b7049a1b2c3d4e5f60718",    "networkLabel": "CommaNet",    "pendingCutApprovalRequestId": null,    "position": {      "netAmount": "1500.00",      "netPayerClientAccountId": {},      "openObligations": 3,      "owedToYou": "2500.00",      "youCut": true,      "youOwe": "4000.00"    },    "proposer": {      "accountId": {},      "clientAccountId": "9f1c2a54-7b3d-4e08-9a61-2c5f0b7d4e13",      "legalName": "Acme Trading Ltd"    },    "rail": "SETTLEMENT",    "role": "PROPOSER",    "status": "ACTIVE",    "updatedAt": "2026-09-02T10:15:30.000Z"  },  "success": true,  "timestamp": "2026-09-02T10:15:30.000Z"}