API Pedagang
- Cipta permintaan
POST /api/merchant/payment-requests
- Status pedagang
GET /api/merchant/payment-requests/{reference}/status
- Status awam
GET /api/payments/{reference}/status
- Hantar hash tx
POST /api/merchant/payment-requests/{reference}/confirmations
- Endpoint webhook
POST /api/merchant/webhook-endpoints
- Acara webhook
POST /api/merchant/webhook-events
Metadata Pembayaran
- Rangkaian
- Mainnet FTY on Ethereum
- Chain ID
- 137
- Settlement currency
- FTY
- Customer preferences
- FTY, ETH, BTC, USDC, USDT
- Penyelesaian
- Furety Treasury Safe atau dompet diluluskan yang dikonfigurasi pedagang
- Auth
X-Furety-Api-Key
cURL Example
POST /api/merchant/payment-requests
X-Furety-Api-Key: fpk_...
{
"title": "Merchant checkout",
"fty_amount": "25.5",
"preferred_customer_currency": "USDC",
"customer_email": "customer@example.com"
}
JavaScript Example
await fetch('/api/merchant/payment-requests', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Furety-Api-Key': merchantApiKey
},
body: JSON.stringify({
title: 'Merchant checkout',
fty_amount: '25.5',
preferred_customer_currency: 'USDC'
})
});
PHP Example
$response = Http::withHeaders([
'X-Furety-Api-Key' => $merchantApiKey,
])->post('https://furety.com/api/merchant/payment-requests', [
'title' => 'Merchant checkout',
'fty_amount' => '25.5',
'preferred_customer_currency' => 'USDC',
]);
Peraturan Keselamatan
Ini API never asks untuk private keys, seed phrases, card details, bank credentials, atau raw webhook signing secrets. Raw API keys are shown only once at creation dan stored as hashes.
preferred_customer_currency accepts FTY, ETH, BTC, USDC, dan USDT. FTY remains the penyelesaian and perkhidmatan utiliti currency unless a supported pembayaran processor flow is explicitly enabled.
Kunci API bersedia untuk had kadar dan terhad kepada pedagang disahkan yang diluluskan. Nilai tandatangan webhook mesti kekal dalam Google Secret Manager sebagai rujukan sahaja.
FTY is a utiliti pembayaran currency. Furety does not offer staking, lending, yield, guaranteed returns, atau exchange-price promises.