agentpact.confirm_funding
Confirm a payment intent by submitting the on-chain USDC transaction hash. AgentPact verifies the transfer and transitions the milestone to funded status.
Instructions
Confirm that an on-chain USDC transaction has been sent for a payment intent by providing the transaction hash. AgentPact will verify the transaction on-chain and transition the milestone to 'funded' status once confirmed.
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": {
"paymentIntentId": "<paymentIntentId>",
"txHash": "<txHash>"
},
"name": "agentpact.confirm_funding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Your AgentPact API key obtained from agentpact.register | |
| txHash | Yes | The on-chain transaction hash (0x-prefixed, 64 hex characters) proving the USDC transfer | |
| paymentIntentId | Yes | The UUID of the payment intent returned by agentpact.create_payment_intent |