1. Vortex Widget
Vortex
  • Documentation
    • Overview
    • Quick Start With The SDK
    • Authentication And Partner Keys
    • Ramp Lifecycle
    • Ephemeral Key Custody
    • Quotes And Pricing
    • Webhooks
    • Widget Integration
    • BRL / KYC notes
    • Sandbox
    • Production Checklist
    • AI Agent Integration
  • API Endpoints
    • Vortex Widget
      • Create widget session
        POST
    • Quotes
      • Create a new quote
      • Get existing quote
      • Create a quote for the best network
    • Ramp
      • Get ramp status
      • Get ramp error logs
      • Get ramp history for wallet address
      • Register new ramp process
      • Start ramp process
      • Update ramp process
    • Reference Data
      • Supported Countries
      • Supported Cryptocurrencies
      • Supported Fiat Currencies
      • Supported Payment Methods
    • Public Key
      • Public Key
    • Webhooks
      • Register Webhook
      • Delete Webhook
    • Account Management
      • Create user or retry KYC
      • Get user's KYC status
      • Get selfie liveness URL
      • Get KYC document upload URLs
      • Get user information
      • Get user's remaining transaction limits
      • Submit KYC level 1 data
      • Validate Pix key
    • Schemas
      • AccountMeta
      • AveniaDocumentType
      • AveniaKYCDataUploadRequest
      • AveniaKYCDataUploadResponse
      • BrlaAddress
      • BrlaErrorResponse
      • BrlaGetSelfieLivenessUrlResponse
      • BrlaValidatePixKeyResponse
      • CleanupPhase
      • CountryCode
      • CreateBestQuoteRequest
      • CreateQuoteRequest
      • CreateSubaccountRequest
      • CreateSubaccountResponse
      • DestinationType
      • DocumentUploadEntry
      • ErrorResponse
      • FiatToken
      • GetKycStatusResponse
      • GetRampErrorLogsResponse
      • GetRampHistoryResponse
      • GetRampHistoryTransaction
      • GetUserRemainingLimitResponse
      • GetUserResponse
      • GetWidgetUrlLocked
      • GetWidgetUrlRefresh
      • KYCDataUploadFileFiles
      • KYCDocType
      • KycLevel1Payload
      • KycLevel1Response
      • Networks
      • OnChainToken
      • PaymentData
      • PaymentMethod
      • PresignedTx
      • QuoteResponse
      • RampCurrency
      • RampDirection
      • RampErrorLog
      • RampPhase
      • RampProcess
      • RegisterRampRequest
      • SimpleStatus
      • StartKYC2Request
      • StartKYC2Response
      • StartRampRequest
      • TaxIdType
      • TriggerOfframpRequest
      • TriggerOfframpResponse
      • UnsignedTx
      • UpdateRampRequest
      • ValidatePixKeyResponse
  1. Vortex Widget

Create widget session

Production
Production
POST
/v1/session/create
Creates a hosted Vortex Widget session and returns the URL to open for the user.
This single endpoint supports two mutually exclusive request shapes:
Fixed quote (GetWidgetUrlLocked) — pass a quoteId you created via POST /v1/quotes. The widget uses that exact quote and does not refresh it. If the quote expires before the user finishes, they must close the window and start over.
Auto-refresh (GetWidgetUrlRefresh) — pass the route parameters (network, rampType, inputAmount, plus fiat / cryptoLocked / paymentMethod as relevant for the direction). The widget creates and refreshes quotes on demand for the user.
Use the example switcher below to see the request shape for each mode. externalSessionId is required in both modes and is echoed back in webhook payloads.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Returned when a fixed-quote session was created.
Bodyapplication/json

🟢201
🟠400
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location '/v1/session/create' \
--header 'Content-Type: application/json' \
--data '{
    "apiKey": "pk_live_...",
    "callbackUrl": "https://partner.example.com/ramp/complete",
    "cryptoLocked": "USDC",
    "externalSessionId": "my-session-id",
    "fiat": "BRL",
    "inputAmount": "150",
    "network": "polygon",
    "paymentMethod": "pix",
    "rampType": "BUY",
    "walletAddressLocked": "0x1234567890123456789012345678901234567890"
}'
Response Response Example
200 - Success
{
    "url": "https://widget.vortexfinance.co/?externalSessionId=my-session-id&quoteId=quote_01HXY..."
}
Modified at 2026-05-19 08:43:06
Previous
AI Agent Integration
Next
Create a new quote
Built with