cURL
curl --request POST \ --url https://api.railsfromthecrypt.com/v1/transfer-requests/{id}/confirm-rate \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "amount": 10000 } '
{ "success": true, "message": "Rate confirmed successfully", "data": { "id": "c17d2777-e604-45e2-b6d5-7743652eadf1", "type": "onramp", "status": "fetching_rates", "source": { "amount": 10000, "currency": "NGN" }, "destination": { "amount": 0, "currency": "USDC" }, "events": [ { "status": "pending", "timestamp": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" } ], "payments": [], "created_at": "2025-10-10T09:15:21Z", "reference": "TXN-2Z82FVYO6BW22RC7", "rate": { "value": 0, "expires_at": null }, "recipient": { "id": "rec_01J8V9ZP3A7", "type": "crypto", "name": "My USDT Wallet", "details": { "network": "Polygon", "wallet_address": "0xABC123DEF456...", "symbol": "USDT" } }, "payment_instructions": {} } }
API key for authentication
Unique transfer request ID
"c17d2777-e604-45e2-b6d5-7743652eadf1"
The transfer amount to confirm the rate for.
10000
Rate confirmed and payment instructions generated
true
"Rate confirmed successfully"
Show child attributes