SDKs
Hosted fields in the browser. REST clients for Node, Python, and PHP.
Hosted fields (browser)
@token-core/payment-js is the iframe SDK. Use it to collect a PAN. See Hosted fields.
There is also a small server helper under sdk/server-sdks/ in token-core (Node, Python, PHP, Java) if you want a client that already signs HMAC-SHA512.
REST clients
| Package | Language | Install |
|---|---|---|
tokeni-node | TypeScript | GitHub Packages @<org>/tokeni-node |
tokeni-python | Python | Artifact from CI |
tokeni-php | PHP | Artifact from CI |
These wrap HTTP. They do not replace payment-js. They will not collect a card in the browser.
Point them at https://sandbox-api.tokeni.io until you are ready for production. Do not paste live PANs into examples.