cURL
curl --request POST \ --url https://api.rem.money/v1/x402/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "txHash": "<string>", "chain": "base", "expectedAmount": "<string>", "wallet": "<string>", "sessionId": "<string>" } '
{ "sessionId": "<string>", "status": "settled", "settledAt": "2023-11-07T05:31:56Z", "txHash": "<string>" }
Verify an onchain x402 payment and issue a settlement reference. Used by the gateway middleware.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
base
solana
tempo
Settlement verified
settled
underpaid
expired