Skip to content

verify` endpoint keeps returning #11

Description

@Tinabates

The /verify endpoint keeps returning:

{"isValid":false,"invalidReason":"missing_permit"}

even when I send paymentPayload.authorization.permit as a JSON object, matching the flow in x402-demo.

Please tell me:

  • Should permit be a plain JSON object, a JWT, or a hex‑signed string?
  • What is the exact key path and format for permit when using scheme: "exact_gasfree" on tron:mainnet?

{
"paymentPayload": {
"x402Version": 2,
"accepted": { /* network: "tron:mainnet", scheme: "exact_gasfree", amount, asset, payTo / },
"payload": { /
token, from, to, amount_raw, signature / }
},
/
tried variants below — see list */
}

Thank you!

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