> This page is for BaaS.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://en.docs.api.corpx.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://en.docs.api.corpx.com/_mcp/server.

# P2P Crypto — statement and balance

A P2P order shows up in three places in the account: in the **balance** (the locked amount), in **holds** (the hold with its source order) and in the **statement** (the release transfers). In all of them, the counterparty is anonymous.

## Account timeline

```mermaid
sequenceDiagram
    participant C as Buyer account
    participant V as Seller account
    participant I as CorpX intermediation
    Note over C: Opening: available drops,<br />heldAmount rises,<br />hold active with source p2p_order
    Note over C,V: Release
    C->>V: COMPRA P2P CRIPTO / VENDA P2P CRIPTO<br />p2p-{orderId}
    V->>I: TAXA INTERMEDIAÇÃO KYC P2P CRIPTO<br />fee-p2p-{orderId} (seller pays)
    Note over C: hold released, heldAmount goes back
```

When the buyer pays the fee, it comes out of the hold itself: the `TAXA INTERMEDIAÇÃO KYC P2P CRIPTO` line appears in the buyer's statement, not the seller's. On cancellation, there is no statement line: the hold becomes `cancelled` and the balance goes back to available.

## Balance

`GET /v1/accounts/{accountId}/balance` carries `heldAmount`: the part of `locked` that is holds made through the API, including those from P2P orders. To see which ones, use `GET .../holds?status=held`; the sum of the list matches `heldAmount`. Details in [Balance holds](/baas/guias/conta/bloqueios-de-saldo).

## Statement

Every line with a `p2p-…` or `fee-p2p-…` identifier gets the P2P presentation, in the statement, the advanced statement, the transaction detail and the export:

| Leg                                | `description` / `title`                     | `type`              | `feeServiceType` |
| ---------------------------------- | ------------------------------------------- | ------------------- | ---------------- |
| Payment, buyer debit               | `COMPRA P2P CRIPTO`                         | `INTERNAL_TRANSFER` | —                |
| Payment, seller credit             | `VENDA P2P CRIPTO`                          | `INTERNAL_TRANSFER` | —                |
| Fee, debit of whoever pays         | `TAXA INTERMEDIAÇÃO KYC P2P CRIPTO`         | `FEE`               | `P2P_CRYPTO`     |
| Fee refund, credit of whoever paid | `ESTORNO TAXA INTERMEDIAÇÃO KYC P2P CRIPTO` | `FEE`               | `P2P_CRYPTO`     |

In all of them: `partnerType: P2P_CRYPTO_ORDER`, and the counterparty (`payer` or `beneficiary`) is only `{ "name": "ORDEM P2P CRIPTO" }`, with no document or account.

Each line also carries:

* `p2pOrderId` and `p2pKind` (`payment`, `fee` or `fee_refund`);
* `p2pOrder`: a summary of **your** order, with no counterparty data.

```json
{
  "identifier": "p2p-ord_4235120236fa625f2a539d0c",
  "description": "VENDA P2P CRIPTO",
  "type": "INTERNAL_TRANSFER",
  "direction": "IN",
  "amount": 1000.00,
  "partnerType": "P2P_CRYPTO_ORDER",
  "payer": { "name": "ORDEM P2P CRIPTO" },
  "p2pOrderId": "ord_4235120236fa625f2a539d0c",
  "p2pKind": "payment",
  "p2pOrder": {
    "orderId": "ord_4235120236fa625f2a539d0c",
    "kind": "payment",
    "role": "seller",
    "side": "sell",
    "pair": "USDT_TRON",
    "cryptoAmount": "196.29"
  }
}
```

If the seller's credit arrives without an identifier (some settlements do not pass it on), CorpX recognizes the order by the transfer id and applies the same presentation.

## Transaction detail

`GET /v1/accounts/{accountId}/statement/entries/{partnerId}` for a P2P line carries `p2pNegotiation`:

* order summary (status, pair, amounts, `role`, `feePayer`, `netAmount`);
* `concluded` and `concludedAt`;
* the order's `timeline`, with the same anonymity rule as the order;
* `receipt`, when the order is concluded: the same content as `GET .../p2p/orders/{orderId}/receipt`.

This way the internet banking shows the whole trade from the statement, with no other call.

## Transfer webhooks

`transfer.internal.in`, `transfer.internal.out`, `fee.charged` and `fee.refunded` with a P2P identifier arrive with the same `description` as the statement, `p2pOrderId`, `p2pKind`, and the counterparty (`source`/`destination`, `payer`/`receiver`) reduced to `{ "name": "ORDEM P2P CRIPTO" }`. See [Account webhooks](/baas/guias/conta/webhooks).