Skip to content

Awal x402 pay path: payment authorized but rejected by server (links x402#1171) #947

@spirosrap

Description

@spirosrap

Context

Linked upstream issue (primary):

I’m filing this here as a backup routing path because coinbase/awal currently resolves as 404/non-public, so I cannot cross-file directly in the Awal tracker.

Problem

From the Awal CLI path (npx awal@latest x402 pay), paid requests to an x402 endpoint can fail with:

Bridge communication error: X402 submission failed: Payment was authorized but rejected by server

Server-side verify logs show facilitator rejection:

  • invalid_payload
  • payer: undefined

Repro (client)

npx awal@latest x402 details https://rook-monetized-services.onrender.com/api/code-review --json

npx awal@latest x402 pay https://rook-monetized-services.onrender.com/api/code-review \
  -X POST \
  -d '{"code":"function add(a,b){return a+b}","language":"javascript"}' \
  --max-amount 500000

Repro (server observations)

  • Route requirements are valid (exact, eip155:8453, eip3009)
  • Verify still fails with invalid_payload
  • Logs show smart-wallet/ERC-6492-shaped signature handling before rejection

Ask

Please route/triage this with the right team (Awal + x402 facilitator verification path). If this repo is not the right tracker, please point to the public one for Awal.

Again, primary detailed thread is here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions