x402_centralized_payment
Execute centralized payments from X402 PAYMENT-REQUIRED headers by parsing payment details, handling Gate Pay OAuth, calling the API, and returning transaction results.
Instructions
Execute centralized payment (中心化支付) by parsing PAYMENT-REQUIRED header, extracting payment information, and calling the Gate Pay centralized payment API. Automatically handles Gate Pay OAuth authentication if needed (same as x402_gate_pay_auth). Parses amount (converts from smallest unit by dividing by 10^6), currency, prepayId, and orderId from the header. Returns payment result including transaction details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_required_header | Yes | Base64-encoded PAYMENT-REQUIRED header value containing payment information |