Skip to content

API Overview

Complete reference for all Pixlpay API endpoints.

Base URL

https://yourstore.pixlpay.net/api/external/v1/

Authentication

All endpoints require Bearer token authentication:

bash
Authorization: Bearer YOUR_API_TOKEN

Response Format

Success Response

json
{
  "success": true,
  "data": { ... }
}

Paginated Response

json
{
  "success": true,
  "data": [ ... ],
  "meta": {
    "current_page": 1,
    "last_page": 5,
    "per_page": 15,
    "total": 75
  }
}

Error Response

json
{
  "success": false,
  "error": "Not Found",
  "message": "Product not found"
}

Endpoints Overview

Products

MethodEndpointDescription
GET/productsList all products
GET/products/{id}Get single product

Orders

MethodEndpointDescription
GET/ordersList all orders
GET/orders/{id}Get single order
POST/orders/{id}/fulfillMark order fulfilled

Customers

MethodEndpointDescription
GET/customersList all customers
GET/customers/{id}Get single customer

Analytics

MethodEndpointDescription
GET/analytics/revenueRevenue statistics
GET/analytics/salesSales statistics

Webhooks

MethodEndpointDescription
GET/webhooksList webhooks
POST/webhooksCreate webhook
DELETE/webhooks/{id}Delete webhook
POST/webhooks/{id}/testTest webhook

Pagination

Use page and per_page query parameters:

GET /products?page=2&per_page=25
  • Default per_page: 15
  • Maximum per_page: 100

Filtering

Most list endpoints support filtering:

GET /orders?status=completed&from=2025-01-01&to=2025-01-31

Sorting

Use sort and order parameters:

GET /products?sort=price&order=desc

Rate Limiting

  • 60 requests per minute per token
  • Headers indicate current status
  • 429 response when exceeded

Built for game developers, by game developers.