Create bank transactions (AI)
curl --request POST \
--url https://staging-api.usetyms.com/v1/adam/bank-transactions/upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"prompt": "Record debit 2024-01-10 -250.00 Office supplies STAPLES ref 7788; credit 2024-01-12 +2000.00 ACH Client ACME",
"bank": "your-bank-uuid-here",
"process_type": "async"
}
'import requests
url = "https://staging-api.usetyms.com/v1/adam/bank-transactions/upload"
payload = {
"prompt": "Record debit 2024-01-10 -250.00 Office supplies STAPLES ref 7788; credit 2024-01-12 +2000.00 ACH Client ACME",
"bank": "your-bank-uuid-here",
"process_type": "async"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
prompt: 'Record debit 2024-01-10 -250.00 Office supplies STAPLES ref 7788; credit 2024-01-12 +2000.00 ACH Client ACME',
bank: 'your-bank-uuid-here',
process_type: 'async'
})
};
fetch('https://staging-api.usetyms.com/v1/adam/bank-transactions/upload', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Bank transaction import queued for processing",
"data": {
"process_type": "async",
"job_reference": "job_01HZXK8QBANKTX"
}
}{
"status": "failed",
"message": "The prompt field is required."
}Bank transactions
Create bank transactions (AI)
POST
/
bank-transactions
/
upload
Create bank transactions (AI)
curl --request POST \
--url https://staging-api.usetyms.com/v1/adam/bank-transactions/upload \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"prompt": "Record debit 2024-01-10 -250.00 Office supplies STAPLES ref 7788; credit 2024-01-12 +2000.00 ACH Client ACME",
"bank": "your-bank-uuid-here",
"process_type": "async"
}
'import requests
url = "https://staging-api.usetyms.com/v1/adam/bank-transactions/upload"
payload = {
"prompt": "Record debit 2024-01-10 -250.00 Office supplies STAPLES ref 7788; credit 2024-01-12 +2000.00 ACH Client ACME",
"bank": "your-bank-uuid-here",
"process_type": "async"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
prompt: 'Record debit 2024-01-10 -250.00 Office supplies STAPLES ref 7788; credit 2024-01-12 +2000.00 ACH Client ACME',
bank: 'your-bank-uuid-here',
process_type: 'async'
})
};
fetch('https://staging-api.usetyms.com/v1/adam/bank-transactions/upload', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Bank transaction import queued for processing",
"data": {
"process_type": "async",
"job_reference": "job_01HZXK8QBANKTX"
}
}{
"status": "failed",
"message": "The prompt field is required."
}Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Body
application/json
Hide child attributes
Hide child attributes
Content per type. For Base64, send raw bytes encoded as a string (no data:...;base64, prefix).
How file is encoded. Required on every attachment. Base64 payloads must use "type": "base64" explicitly — the API does not infer Base64 from the file string alone.
Available options:
base64, url, raw Filename with extension (recommended for type detection).
Bank account UUID.
Available options:
async, direct Response
Import queued (async) or extracted rows returned (direct)