{"openapi":"3.1.0","info":{"title":"tempo-receipt-verify","version":"1.0.0","description":"Independently verify that a Tempo MPP payment settled on-chain — decodes ERC-20 transfers in the transaction, confirms amount/currency/recipient, returns block and confirmations.","x-guidance":"Paid endpoint requires MPP payment. Use npx mppx <url> or any MPP-compatible client.","contact":{"email":"marynadamaka@gmail.com"}},"servers":[{"url":"https://paidontempo.xyz"}],"x-service-info":{"categories":["blockchain","payments"],"docs":{"homepage":"https://paidontempo.xyz","apiReference":"https://paidontempo.xyz"}},"paths":{"/api/verify":{"get":{"summary":"Verify a Tempo transaction settled the expected MPP payment","parameters":[{"name":"hash","in":"query","required":true,"schema":{"type":"string"},"description":"0x-prefixed 32-byte Tempo transaction hash","example":"0x..."},{"name":"recipient","in":"query","required":false,"schema":{"type":"string"},"description":"Expected recipient address to match against decoded transfers"},{"name":"amount","in":"query","required":false,"schema":{"type":"string"},"description":"Expected transfer amount in base units (e.g. USDC.e has 6 decimals)"},{"name":"token","in":"query","required":false,"schema":{"type":"string"},"description":"Expected ERC-20 token contract address"}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003"},"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20c000000000000000000000b9537d11c60e8b50"}}],"intent":"charge","method":"tempo","amount":"3000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"$0.003 per request"},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"hash":{"type":"string"},"status":{"type":"string","enum":["confirmed","reverted","pending","not_found"]},"confirmed":{"type":"boolean"},"blockNumber":{"type":["string","null"]},"confirmations":{"type":["integer","null"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"gasUsed":{"type":["string","null"]},"transfers":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"amount":{"type":"string"}}}},"matchesExpected":{"type":["boolean","null"]}}}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required"}}}}}}