Skip to main content
Preview. The Payments API (V3) is live at https://api.tagada.io/v1, but it is not open to self-serve integrations yet: merchant secret keys cannot be created from the dashboard. Every merchant processes on V2 today. Contact api-support@tagadapay.com if you plan a new integration.
Authenticate every request with a bearer key in the Authorization header:
A request without a valid key gets 401 authentication_required.
Payments API keys are not Commerce API (V2) keys. A dashboard API key that works on /api/public/v1 does not work on /v1, and the reverse is also true.

Key types

Platform keys are not issued to merchants. Only a platform key may send Payments-Account.
A secret key can create, capture and refund payments. Never ship it to a browser, a mobile app or a public repository.

Test and live mode

The key decides the mode, not the host. A _test_ key creates test payments that never move money; a _live_ key creates real ones. Objects of one mode are invisible to keys of the other: a test payment id read with a live key returns 404.

Publishable keys

A publishable key lets a browser confirm one payment it holds the client_secret of, read that payment, mount card fields and wallets, and create payment methods. It cannot create payments, list them or refund them. Get the publishable key of a store from your server:
  • The first call creates the key. Later calls return the same key and replace its allowed_origins with the list you send, so always send every origin of the store.
  • The key’s mode is the mode of the secret key that asked for it.
  • A browser request with a publishable key must come from one of the allowed_origins (the Origin header). Otherwise it gets 403 permission_denied.

Rate limits

Requests are counted per key kind and per account: Above the limit, the API answers 429 rate_limited with a Retry-After header in seconds.

Getting keys

Self-serve secret keys are coming soon: the dashboard does not create Payments API keys yet. During the preview, contact api-support@tagadapay.com.