API de comercios
- Crear solicitud
POST /api/merchant/payment-requests
- Estado del comercio
GET /api/merchant/payment-requests/{reference}/status
- Estado público
GET /api/payments/{reference}/status
- Enviar hash de transacción
POST /api/merchant/payment-requests/{reference}/confirmations
- Endpoint webhook
POST /api/merchant/webhook-endpoints
- Evento webhook
POST /api/merchant/webhook-events
Metadatos de pago
- Red
- FTY on Ethereum mainnet
- ID de cadena
- 137
- Settlement currency
- FTY
- Customer preferences
- FTY, ETH, BTC, USDC, USDT
- Liquidación
- Tesorería Safe de Furety or billetera aprobada configurada por el comercio
- Auth
X-Furety-Api-Key
Ejemplo 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"
}
Ejemplo 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'
})
});
Ejemplo 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',
]);
Reglas de seguridad
La API nunca pide claves privadas, frases semilla, datos de tarjeta, credenciales bancarias ni secretos brutos de firma webhook. Las claves API brutas se muestran solo una vez al crearse y se almacenan como hashes.
preferred_customer_currency accepts FTY, ETH, BTC, USDC, y USDT. FTY remains the liquidación and servicio utilidad currency unless a supported pago processor flow is explicitly enabled.
Las claves API están preparadas para límites de tasa y restringidas a comercios verificados aprobados. Los valores de firma webhook deben permanecer en Google Secret Manager solo como referencias.
FTY es una moneda de pago de utilidad. Furety no ofrece staking, préstamos, rendimientos, retornos garantizados ni promesas de precio en exchanges.