如何接受 Solana 付款?
在控制台、插件或一次 API 调用中以你的货币创建账单。客户在 Solana 上用 SOL 付款。确认后款项转发到你自己的钱包,你的服务器会收到带签名的 Webhook。起步无需 KYC;费率 1%,最低降至 0.1%。
- 1 条网络
- 9 位小数
- 最低 0.02000000
- 确认后转发
curl -X POST https://receivify.io/api/v1/invoices \
-H "Authorization: Bearer $RECEIVIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount_fiat": 49.99,
"currency": "USD",
"asset": "sol",
"chain": "solana",
"reference": "order-1042",
"callback_url": "https://your-store.com/receivify/webhook"
}'POST /api/v1/address — 可重复使用的转发地址,CryptAPI 风格
curl -X POST https://receivify.io/api/v1/address \
-H "Authorization: Bearer $RECEIVIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ticker": "sol",
"destination": "<your SOL payout address>",
"callback": "https://your-store.com/receivify/forward"
}'代码同时编码了资产和链——sol 没有后缀,因为这是该符号的默认网络。所有代码都可以通过 GET /api/v1/tickers 列出。
invoice.paid -> 200 OK
开启 SOL 之前
Solana 曾发生过全网宕机。
如今比以前少见,但宕机期间无法付款,您的结账页面应当降级到另一种币,而不是一直转圈等待。