Skip to content

GraphQL Schema

Plirin’s API is built on GraphQL, giving you precise control over what data you request. The schema includes types for all major entities: merchants, transactions, invoices, products, customers, and more.

TypeDescription
MerchantYour business account — profile, settings, wallets
TransactionA completed payment with on-chain details
InvoiceAn invoice with line items, status, and payment info
ProductA catalog product
PriceA pricing configuration for a product
CustomerA customer record
RefundA refund request and its status
WebhookEndpointA configured webhook receiver
MerchantVatRateA merchant-defined VAT rate preset (domestic EU VAT invoicing)

The API supports GraphQL introspection. Use any GraphQL client (Apollo Studio, Insomnia, Postman) to explore the full schema:

query {
__schema {
types {
name
description
}
}
}