Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
从您的服务器创建支付意图,重定向到我们的结账页面
const res = await fetch('https://api.puffinmoney.com/v1/gateway/api/payment-intents', { method: 'POST', headers: { 'X-API-Key': process.env.PUFFIN_KEY, 'Content-Type': 'application/json' }, body: JSON.stringify({ amount: '99.00', token: 'USDC_BASE', chain: 'BASE', successUrl: 'https://yourstore.com/orders/123/thanks', metadata: { orderId: '123' }, }), }); const { intent, checkoutUrl } = await res.json();
GET /v1/gateway/api/payment-intents/:id # X-API-Key
PENDING → CONFIRMED | EXPIRED | CANCELLED
GET /v1/wallets/supported