Pass the transaction hash of a payment to APEX
apexfaucet.xyz/api/x402/delivery-receipt
Pass the transaction hash of a payment to APEX. The answer is read from our settlement ledger: DELIVERED when the payer got an HTTP success with a body, PAID_NOT_DELIVERED when the response was an error or empty, REFUNDED when that payment is already in the refund list, DELIVERY_UNKNOWN when we recorded the payment and not the response, NOT_IN_OUR_LEDGER when the hash is not a payment we wrote dow
GET
https://apexfaucet.xyz/api/x402/delivery-receiptUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://apexfaucet.xyz/api/x402/delivery-receipt?tx=0x02e6cbb000000000000000000000000000000000000000000000000000000000");
console.log(await res.json());Example input
{
"tx": "0x02e6cbb000000000000000000000000000000000000000000000000000000000"
}