Authentication
The Management API requires authentication using an API key. You can generate an API key from your store’s dashboard.Client Setup
Initialize the management client with your store ID and API key:API Structure
Operations are organized by resource type. Each resource is accessed as a property on the client:client.products- Product managementclient.orders- Order management and refundsclient.customers- Customer managementclient.payments- Payment informationclient.coupons- Coupon managementclient.sales- Sales and discountsclient.subscriptions- Subscription managementclient.giftcards- Gift card managementclient.webhooks- Webhook subscriptionsclient.gameServers- Game server connectionsclient.delivery- Delivery item managementclient.customVariables- Custom product variablesclient.tags- Product tags- And more…
Response Format
All API methods return an Axios response object:Error Handling
The SDK uses standard Axios error handling. Use theisPayNowError helper to check for API errors:
Pagination
Many list endpoints support cursor-based pagination usingafter, before, limit, and asc parameters:
Rate Limits
The Management API is rate-limited to ensure system stability. Rate limit information is included in response headers:X-RateLimit-Limit- Maximum requests per windowX-RateLimit-Remaining- Remaining requests in current windowX-RateLimit-Reset- Time when the rate limit resets
Next Steps
Products
Manage your store’s products
Orders
View and manage orders
Customers
Manage customer data
Analytics
Access payment and analytics data