curl --location --request POST '/api/v1/transactions/create' \
--header 'x-business-id;' \
--header 'Idempotency-Key;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromCurrency": "USDT",
"fromNetwork": "TRON",
"toCurrency": "NGN",
"toAmount": 500000,
"customerEmail": "user@example.com",
"customerName": "string",
"description": "string",
"callbackUrl": "http://example.com",
"redirectUrl": "http://example.com",
"checkoutSessionId": "string"
}'
{
"success": true,
"data": {
"id": "trxn_123",
"reference": "RS-20250101-ABC123",
"status": "PENDING",
"fromCurrency": "USDT",
"fromAmount": 750.12,
"toCurrency": "NGN",
"toAmount": 500000,
"depositAddress": "TPabc...",
"createdAt": "2025-01-01T12:00:00Z",
"updatedAt": "2025-01-01T12:00:00Z"
}
}