Frequently Asked Questions
Answers to common questions organized by topic, with real-world scenarios and solutions.Getting Started
How do I get my API keys?
How do I get my API keys?
- Log in to Alguna Dashboard
- Navigate to Settings → API Keys
- Click Create API Key
- Copy and securely store your key
What's the difference between sandbox and production?
What's the difference between sandbox and production?
| Environment | Purpose | Payments | Data |
|---|---|---|---|
| Sandbox | Development & testing | Simulated (no real charges) | Separate from production |
| Production | Live operations | Real payments | Production data |
How do I migrate from another billing system?
How do I migrate from another billing system?
- Contact us via Slack or [email protected]
- Grant access to your existing billing system (read-only)
- We plan the migration based on your data and requirements
- We execute with stepped rollout to minimize risk
Subscriptions
Can a customer have multiple subscriptions?
Can a customer have multiple subscriptions?
- Different products: Main platform + add-on services
- Different billing entities: Separate invoicing per department
- Multiple contracts: Different terms for different services
How do I handle upgrades mid-billing cycle?
How do I handle upgrades mid-billing cycle?
- Navigate to Subscriptions
- Open the subscription
- Click Change Plan or Edit
- Select the new plan
- Choose proration behavior:
- Full proration - Calculate exact amounts for time used
- No proration - Change takes effect, no financial adjustment
- Review the prorated amount and confirm
- Credit for unused time on old plan
- Charge for new plan’s remaining time
- Net amount billed immediately
How do I cancel a subscription but let them use until period end?
How do I cancel a subscription but let them use until period end?
- Navigate to Subscriptions
- Find and open the subscription
- Click Cancel Subscription
- Select Cancel at end of period
- Add cancellation reason (optional)
- Confirm
- Remains
activeuntil period ends - Won’t renew
- Changes to
canceledat period end - Triggers
subscription.canceledwebhook at that time
How do I pause a subscription instead of canceling?
How do I pause a subscription instead of canceling?
- Navigate to Subscriptions
- Open the subscription
- Click Pause Subscription
- Set pause duration
- Confirm
How do I grandfather customers on old pricing?
How do I grandfather customers on old pricing?
- Update the plan with new pricing for new customers
- Existing subscriptions keep their current version automatically
- On renewal, configure whether to update pricing in the subscription’s contract terms
Invoicing & Payments
When are invoices generated?
When are invoices generated?
| Type | When Generated |
|---|---|
| Advance billing | At start of period |
| Arrears billing | At end of period |
| Usage-based | At end of period (after usage calculated) |
| One-time | When you create them |
How do I retry a failed payment?
How do I retry a failed payment?
- Navigate to Invoices
- Find the failed invoice (status: Payment Failed)
- Click to open invoice details
- Click Retry Payment
- Send customer a billing portal link to update their payment method
- Verify the payment amount
- Check for available credits that could be applied
How do I issue a partial refund?
How do I issue a partial refund?
- Navigate to Invoices
- Find and open the paid invoice
- Click Issue Refund or Create Credit Note
- Enter partial refund amount
- Add reason
- Choose: Refund to payment method OR Store as credit
- Confirm
How do I apply credits to an invoice?
How do I apply credits to an invoice?
- Navigate to Invoices
- Open the invoice
- Click Apply Credits
- Select amount to apply
- Confirm
How do I handle international payments and currencies?
How do I handle international payments and currencies?
- Navigate to Customers → [Customer]
- Edit customer details
- Set preferred currency
- Configure multi-currency pricing on plans/products
- Invoices generate in customer’s currency
- Settlement happens in your configured currencies
What payment methods are supported?
What payment methods are supported?
- Cards: Visa, Mastercard, Amex, Discover
- ACH/Bank Transfer: US bank accounts
- SEPA: European bank accounts
- Wire Transfer: Manual wire payments
- Wallets: Apple Pay, Google Pay (via Stripe)
Usage-Based Billing
How often should usage events be sent?
How often should usage events be sent?
How do I prevent duplicate usage events?
How do I prevent duplicate usage events?
Can I backfill historical usage data?
Can I backfill historical usage data?
How do I show customers their current usage?
How do I show customers their current usage?
- Navigate to Customers
- Open the customer account
- View Usage tab for current period
How do I set up usage alerts/thresholds?
How do I set up usage alerts/thresholds?
- Navigate to Automations
- Create new automation
- Set trigger based on usage conditions
- Configure actions (email notification, webhook, etc.)
Webhooks & Integration
Which webhooks should I listen to?
Which webhooks should I listen to?
subscription.activated- Grant accesssubscription.canceled- Revoke accessinvoice.paid- Confirm paymentpayment.updated- Handle payment status changescheckout.session.completed- Provision from checkout
invoice.issued- Custom receiptssubscription.cancelation_scheduled- Retention offersaccount.credits.balance_depleted- Upsell opportunities
How do I verify webhook signatures?
How do I verify webhook signatures?
What if my webhook endpoint is down?
What if my webhook endpoint is down?
- Immediate → 5 min → 30 min → 2 hr → 8 hr → 24 hr
- Fix your endpoint
- Manually retry from Settings → Webhooks → [Endpoint] → Failed Events
- Use the API to fetch missed events
How do I sync with my CRM (Salesforce/HubSpot)?
How do I sync with my CRM (Salesforce/HubSpot)?
- Go to Settings → Integrations
- Connect your CRM
- Configure field mappings
- Enable bi-directional sync
Credits & Wallets
What's the difference between credits and wallets?
What's the difference between credits and wallets?
| Feature | Credits | Wallets |
|---|---|---|
| Purpose | Promotional/compensation | Prepaid balance |
| Source | Granted by you | Topped up by customer |
| Expiration | Usually expires | Typically doesn’t |
| Use case | Referrals, service credits | Prepaid accounts |
How do I grant credits to a customer?
How do I grant credits to a customer?
- Navigate to Customers → [Customer] → Credits
- Click Grant Credits
- Enter the amount and type (monetary or units)
- Set expiration (optional)
- Add a reason for the grant
- Click Grant
How do credits apply to invoices?
How do credits apply to invoices?
- Invoice generated for $100
- Customer has $30 in credits
- Credits applied: $30
- Remaining due: $70
- $70 charged to payment method
Troubleshooting
API returns 401 Unauthorized
API returns 401 Unauthorized
Webhooks not being received
Webhooks not being received
- Verify endpoint URL in Settings → Webhooks
- Check endpoint is publicly accessible (not localhost)
- Ensure firewall allows requests from webhook IPs
- Check webhook logs in dashboard
- Verify your endpoint returns 200 status
Invoice shows wrong amount
Invoice shows wrong amount
- Proration calculations (mid-cycle changes)
- Tax configuration
- Credit applications
- Currency conversion
Subscription requires approval
Subscription requires approval
- Navigate to Approvals in the sidebar
- Find the pending subscription
- Review the details
- Click Approve or Reject