Skip to main content
GET
/
api
/
v1
/
x402
/
settle
/
{tx_id}
Get settle status
curl --request GET \
  --url https://api.paratro.com/api/v1/x402/settle/{tx_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "txId": "<string>",
  "status": "<string>",
  "network": "<string>",
  "txHash": "<string>"
}

Get Settle Status

Retrieve the on-chain settlement status for an x402 transaction. Poll this endpoint after POST /x402/settle to track the broadcast and confirmation progress.
tx_id
string
required
Transaction ID returned by POST /x402/settle.

Response

{
  "success": true,
  "txId": "7f9da3de-5899-43c6-8104-b96187df024f",
  "status": "CONFIRMED",
  "txHash": "0xabcdef1234567890...",
  "network": "base"
}
FieldTypeDescription
successbooleanWhether the settlement is successful
txIdstringSettlement transaction ID
statusstringPENDING, BROADCAST, CONFIRMED, FAILED
txHashstringOn-chain transaction hash (present after broadcast)
networkstringGateway field currently populated from the settle transaction’s chain value

Errors

HTTPCodeCondition
400invalid_parameterMissing transaction ID
404not_foundSettle transaction not found
500internal_errorInternal processing failure

Authorizations

Authorization
string
header
required

JWT access token obtained from the /api/v1/auth/token endpoint.

Path Parameters

tx_id
string
required

Settlement transaction ID returned by POST /api/v1/x402/settle.

Response

Settlement status.

success
boolean
required
txId
string
required
status
string
required
network
string
required
txHash
string