API Merchant
- Buat permintaan
POST /api/merchant/payment-requests
- Status merchant
GET /api/merchant/payment-requests/{reference}/status
- Status publik
GET /api/payments/{reference}/status
- Kirim hash tx
POST /api/merchant/payment-requests/{reference}/confirmations
- Endpoint webhook
POST /api/merchant/webhook-endpoints
- Event webhook
POST /api/merchant/webhook-events
Metadata Pembayaran
- Jaringan
- Mainnet FTY on Ethereum
- Chain ID
- 137
- Settlement currency
- FTY
- Customer preferences
- FTY, ETH, BTC, USDC, USDT
- Penyelesaian
- Furety Treasury Safe atau dompet yang disetujui dan dikonfigurasi merchant
- Auth
X-Furety-Api-Key
Contoh cURL
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"
}
Contoh JavaScript
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'
})
});
Contoh PHP
$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',
]);
Aturan Keselamatan
The API never asks untuk private keys, seed phrases, card details, bank credentials, or raw webhook signing secrets. Raw API keys are shown hanya once at creation and stored as hashes.
preferred_customer_currency accepts FTY, ETH, BTC, USDC, dan USDT. FTY remains the settlement and service utility currency unless a supported payment processor flow is explicitly enabled.
API keys are rate-limit-ready and restricted to approved verified merchant. Webhook signing nilais harus stay in Google Secret Manager by reference hanya.
FTY adalah a utilitas pembayaran currency. Furety tidak offer staking, peminjaman, imbal hasil, imbal hasil terjamins, or exchange-harga janjis.