get_x402_payment_details
Fetch x402 payment details for an order—facilitator endpoint, USDC amount, network, and payment header—so your agent can execute the payment with an x402 client.
Instructions
Get x402 payment details for an order: facilitator endpoint, USDC amount, network, and payment header. Your agent needs an x402 client (e.g. @x402/axios) to execute the actual payment.
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": {
"order_id": "<order_id>"
},
"name": "get_x402_payment_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID to get payment details for | |
| merchantSlug | No | Merchant identifier. Omit to use default. |