Check a stablecoin settlement against its SafePay check
safepay_verify_settlementReads a Stellar transaction from the public ledger (Horizon) and compares it with a SafePay precheck attestation: whether it succeeded, paid the approved payee, in Circle's USDC, no more than the approved amount, while the check was valid. Returns the findings and a signed result. Reads the ledger only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attestation": "<attestation>",
"tx_hash": "<tx_hash>"
},
"name": "safepay_verify_settlement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | stellar:pubnet | |
| tx_hash | Yes | The 64-character Stellar transaction hash | |
| attestation | Yes | The precheck attestation safepay_check_payment returned |