> This page is for Internet banking (beta).

> 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.

# Read the price evidence of an order

GET https://client.api.corpx.com/v1/accounts/{accountId}/p2p/orders/{orderId}/price-evidence

The Binance query that locked the order price, as it happened: request, response with every header and the raw body, TLS session and certificate chain, timestamps and hashes. Available to both parties from the moment the order opens. `evidenceSha256` is the SHA-256 of the canonical JSON of `capture` (without that field); `verified` says the stored record still matches it.


Reference: https://en.docs.api.corpx.com/ib/referencia/p-2-p/get-p-2-p-order-price-evidence

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `accountId` (string, required) — Account identifier.
- `orderId` (string, required) — P2P order identifier.

### Headers

- `X-Tenant-Id` (string, required) — Tenant context used for authorization and routing.
- `X-Request-Timestamp` (string, required) — Unix seconds. Required on the signed host; tolerance is 300s either way (`403 request_timestamp_skew`).
- `X-Content-SHA256` (string, required) — Lowercase hex SHA-256 of the body. An empty body hashes the empty string, so the header is always present. Mismatch returns `400 body_hash_mismatch`.
- `X-Request-Signature` (string, required) — Detached JWS (`<protected>..<signature>`, ES256 or PS256) over `METHOD\nPATH?QUERY\nTIMESTAMP\nIDEMPOTENCY_KEY_OR_EMPTY\nX_CONTENT_SHA256`.

## Response

### 200

Price evidence

- `orderId` (string, optional)
- `source` (string, optional) — Always `binance`.
- `symbol` (string, optional) — Binance symbol queried, e.g. `USDTBRL`.
- `spotPrice` (string, optional) — Binance spot price in BRL at opening, 4 decimal places.
- `orderPrice` (string, optional) — Price the order locked, 4 decimal places (spread or offset applied over `spotPrice`, or the ad's fixed price). The BRL amount of the order is rounded to cents separately.
- `requestedAt` (datetime, optional)
- `respondedAt` (datetime, optional)
- `latencyMs` (integer, optional)
- `bodySha256` (string, optional) — SHA-256 of the raw response body.
- `evidenceSha256` (string, optional) — SHA-256 of the canonical JSON of `capture` without this field.
- `verified` (boolean, optional) — Whether `evidenceSha256` still matches `capture` when read.
- `archived` (boolean, optional) — Whether a copy of the canonical JSON was also stored in the archive bucket.
- `createdAt` (datetime, optional)
- `capture` (map from string to any, optional) — The HTTP exchange as it happened: `request` (method, url, headers), `response` (status, proto, headers, raw `body`, `bodySha256`), `transport` (remote address, `tls` with version, cipher, server name and certificate chain), timestamps and `evidenceSha256`.

## Errors

### 403 Forbidden Error

`feature_disabled`.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 404 Not Found Error

`order_not_found` or `price_evidence_not_found` (order opened before evidence recording existed).

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

## Types

### ErrorResponsePartner

Raw error from the settlement bank, when the failure came from it. Diagnostic only.

- `code` (string, optional)
- `message` (string, optional)
- `field` (string, optional) — Field the partner pointed at, when any.

## Examples

**Response**

```json
{
  "orderId": "p2o_01JB8Z6Q4C9K7X2M3N5P",
  "source": "binance",
  "symbol": "USDTBRL",
  "spotPrice": "5.4800",
  "orderPrice": "5.5200",
  "requestedAt": "2026-11-05T14:05:00.123Z",
  "respondedAt": "2026-11-05T14:05:00.301Z",
  "latencyMs": 178,
  "bodySha256": "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae",
  "evidenceSha256": "9f2b00000000000000000000000000000000000000000000000000000000c1d3",
  "verified": true,
  "archived": true,
  "createdAt": "2026-11-05T14:05:00Z",
  "capture": {
    "asset": "USDT",
    "evidenceSha256": "9f2b00000000000000000000000000000000000000000000000000000000c1d3",
    "latencyMs": 178,
    "price": "5.48000000",
    "priceCents": 548,
    "request": {
      "headers": {
        "Accept": [
          "application/json"
        ],
        "User-Agent": [
          "corpx-facade-p2p/1.0 (+https://docs.api.corpx.com)"
        ]
      },
      "method": "GET",
      "url": "https://api.binance.com/api/v3/ticker/price?symbol=USDTBRL"
    },
    "requestedAt": "2026-11-05T14:05:00.123Z",
    "respondedAt": "2026-11-05T14:05:00.301Z",
    "response": {
      "body": "{\"symbol\":\"USDTBRL\",\"price\":\"5.48000000\"}",
      "bodySha256": "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae",
      "headers": {
        "Content-Type": [
          "application/json;charset=UTF-8"
        ],
        "Date": [
          "Thu, 05 Nov 2026 14:05:00 GMT"
        ],
        "X-Mbx-Used-Weight": [
          "4"
        ],
        "X-Mbx-Uuid": [
          "6b1f0c2e-3d4a-4b5c-9e8f-0a1b2c3d4e5f"
        ]
      },
      "proto": "HTTP/2.0",
      "status": 200
    },
    "source": "binance",
    "symbol": "USDTBRL",
    "transport": {
      "connectionReused": false,
      "remoteAddr": "13.226.0.10:443",
      "tls": {
        "chain": [
          {
            "issuer": "CN=Amazon RSA 2048 M02,O=Amazon,C=US",
            "notAfter": "2027-02-08T23:59:59Z",
            "notBefore": "2026-01-10T00:00:00Z",
            "sha256": "5a1c00000000000000000000000000000000000000000000000000000000e7f1",
            "subject": "CN=*.binance.com"
          }
        ],
        "cipherSuite": "TLS_AES_128_GCM_SHA256",
        "serverName": "api.binance.com",
        "version": "TLS 1.3"
      }
    }
  }
}
```

**SDK Code**

```python P2P_getP2POrderPriceEvidence_example
import requests

url = "https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence"

headers = {
    "X-Content-SHA256": "X-Content-SHA256",
    "X-Request-Signature": "X-Request-Signature",
    "X-Request-Timestamp": "X-Request-Timestamp",
    "X-Tenant-Id": "X-Tenant-Id",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript P2P_getP2POrderPriceEvidence_example
const url = 'https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence';
const options = {
  method: 'GET',
  headers: {
    'X-Content-SHA256': 'X-Content-SHA256',
    'X-Request-Signature': 'X-Request-Signature',
    'X-Request-Timestamp': 'X-Request-Timestamp',
    'X-Tenant-Id': 'X-Tenant-Id',
    Authorization: 'Bearer <token>'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go P2P_getP2POrderPriceEvidence_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Content-SHA256", "X-Content-SHA256")
	req.Header.Add("X-Request-Signature", "X-Request-Signature")
	req.Header.Add("X-Request-Timestamp", "X-Request-Timestamp")
	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby P2P_getP2POrderPriceEvidence_example
require 'uri'
require 'net/http'

url = URI("https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Content-SHA256"] = 'X-Content-SHA256'
request["X-Request-Signature"] = 'X-Request-Signature'
request["X-Request-Timestamp"] = 'X-Request-Timestamp'
request["X-Tenant-Id"] = 'X-Tenant-Id'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java P2P_getP2POrderPriceEvidence_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence")
  .header("X-Content-SHA256", "X-Content-SHA256")
  .header("X-Request-Signature", "X-Request-Signature")
  .header("X-Request-Timestamp", "X-Request-Timestamp")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php P2P_getP2POrderPriceEvidence_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Content-SHA256' => 'X-Content-SHA256',
    'X-Request-Signature' => 'X-Request-Signature',
    'X-Request-Timestamp' => 'X-Request-Timestamp',
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

echo $response->getBody();
```

```csharp P2P_getP2POrderPriceEvidence_example
using RestSharp;

var client = new RestClient("https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Content-SHA256", "X-Content-SHA256");
request.AddHeader("X-Request-Signature", "X-Request-Signature");
request.AddHeader("X-Request-Timestamp", "X-Request-Timestamp");
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift P2P_getP2POrderPriceEvidence_example
import Foundation

let headers = [
  "X-Content-SHA256": "X-Content-SHA256",
  "X-Request-Signature": "X-Request-Signature",
  "X-Request-Timestamp": "X-Request-Timestamp",
  "X-Tenant-Id": "X-Tenant-Id",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://client.api.corpx.com/v1/accounts/accountId/p2p/orders/p2o_01JB8Z6Q4C9K7X2M3N5P/price-evidence")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```