Submit a payment
submit_paymentBroadcast an authorized payment intent to settle funds on Base; retries return the already-submitted transaction hash instead of rebroadcasting.
Instructions
Broadcast an authorized payment intent through IDPHANTOM. The platform relays the on-chain transaction; exactly one broadcast per intent is enforced server-side (retries return the already-submitted transaction hash). This is the step that settles funds.
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": {
"payment_intent_id": "<payment_intent_id>"
},
"name": "submit_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_intent_id | Yes | Authorized payment intent ID to broadcast and settle. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| isError | No | True when the API call failed; text carries { error: { code, message } }. |