Versions in this module Expand all Collapse all v0 v0.5.0 Sep 24, 2026 Changes in this version + type Analytics struct + func (a *Analytics) Rates(serviceSlug string) (*AnalyticsRatesResult, error) + type AnalyticsRatesResult struct + Rates []DeliveryRate + UpdatedAt string + type CallPlan struct + Features []string + HighCostCountries []string + HighCostMinutes int + ID string + Minutes int + Name string + PerMin float64 + Popular bool + PriceUsd float64 + Tier CallPlanTier + type CallPlanSubscription struct + CreatedAt string + HighCostMinutesTotal int + HighCostMinutesUsed int + ID string + MinutesTotal int + MinutesUsed int + RenewsAt string + Status string + Tier string + UserID string + type CallPlanTier string + const CallPlanTierBasic + const CallPlanTierPremium + const CallPlanTierStandard + type CallPlans struct + func (c *CallPlans) GetSubscription() (*CallPlanSubscription, error) + func (c *CallPlans) List() ([]CallPlan, error) + func (c *CallPlans) Subscribe(params SubscribeCallPlanParams) (*CallPlanSubscription, error) + type CheckVerificationParams struct + Code string + ID string + To string + type Client struct + Analytics *Analytics + CallPlans *CallPlans + ESim *ESim + Numbers *Numbers + Payment *Payment + Sessions *Sessions + Verify *Verify + Wallet *Wallet + func New(apiKey string, opts ...Options) *Client + func (c *Client) Subscribe(sessionToken string, onOtp func(*OtpPush)) func() + type DeliveryRate struct + CountryCode string + CountryFlag string + CountryName string + Latency string + Rate float64 + TotalDeliveries int + UpdatedAt string + type ESim struct + func (e *ESim) List() ([]ESimProfile, error) + func (e *ESim) ListPackages(countryCode string, days int) ([]ESimPackage, error) + func (e *ESim) Purchase(params ESimPurchaseParams) (*ESimProfile, error) + func (e *ESim) Usage(iccid string) (*ESimUsage, error) + type ESimPackage struct + CountryCode string + DataGb float64 + Name string + PackageID string + PriceUsd float64 + Slug string + ValidityDays int + type ESimProfile struct + ActivationCode string + ApnType string + ApnValue string + CarrierName string + CountryCode string + DataGbIncluded float64 + DirectAppleInstallURL string + Iccid string + IsRoaming bool + MatchingID string + ProfileID string + QrCodeURL string + SmdpAddress string + Status string + ValidityDays int + type ESimPurchaseParams struct + CountryCode string + PackageID string + PriceUsd float64 + type ESimUsage struct + ExpiresAt string + Iccid string + RemainingMb float64 + TotalMb float64 + UsedPercent float64 + type InitiatePaymentParams struct + BonusCredits int + CallbackURL string + CreditPackID string + CreditsToAdd int + Currency string + CustomerEmail string + CustomerName string + CustomerPhone string + PreferredProvider string + UsdAmount float64 + type Numbers struct + func (n *Numbers) Purchase(params PurchaseNumberParams) (*PurchaseResult, error) + func (n *Numbers) Search(params SearchNumbersParams) (*SearchNumbersResult, error) + type Options struct + BaseURL string + type OtpPush struct + DeliveredAt string + E164Number string + LatencyMs int64 + Otp string + PrivacyMode bool + ServiceSlug string + SessionToken string + type Payment struct + func (p *Payment) Initiate(params InitiatePaymentParams) (*PaymentInitResult, error) + type PaymentInitResult struct + BankCode string + CheckoutURL string + ClientSecret string + Currency string + ErrorMessage string + LocalAmount float64 + PaymentMethods []string + Provider string + Reference string + Success bool + TransactionID string + UssdCode string + VirtualAccountBank string + VirtualAccountNumber string + type PurchaseNumberParams struct + Channel string + CountryCode string + PrivacyMode bool + ServiceSlug string + TestMode bool + type PurchaseResult struct + AggregatorType string + CarrierType string + Channel string + ConfidenceLabel string + E164Number string + HealthScoreAtPurchase float64 + PriceUsd float64 + PrivacyMode bool + PurchaseID string + ScoreColor string + SessionToken string + SlaExpiresAt string + SlaRemainingSeconds int + WebSocketTopic string + type SearchNumbersParams struct + CountryCode string + Limit *int + MinScore *int + ServiceSlug string + type SearchNumbersResult struct + CountryCode string + Numbers []VirtualNumber + ServiceSlug string + TotalAvailable int + type SessionState string + const SessionStateDelivered + const SessionStateExpired + const SessionStateFailed + const SessionStatePending + const SessionStateRefunded + type SessionStatus struct + AggregatorType string + Channel string + FailureReason string + HealthScore float64 + OtpCode string + PrivacyMode bool + SessionToken string + SlaRemainingSeconds int + Status SessionState + type Sessions struct + func (s *Sessions) Get(sessionToken string) (*SessionStatus, error) + func (s *Sessions) WaitForOtp(sessionToken string, timeout, interval time.Duration) (*SessionStatus, error) + type StartVerificationParams struct + Channel string + IP string + To string + type SubscribeCallPlanParams struct + PaymentProvider string + PaymentReference string + Tier CallPlanTier + type Verification struct + ApprovedAt string + AttemptsRemaining int + Channel string + CreatedAt string + ExpiresAt string + ID string + PriceUsd float64 + Status string + TestMode bool + To string + Valid *bool + type VerificationList struct + Items []Verification + Page int + Size int + Total int + type Verify struct + func (v *Verify) Check(params CheckVerificationParams) (*Verification, error) + func (v *Verify) Get(id string) (*Verification, error) + func (v *Verify) List(page, size int) (*VerificationList, error) + func (v *Verify) Settings() (*VerifySettings, error) + func (v *Verify) Start(params StartVerificationParams) (*Verification, error) + func (v *Verify) UpdateSettings(update VerifySettingsUpdate) (*VerifySettings, error) + type VerifySettings struct + AllowedCountries []string + BrandName *string + CodeLength int + PausedUntil *string + TTLSeconds int + type VerifySettingsUpdate struct + AllowedCountries []string + BrandName *string + CodeLength *int + TTLSeconds *int + type VerixoError struct + Body string + Code string + Message string + StatusCode int + func (e *VerixoError) Error() string + type VirtualNumber struct + Available bool + AvgLatencyMs *int64 + CarrierName string + CountryCode string + CountryFlag string + CountryName string + DeliveryRate float64 + E164Number string + HealthScore float64 + Number string + NumberID string + NumberType string + PriceUsd float64 + ScoreColor string + type Wallet struct + func (w *Wallet) Balance() (*WalletBalance, error) + func (w *Wallet) Transactions(page, size int) (*WalletTransactionsResult, error) + type WalletBalance struct + BalanceUsd float64 + RefundsToday int + type WalletTransaction struct + AmountUsd float64 + BalanceAfterUsd float64 + CreatedAt string + Description string + ID string + ReferenceID string + Type string + type WalletTransactionsResult struct + Page int + Size int + Total int + Transactions []WalletTransaction