Payments
One-time sales and subscriptions from the first call: thelastapi is the merchant, and you verify your identity only to withdraw.
Take payments online without opening a merchant account
Take card payments online immediately using thelastapi as the merchant, with no merchant account setup, processor keys, or upfront identity checks.
A customer portal where users cancel or change their card
Generate a hosted billing portal URL with vibiz.payments.portal(userId, { return_url }) to let subscribers update their card or cancel anytime.
Add a subscription checkout to a SaaS
Add recurring subscription checkout to your SaaS using @vibiz/app or direct API calls with hosted checkout links, webhooks, and billing portals.
An Upgrade button and an "is this user premium?" check
Check if a user has an active subscription with a single server-side call to vibiz.payments.hasActive, using your user ID and plan lookup key.
In-app purchases for iOS and Android apps, with one premium check
Connect iOS and Android in-app purchases to thelastapi to check user premium status with a single backend call across mobile and the web.
Let an AI agent set up payments safely
AI agents can create products, checkouts, and webhooks safely because live money moves, refunds, and withdrawals are locked behind owner permissions.
Merchant of record vs payment processor for a small SaaS
A merchant of record acts as the legal seller for your software, while a payment processor simply routes card charges through your own company entity.
Payment fees explained: what a $100 sale leaves you
A $100 sale leaves you with $94.80 after a $3.20 card processing fee and a $2.00 platform fee, with zero fees when withdrawing to your bank.
Payouts: the 7-day hold and withdrawing to your bank
Live payments clear after a 7-day hold, moving from pending to available balance so you can withdraw to your bank account without payout fees.
Put your brand on the checkout page
Customize your checkout page branding with your own logo, brand colors, fonts, and border styles using the thelastapi payments API or CLI.
Refunds and disputes: how they work and what they cost
Refunds return purchase amounts while forfeiting processing fees, whereas disputes deduct the charge plus a $15 fee while the bank investigates.
Sell a one-time product with a hosted checkout link
Generate a hosted checkout link for a one-time digital product using the CLI, an API call, or the SDK, with no merchant account setup required.
Sell from a static site with a checkout link
To accept payments on a static website, call the checkout API from a backend route to generate a single-use hosted checkout link and redirect the buyer.
Sell in multiple currencies
Accept payments in 35 currencies using thelastapi by defining localized prices or checkouts that settle directly into your project USD balance.
Test payments in development without real money
Test card payments in development using test card numbers, simulated charges, and instant webhooks without real money or bank accounts.
Verify payment webhooks safely
To verify a payment webhook signature safely, compute an HMAC-SHA256 hash of the timestamp and raw body, comparing it with timing-safe equality.
No posts match your search. Try fewer words, or pick All topics.