POST /verify
Checks whether a payment payload is valid without submitting it on-chain. Use during development and testing to debug payment issues before calling /settle.
Request
Success Response
Failure Response
The invalidCode maps to the Facilitator Error Codes reference. Log it for debugging.
When to Use
- Development: validate your payment construction before going live
- Debugging: get specific
invalidCodeandinvalidReasoninstead of a generic settlement failure - Integration testing: confirm policy compliance without spending USDC