Basis Theory
Payments Application API keyTokenize and detokenize sensitive data — card numbers, bank details, personal identifiers — from any Windmill script, flow or app.
Set up in 3 steps
Create an application
In the Basis Theory portal, open Applications and create one, granting only the permissions your scripts need. Copy its API key — it is shown only once.
Add the resource in Windmill
Open Resources, add a resource of type basis_theory, and paste the key.
Run your first script
Fork any script below and read before writing anything. There are dozens here, so search by the verb you need.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
network-tokens
Tokens Update
Tokens Search V2
Tokens Search
Tokens Get V2
Tokens Get By Id
Tokens Get
Tokens Delete
Tokens Create
Tokenize Tokenize
Token Intents Read
Token Intents Delete
Token Intents Create
Three DS.Get Session By Id
Three DS.Get Challenge Result
Three DS.Create Session
Three DS.Authenticate Session
Tenants Update
Tenants Owner Get
Tenants Get
Tenants Delete
Tenant Reports Get Tenant Usage Report
Tenant Members Update Member
Tenant Members Get Members
Tenant Members Delete Member
Tenant Invitations Resend Invitation
Tenant Invitations Get Invitations
Tenant Invitations Get By Id
Tenant Invitations Delete Invitation
Tenant Invitations Create Invitation
Resource type
basis_theory — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes | API key retrieved upon creating an application. |
Questions
This key can read plaintext
Only if you grant it. Permissions are fixed per application, so create one that can tokenize but not read back, unless a script genuinely needs the raw value.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.