Mogami
  • Home
  • Roadmap & ideas
  • x402 in French
  • Java client SDK
    • Getting started
    • Example client
  • Java server SDK
    • Getting started
    • Example server
    • Configuration
  • Faciliator server
    • Getting started
    • Verifications
  • Learning X402
    • Protocol explanation
      • Get /weather without X-PAYMENT
      • Get /weather with X-PAYMENT
      • Payment verification on server
      • Payment settlement on server
    • X402 hands-on
    • Useful links
  • Contact
    • Email
    • Twitter
Powered by GitBook
On this page
  1. Faciliator server

Verifications

List all verifications made by the facilitator server

Calling /verification

Verification
Error

✅ Verify request is not empty

undefined

✅ Payment payload in verify request is not empty

undefined

✅ Payment requirements in verify request is not empty

undefined

✅ Valid scheme in payment payload

unsupported_scheme

✅ Valid scheme in payment requirements

unsupported_scheme

✅ Valid network in payment payload

invalid_network

✅ Valid network in payment requirements

invalid_network

✅ Payload is a valid exact scheme payload

invalid_network

✅ Check the stablecoin name is present and valid in extra

invalid_network

✅ Check the asset address is valid in payment requirements

invalid_network

✅ Signature verification

invalid_exact_evm_payload_signature

✅ Verify that payment was made to the correct address

invalid_exact_evm_payload_recipient_mismatch

✅ Verify the deadline (validBefore & validAfter)

invalid_exact_evm_payload_authorization_valid_before & invalid_exact_evm_payload_authorization_valid_after

✅ Verify if the user has enough fund

insufficient_funds

PreviousGetting startedNextProtocol explanation

Last updated 4 days ago