Skip to main content

TagadaPay API

The TagadaPay API is a REST API that lets you process payments, manage subscriptions, handle customers, deploy plugins, and orchestrate checkout funnels — all programmatically.

Base URL

https://app.tagadapay.com/api/public/v1
A sandbox environment is available for testing:
https://app.tagadapay.dev/api/public/v1

Authentication

Authenticate every request with a Bearer token in the Authorization header. Get your API key from the TagadaPay Dashboard.
curl https://app.tagadapay.com/api/public/v1/auth/test \
  -H "Authorization: Bearer your-api-key"
Keep your API keys secure. Never expose them in client-side code, public repositories, or logs.

Request format

  • All requests must use HTTPS
  • Set Content-Type: application/json for POST/PUT requests
  • All responses return JSON
curl -X POST https://app.tagadapay.com/api/public/v1/payments \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"pagination": {"page": 1, "pageSize": 20}}'

Rate limits

PlanRequests/minBurst
Standard100150
Premium500750
Exceeding the limit returns 429 Too Many Requests with a Retry-After header.

Error codes

CodeMeaning
400Bad request — invalid or missing parameters
401Unauthorized — missing or invalid API key
403Forbidden — insufficient permissions
404Resource not found
409Conflict with another request
429Rate limited
500Server error
Error responses follow this structure:
{
  "code": "ERROR",
  "message": "Human-readable error description",
  "data": {}
}

Pagination

List endpoints support pagination via request body parameters:
Used by payments, orders, customers, and block rules.
{
  "pagination": {
    "page": 1,
    "pageSize": 20
  },
  "sortBy": {
    "field": "createdAt",
    "direction": "desc"
  }
}

Filtering

Most list endpoints accept a filters object. Common patterns:
{
  "filters": {
    "status": ["active", "trialing"],
    "currency": ["USD", "EUR"],
    "date": {
      "condition": "is-after-date",
      "value": ["2024-01-01"]
    },
    "email": {
      "condition": "contains",
      "value": "john@"
    }
  }
}
Date filter conditions: is-equal-date, is-between-date, is-after-date, is-before-date.

Webhooks

Register webhook endpoints to receive real-time event notifications for payments, orders, subscriptions, and more. See the Webhooks API section.

SDKs

Node.js SDK

Server-side SDK for Node.js / TypeScript

Plugin SDK

Build custom checkout plugins with React

Plugin CLI

Deploy and manage plugins from the command line

Need help?