Reference
API Reference
Every endpoint on the SwiftGoma API — grouped the same way as the sidebar. See the API docs for narrative guides on how authentication and user management fit together.
Account
Login
Password
Two-Factor (TOTP)
Passkeys
POST
/auth/passkey/login/optionsGet passkey login optionsPOST/auth/passkey/login/verifyVerify passkey loginPOST/auth/passkey/register/optionsGet passkey registration optionsPOST/auth/passkey/register/verifyVerify passkey registrationGET/auth/passkeyList passkeysDELETE/auth/passkey/:passkeyIdRemove a passkeySessions
Profile
Account Recovery
Phone Number
Secondary Email
Google Account
Admin
GET
/usersList usersGET/users/:idGet user detailPOST/users/:id/blockBlock userPOST/users/:id/unblockUnblock userPOST/users/:id/force-logoutForce logoutPOST/users/:id/verify-emailManually verify emailPOST/users/:id/verify-phoneManually verify phonePOST/users/:id/deleteDelete userPOST/users/:id/restoreRestore userPOST/users/:id/roleChange user roleCategories
GET
/products/categoriesList categoriesGET/products/categories/:idGet categoryPOST/products/categoriesCreate categoryPUT/products/categories/:idUpdate categoryDELETE/products/categories/:idDelete categoryPOST/products/categories/:categoryId/subcategoriesCreate subcategoryPUT/products/categories/subcategories/:idUpdate subcategoryDELETE/products/categories/subcategories/:idDelete subcategoryProducts
Stock
Exchange Rates
GET
/products/exchange-ratesList exchange ratesGET/products/exchange-rates/:idGet exchange ratePOST/products/exchange-ratesCreate exchange ratePUT/products/exchange-rates/:idUpdate exchange ratePUT/products/exchange-ratesUpsert exchange rateDELETE/products/exchange-rates/:idDelete exchange ratePOST/products/exchange-rates/previewPreview a conversionModeration
Cart
Checkout & Orders
Seller Fulfillment
Rider Delivery
Order Messages
Order Moderation
Seller Profile
Seller KYC
Payouts
Refunds
Wallet & Configuration
Payout
Transactions & Balances
Notifications
GET
/notificationsList notificationsPOST/notifications/:id/readMark notification readPOST/notifications/read-allMark all notifications readDELETE/notifications/:idDelete notificationGET/notifications/preferencesGet notification preferencesPUT/notifications/preferencesUpdate notification preferencePOST/notificationsCreate notificationShops
GET
/seller/shop/slug/:slugGet shopGET/seller/shopsList shopsPOST/seller/shopCreate shopGET/seller/shop/meList my shopsPUT/seller/shop/:idUpdate shopPOST/seller/shop/:id/publishPublish shopPOST/seller/shop/:id/unpublishUnpublish shopPOST/seller/shop/:id/suspendSuspend my shopPOST/seller/shop/:id/reactivateReactivate my shopDELETE/seller/shop/:idDelete my shopShop Moderation
Riders
Plans
Subscriptions
POST
/subscriptionsSubscribePOST/subscriptions/upgradeUpgrade subscriptionGET/subscriptions/meGet my subscriptionGET/subscriptions/me/paymentsGet my payment historyPOST/subscriptions/me/cancelCancel subscriptionPOST/subscriptions/me/reactivateReactivate subscriptionPOST/subscriptions/payments/:depositId/check-statusCheck payment statusGET/subscriptions/statsGet subscription statsGET/subscriptions/revenueGet subscription revenueGET/subscriptions/adminList all subscriptionsGET/subscriptions/admin/:idGet subscription detailInvoices
Dashboard
Wallet Settings
Wallet
Favorites
Support
Incidents
Blog
Reports
Transactions & Ledger
Expenses
GET
/expenses/metaGet expense categoriesGET/expensesList expensesGET/expenses/:idGet expensePOST/expensesCreate expensePUT/expenses/:idUpdate expensePOST/expenses/:id/rejectReject expensePOST/expenses/:id/approve/requestRequest approvalPOST/expenses/:id/approve/resendResend approval codePOST/expenses/:id/approve/confirmConfirm approvalGET/expenses/export/csvExport expenses (CSV)