cURL
curl --request POST \ --url https://api.flow402.net/verify \ --header 'Content-Type: application/json' \ --data '{ "from": "0x...payerAddress", "to": "0x...merchantAddress", "amount": 123, "network": "base", "scheme": "exact" }'
{ "verified": true, "intentId": "pi_...", "nonce": "uniq-generated-string-from-flow402", "expiresAt": "2023-11-07T05:31:56Z" }
Create a PaymentIntent in database that needs to be settled.
Payer USDC address
"0x...payerAddress"
Merchant USDC address
"0x...merchantAddress"
"base"
"base-sepolia"
"exact"
"transfer"
Successful Response
true
"pi_..."
"uniq-generated-string-from-flow402"