Tokenize a bank account
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"accountHolderName": "John Doe",
"accountType": "savings",
"accountNumber": "12312311",
"routingNumber": "122187238"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize"
payload = {
"accountHolderName": "John Doe",
"accountType": "savings",
"accountNumber": "12312311",
"routingNumber": "122187238"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: 'John Doe',
accountType: 'savings',
accountNumber: '12312311',
routingNumber: '122187238'
})
};
fetch('https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: 'John Doe',
accountType: 'savings',
accountNumber: '12312311',
routingNumber: '122187238'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"code": "<string>",
"data": {
"paymentToken": {
"type": "<string>",
"token": {
"provider": "<string>",
"token": "<string>",
"accountType": "<string>",
"routingLast4Digits": "<string>",
"accountLast4Digits": "<string>",
"accountHolderName": "<string>"
}
}
},
"message": "<string>"
}eCheck Transactions
Tokenize a bank account
Tokenizes a customer’s bank account details. Use the returned token in place of raw account data for eCheck sales and recurring payments.
POST
https://sandbox-platform.jupico.com
/
v1
/
transactions
/
echeck
/
tokenize
Tokenize a bank account
curl --request POST \
--url https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"accountHolderName": "John Doe",
"accountType": "savings",
"accountNumber": "12312311",
"routingNumber": "122187238"
}
'import requests
url = "https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize"
payload = {
"accountHolderName": "John Doe",
"accountType": "savings",
"accountNumber": "12312311",
"routingNumber": "122187238"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: 'John Doe',
accountType: 'savings',
accountNumber: '12312311',
routingNumber: '122187238'
})
};
fetch('https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox-platform.jupico.com/v1/transactions/echeck/tokenize';
const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: 'John Doe',
accountType: 'savings',
accountNumber: '12312311',
routingNumber: '122187238'
})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"code": "<string>",
"data": {
"paymentToken": {
"type": "<string>",
"token": {
"provider": "<string>",
"token": "<string>",
"accountType": "<string>",
"routingLast4Digits": "<string>",
"accountLast4Digits": "<string>",
"accountHolderName": "<string>"
}
}
},
"message": "<string>"
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
API support various types of use. Required fields are defined by the most basic call. For other uses be sure to send the required information defined in the schema and examples.
Name on the bank account.
Bank account type, such as checking.
Bank account number.
9-digit ABA routing number.
Optional friendly name for the stored bank account.
Type of check used for the debit.
Response
200 - application/json
Successful eCheck operation
Last modified on August 31, 2026
Was this page helpful?

