Error HTTP 402
insufficient_payment
El pago x402 no cubre el precio
Qué significa
El importe que declara el pago x402 (amount dentro de X-PAYMENT) es menor que el precio de la petición. Si la transferencia on-chain fue por menos, el error es chain_verification_failed con insufficient_amount.
Cómo resolverlo
Paga y declara el importe completo. USDC tiene 6 decimales: 0.30 USDC son 300000.
Cómo llega
{
"error": {
"code": "insufficient_payment",
"message": "Required … but received ….",
"param": null,
"doc_url": "https://coatipay.com/docs/errors/insufficient_payment"
}
}