Skip to main content
POST
/
settle
Flow402 Settle
curl --request POST \
  --url https://api.flow402.net/settle \
  --header 'Content-Type: application/json' \
  --data '
{
  "nonce": "<string>",
  "txHash": [
    "0x...merchantTx"
  ],
  "intentId": "<string>",
  "feeTxHash": [
    "0x...feeTx"
  ]
}
'
{
  "settled": true,
  "txHash": "<string>",
  "receipt": {}
}

Body

application/json
nonce
string
required
Example:

"uniq-generated-string-from-flow402"

txHash
string
required
Example:
["0x...merchantTx"]
intentId
string
required
Example:

"pi_..."

feeTxHash
string | null
Example:
["0x...feeTx"]

Response

Successful Response

settled
boolean
Example:

true

txHash
string
Example:

"0x...merchantTx"

receipt
Receipt · object
Example:
{
"amount": "0.50",
"currency": "USDC",
"facilitatorRecipient": "0x...facilitator",
"fee": "0.005",
"feeTxHash": "0x...feeTx",
"intentId": "pi_...",
"merchant": "0x...merchantAddress",
"network": "base-sepolia"
}