I did this exact thing some years ago using DataPower and HP's Voltage.   
For your needs, maybe look into to using something like Mysto, which is a Node.js implementation and may work in DataPower.
You can find it here on GitHub.
------------------------------
Joseph Morgan
CEO - Independent
------------------------------
                                                
					
                                                    
        
                                                
				
                                                
                                                Original Message:
Sent: Sun November 02, 2025 01:48 PM
From: manjunath beri
Subject: Datapower to perform Credit card Tokenization and detokenization
Good Day ,
I wanted to explore the option of using  IBM Datapower (virtual hosted on prem)  to perform credit card tokenization and detokenization ( or any PCI approved encryptions and decryption methods) . Today we are using side call from DP to different tokenization product that is performing the job but am future thinking how datapower could be used to replace existing tokenization product which benefits in lower latencies , PCI scope system and few other. 
Happy to have more conversation on this as needed. Thanks in advance for any inputs and suggestions.
Thx,
MB
------------------------------
manjunath beri
IT Senior  Middleware Consultant
Westjet
calgary AB
4034442744
------------------------------