---
title: How to Tokenize Bank Account Numbers
description: This piece covers how to tokenize bank account numbers to securely protect bank account information.
image: https://blog.basistheory.com/hubfs/Imported_Blog_Media/6214ea59a5b1f018062f4946_How-to-tokenize-bank-account-numbers.jpeg
---

[Skip to content](https://blog.basistheory.com/how-to-tokenize-bank-accounts-numbers#main-content)

![Basis Theory logo](https://blog.basistheory.com/hs-fs/hubfs/BTLogo%20(1).png?width=365&height=122&name=BTLogo%20(1).png)

- [Use Cases](https://basistheory.com/)
  
  Show submenu for Use Cases 
  
    - [Creator Economy](https://basistheory.com/use-cases/creator-economy)
    - [Digital Health](https://basistheory.com/use-cases/health)
    - [E-Commerce](https://basistheory.com/use-cases/ecommerce)
    - [Fintech](https://basistheory.com/use-cases/fintech)
    - [Gaming](https://basistheory.com/use-cases/gaming)
    - [Subscription Merchants](https://basistheory.com/use-cases/subscriptions)
    - [Travel](https://basistheory.com/use-cases/travel)
    - [VSaaS](https://basistheory.com/use-cases/vsaas)
- Solutions
  
  Show submenu for Solutions 
  
    - [Agentic Commerce](https://basistheory.com/solution/agentic-commerce)
    - [Data Consolidation](https://basistheory.com/solution/data-consolidation)
    - [Monetize Payments](https://basistheory.com/solution/monetize-payments)
    - [Multi PSP](https://basistheory.com/solution/multi-psp)
    - [Payment Method Discovery](https://basistheory.com/solution/payment-method-discovery)
    - [Payment Vault](https://basistheory.com/solution/payment-vault)
- [Platform](https://basistheory.com/platform)
  
  Show submenu for Platform 
  
    - [Enrichments & Add-Ons](https://basistheory.com/add-ons)
    - [Partners](https://basistheory.com/partnerships)
    - [Why Basis Theory](https://basistheory.com/why-basis-theory)
- [Pricing](https://basistheory.com/pricing)
- Resources
  
  Show submenu for Resources 
  
    - [Blog](https://blog.basistheory.com)
    - [Case Studies](https://blog.basistheory.com/case-studies)
- [Docs](https://developers.basistheory.com/)

Open main navigation

Close main navigation

- [Use Cases](https://basistheory.com/)
  
  Show submenu for Use Cases 
  
    - [Creator Economy](https://basistheory.com/use-cases/creator-economy)
    - [Digital Health](https://basistheory.com/use-cases/health)
    - [E-Commerce](https://basistheory.com/use-cases/ecommerce)
    - [Fintech](https://basistheory.com/use-cases/fintech)
    - [Gaming](https://basistheory.com/use-cases/gaming)
    - [Subscription Merchants](https://basistheory.com/use-cases/subscriptions)
    - [Travel](https://basistheory.com/use-cases/travel)
    - [VSaaS](https://basistheory.com/use-cases/vsaas)
- Solutions
  
  Show submenu for Solutions 
  
    - [Agentic Commerce](https://basistheory.com/solution/agentic-commerce)
    - [Data Consolidation](https://basistheory.com/solution/data-consolidation)
    - [Monetize Payments](https://basistheory.com/solution/monetize-payments)
    - [Multi PSP](https://basistheory.com/solution/multi-psp)
    - [Payment Method Discovery](https://basistheory.com/solution/payment-method-discovery)
    - [Payment Vault](https://basistheory.com/solution/payment-vault)
- [Platform](https://basistheory.com/platform)
  
  Show submenu for Platform 
  
    - [Enrichments & Add-Ons](https://basistheory.com/add-ons)
    - [Partners](https://basistheory.com/partnerships)
    - [Why Basis Theory](https://basistheory.com/why-basis-theory)
- [Pricing](https://basistheory.com/pricing)
- Resources
  
  Show submenu for Resources 
  
    - [Blog](https://blog.basistheory.com)
    - [Case Studies](https://blog.basistheory.com/case-studies)
- [Docs](https://developers.basistheory.com/)
- [Get a demo](https://basistheory.com/contact)

[Login](https://portal.basistheory.com/)

[Get a demo](https://basistheory.com/contact)

 February 28, 2022

![Picture of James Armstead](https://blog.basistheory.com/hs-fs/hubfs/Imported_Blog_Media/62b1da75da1e04053d424518_James.jpg?width=50&name=62b1da75da1e04053d424518_James.jpg) [James Armstead](https://blog.basistheory.com/author/james-armstead) ·

[Banking](https://blog.basistheory.com/tag/banking)

# How to Tokenize Bank Account Numbers

![How to tokenize bank account numbers](https://blog.basistheory.com/hubfs/Imported_Blog_Media/6214ea59a5b1f018062f4946_How-to-tokenize-bank-account-numbers.jpeg)

This piece covers how to tokenize bank account numbers to securely protect bank account information.

## Why use tokenization?

We think tokenization is the ideal method to protect account information for four key reasons:

1. **Flexibility**. Tokens can be easily passed between systems without each system needing logic to decrypt the data.
2. **Application**. Anything that can be serialized, can be tokenized. This broadens its application to different types of data, like media. For example, encoded images, like scanned authorization forms, can be tokenized, detokenized and decoded when needed. 
3. **Ownership**. Tokens provide continued access and control over the underlying data, but without the overhead. **‍**
4. **Enablement**. Once secured, bank account information can be transformed, aliased, fingerprinted, and more. These enable a variety of operational use cases, like customer support operations; cost-savings, like least cost routing; and new products, services, and partnerships. 

## How to tokenize bank account numbers in three steps:

![anatomy of a tokenized ACH bank account and routing number](https://blog.basistheory.com/hubfs/Imported_Blog_Media/6214e8bfc02bf004cf6849c6_3EWcWsigOBZpQGFuuPEDm3NMHW0u87-I35RsXudy-nDbMOfLSqWEV5eUpPZMPzsVIDV-A6PKWrM3fc1ZqjiYsfCSMKuozCDTMzNO7NPGc3ymT7SRId2MUPLGNegQ5-1.jpeg)

Basis Theory offers developers a secure, PCI-compliant and SOC 2 certified token vault and platform that allows your organization to quickly secure your banking details with a single tokenization API call. 

### Collecting bank account information

To collect this data from users seamlessly in your application, be sure to check out our [guide](https://developers.basistheory.com/guides/use-us-bank-accounts-without-touching-them/) on how to bank accounts with Basis Theory’s Elements. 

### Using Atomic Banks

Basis Theory offers a dedicated bank token type, called an [Atomic Bank](https://developers.basistheory.com/docs/api#atomic-banks). This token combines account number and routing number into a single Token. You may also store these separately, you can tokenize [these data types individually](https://developers.basistheory.com/docs/api#token-types). 

#### Creating an Atomic Bank

To create an Atomic Bank simply call our [Atomic Bank API](https://docs.basistheory.com/api-reference/#atomic-banks) with the account number and routing number you’d like to store.

Here is an example of how you’d accomplish that:

##### Requesting a Token ID

Token IDs are your reference back to the underlying sensitive data secured within Basis Theory’s vault. You will store these references within your system, enabling you to retrieve the bank data back from Basis Theory whenever you need it.

Create an Atomic Bank using the below cURL command. Keep in mind we have language-specific SDKs for [.NET](https://github.com/Basis-Theory/basistheory-dotnet), [Node.js](https://github.com/Basis-Theory/basis-theory-js), and [React](https://github.com/Basis-Theory/basis-theory-react) (with more to come).

```

curl "https://api.basistheory.com/atomic/banks" \\
  -H "X-API-KEY: <API Key>" \\
  -H "Content-Type: application/json" \\
  -X "POST" \\
  -d '{
    "bank": {
      "routing_number": "021000021",
      "account_number": "1234567890"
    },
  }'
```

‍

##### Receiving a Token ID

And, you’re done. You've now received an Atomic Bank that is fully compliant with Nacha’s new Security Compliance Requirements for ACH transactions.

In addition to securing your bank account details, we also automatically provide you with a masked value that is safe to store and display.

```

{
  "id": "1485efb9-6b1f-4248-a5d1-cf9b3907164c",
  "tenant_id": "77cb0024-123e-41a8-8ff8-a3d5a0fa8a08",
  "type": "bank",
  "bank": {
    "routing_number": "021000021",
    "account_number": "XXXXXX7890" // this is the masked account number
   },
   "created_by": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
   "created_at": "2020-09-15T15:53:00+00:00"
}
```

 

## Ready to get started?

Start complying in minutes, not weeks. Here are a few ways to get started:

1. Learn more about using Basis Theory to [secure account data](https://developers.basistheory.com/docs/guides/any/)
2. Check out one of our [“securing bank accounts”](https://developers.basistheory.com/docs/guides/banks/collect-bank-accounts) guides
3. Send our[API documentation](https://developers.basistheory.com/) to your developers

[![View an Interactive Demo   See how the Basis Theory platform secures payment data and significantly reduces PCI compliance burden from day 1.  ](https://no-cache.hubspot.com/cta/default/22332934/interactive-171495116167.png)](https://blog.basistheory.com/hs/cta/wi/redirect?encryptedPayload=AVxigLK8K4SB29Kav13ogQkAJELeM7SjHcsT%2B6fInViwzSSZo2x2JgUZC5zE7SFL6NAbaUrSxRtip%2F%2BrubG4YudwldRZ45%2F%2B9VEY3N0RGXamnlHjAPZSclMrF%2BcEwuYIesliS9YYpgLtPvHJsBl8F2sQc4JH1hn3kKDXvfHsGOEuj8FKvtGzqveXlyzQ%2B3dbtBiPnfLegOId2jo16wC22riTbN4ifJ4%3D&webInteractiveContentId=171495116167&portalId=22332934)

## Related posts

[![What questions should I ask when securing bank account numbers?](https://blog.basistheory.com/hubfs/ACH%20bank%20account.png)](https://blog.basistheory.com/security-questions-ach-bank-account-numbers)

[Banking](https://blog.basistheory.com/tag/banking)

### [What questions to ask when securing bank account numbers?](https://blog.basistheory.com/security-questions-ach-bank-account-numbers)

![Picture of Basis Theory](https://blog.basistheory.com/hs-fs/hubfs/bt-favicon-new.png?width=50&name=bt-favicon-new.png) [Basis Theory](https://blog.basistheory.com/author/basis-theory-team) 

 February 10, 2022

[Read more](https://blog.basistheory.com/security-questions-ach-bank-account-numbers)

[![How to reduce involuntary churn](https://blog.basistheory.com/hubfs/Involuntary%20Churn.png)](https://blog.basistheory.com/involuntary-churn)

[Payments](https://blog.basistheory.com/tag/payments)

### [How to Optimize Approval Rates and Reduce Involuntary Churn](https://blog.basistheory.com/involuntary-churn)

![Picture of Basis Theory](https://blog.basistheory.com/hs-fs/hubfs/bt-favicon-new.png?width=50&name=bt-favicon-new.png) [Basis Theory](https://blog.basistheory.com/author/basis-theory-team) 

 June 30, 2026

[Read more](https://blog.basistheory.com/involuntary-churn)

[![Doing more with PAN](https://blog.basistheory.com/hubfs/Doing%20more%20with%20PAN.png)](https://blog.basistheory.com/doing-more-with-personal-account-numbers)

[Payments](https://blog.basistheory.com/tag/payments)

### [Do more with PAN: Push provisioning & account updater](https://blog.basistheory.com/doing-more-with-personal-account-numbers)

![Picture of Basis Theory](https://blog.basistheory.com/hs-fs/hubfs/bt-favicon-new.png?width=50&name=bt-favicon-new.png) [Basis Theory](https://blog.basistheory.com/author/basis-theory-team) 

 December 17, 2024

[Read more](https://blog.basistheory.com/doing-more-with-personal-account-numbers)

## Stay Connected

### Receive the latest updates straight to your inbox

### Follow on Social

<https://www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&followMember=colinthomasluce>

[![BTLogo (1)](https://blog.basistheory.com/hs-fs/hubfs/BTLogo%20(1).png?width=138&height=46&name=BTLogo%20(1).png "BTLogo (1)")](https://basistheory.com)

- Use Cases 
    - [Creator Economy](https://basistheory.com/use-cases/creator-economy)
    - [Digital Health](https://basistheory.com/use-cases/health)
    - [E-Commerce](https://basistheory.com/use-cases/ecommerce)
    - [Fintech](https://basistheory.com/use-cases/fintech)
    - [Gaming](https://basistheory.com/use-cases/gaming)
    - [Remittance](https://basistheory.com/use-cases/remittance)
    - [Subscription Platforms](https://basistheory.com/use-cases/subscriptions)
    - [Online Travel Agencies](https://basistheory.com/use-cases/travel)
    - [Vertical SaaS](https://basistheory.com/use-cases/vsaas)
- Developers 
    - [Quickstart](https://developers.basistheory.com/getting-started)
    - [Elements](https://developers.basistheory.com/docs/sdks/web/javascript)
    - [Documentation](https://developers.basistheory.com/)
- Basis Theory 
    - [Pricing](https://basistheory.com/pricing)
    - [Add-Ons](https://basistheory.com/add-ons)
    - [ROI Calculator](https://go.basistheory.com/roi)
    - [Case Studies](https://blog.basistheory.com/case-studies)
    - [Blog](https://blog.basistheory.com)
    - [Contact](https://basistheory.com/contact)
- Other 
    - [Terms and Conditions](https://basistheory.com/resources/terms-of-service)
    - [Privacy Policy](https://basistheory.com/resources/privacy-policy)
    - [Cookie Policy](https://basistheory.com/resources/cookie-policy)
    - [Security](https://basistheory.com/security)
    - [System Status](https://status.basistheory.com/)
- Compare 
    - [Basis Theory Vs. Evervault](https://go.basistheory.com/evervault-alternative)
    - [Basis Theory Vs. IXOPAY](https://go.basistheory.com/alternative-to-ixopay)
    - [Basis Theory Vs. VGS](https://go.basistheory.com/compare/very-good-security)

---

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "James Armstead",
    "url" : "https://blog.basistheory.com/author/james-armstead"
  },
  "dateModified" : "2025-05-30T20:07:32.698Z",
  "datePublished" : "2022-02-28T05:00:00.000Z",
  "headline" : "How to Tokenize Bank Account Numbers",
  "image" : [ "https://blog.basistheory.com/hubfs/Imported_Blog_Media/6214ea59a5b1f018062f4946_How-to-tokenize-bank-account-numbers.jpeg" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.basistheory.com/how-to-tokenize-bank-accounts-numbers",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.basistheory.com/hubfs/BTLogo%20(1).png"
    },
    "name" : "Basis Theory"
  }
}
```