Skip to content
Insy
For developers
Esc
↑↓navigate↵open⌘Jpreview

List the person's payments and owned products

Scope: purchases.read.

GET/v1/me/purchases
Authorization
AuthorizationBearer token (API Key) · headerrequired
API Key for programmatic access (format: insy_xxxxx)
Responses
200Successful response
successbooleanrequired
Whether the request was successful
errorCodestringrequired
The error code returned by the request
Allowed:not_foundbad_requestalready_existsunauthorizedforbiddeninternal_server_errorservice_unavailabletimeoutconflictprecondition_failedunprocessable_entitytoo_many_requests
messagestringrequired
The message returned by the request
dataV1PurchasesObject
Show properties
paymentsV1PaymentObject[]required
The latest 15, newest first.
Show properties
Array of V1PaymentObject
datestring<date> | nullrequired
statusstringrequired
amountV1MoneyObject | anyrequired
Show properties
Any of:
V1MoneyObject
amountCentsnumberrequired
Minor units (cents).
currencystring | nullrequired
any
any
refundedV1MoneyObject | anyrequired
Show properties
Any of:
V1MoneyObject
amountCentsnumberrequired
Minor units (cents).
currencystring | nullrequired
any
any
methodstringrequired
itemV1PurchasedItemObjectrequired
Show properties
typestringrequired
namestringrequired
slugstring | nullrequired
planstring | nullrequired
receiptAvailablebooleanrequired
ownedProductsV1OwnedProductObject[]required
Show properties
Array of V1OwnedProductObject
namestringrequired
slugstringrequired
creatorstring | nullrequired
400Invalid input (`errorCode: bad_request`, `reason: invalid_input`).
401Missing, invalid or expired access token or API key.
403The token lacks the operation's scope (`reason: insufficient_scope`).
429Per-account rate limit (120/min, 3000/h, shared with `/mcp`); see `Retry-After`.
Try it
Server
Authorization
Request
curl -X GET "https://api.insy.io/v1/me/purchases" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "success": true,
  "errorCode": "not_found",
  "message": "Success",
  "data": {
    "payments": [
      {
        "date": "2019-08-24",
        "status": "string",
        "amount": {
          "amountCents": 0,
          "currency": "PLN"
        },
        "refunded": {
          "amountCents": 0,
          "currency": "PLN"
        },
        "method": "string",
        "item": {
          "type": "community",
          "name": "string",
          "slug": "string",
          "plan": "string"
        },
        "receiptAvailable": true
      }
    ],
    "ownedProducts": [
      {
        "name": "string",
        "slug": "string",
        "creator": "string"
      }
    ]
  }
}