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.Authorization header:
401 authentication_required.
Key types
Platform keys are not issued to merchants. Only a platform key may send
Payments-Account.
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 theclient_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_originswith 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(theOriginheader). Otherwise it gets403 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.
