Create x402 sign
x402 Payment
Create x402 Sign
Create an ERC-3009 authorization signature via MPC
POST
Create x402 sign
Create x402 Sign
Request the platform to generate an ERC-3009transferWithAuthorization signature using MPC threshold signing.
The system computes the EIP-712 typed data hash, locks the USDC balance, and dispatches the signing task to the TSS engine. The signing result is returned directly in the response.
Payer address (must belong to the authenticated client, max 128 characters).
Recipient address (max 128 characters).
Enabled x402 signing chain configured in the gateway, for example
base, base-sepolia, ethereum, or polygon.Amount in human-readable units (e.g.,
"1.5" for 1.5 USDC). For upto scheme, this is the maximum authorized amount.Payment scheme:
"exact" (default) or "upto". With exact, the payer authorizes a fixed amount. With upto, the payer authorizes a maximum amount and the actual settlement can be any amount up to this limit.Unix timestamp (seconds) before which the authorization is not yet valid. Defaults to
0 (immediately effective). Must be less than valid_before.Unix timestamp (seconds) after which the authorization expires. Must be greater than 0.
Response
| Field | Type | Description |
|---|---|---|
tx_id | string | Unique transaction ID for polling |
status | string | Initial status: PENDING |
eip712_hash | string | EIP-712 typed data hash |
nonce | string | Random nonce for the authorization (hex) |
valid_after | integer | Unix timestamp echoed from the request |
valid_before | integer | Expiration Unix timestamp |
Errors
| HTTP | Code | Condition |
|---|---|---|
| 400 | invalid_parameter | Invalid request body or missing required fields |
| 400 | insufficient_balance | Insufficient USDC balance |
| 400 | invalid_address | Address format invalid |
| 400 | wallet_not_active | Wallet is not in active state |
| 404 | not_found | No matching asset found for the address/chain |
| 500 | internal_error | Internal processing failure |
Authorizations
JWT access token obtained from the /api/v1/auth/token endpoint.
Body
application/json