curl --request POST \
--url https://api.entendre.finance/v1/transactions \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"source_id": "src_507f1f77bcf86cd799439011",
"legal_entity_id": "le_507f1f77bcf86cd799439011",
"timestamp": "2026-08-31T12:00:00Z",
"description": "Customer deposit",
"direction": "debit",
"currency": "USD",
"gross": "100.00",
"fee": "100.00",
"net": "100.00",
"external_reference": "bank-deposit-2026-09-01"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
source_id: 'src_507f1f77bcf86cd799439011',
legal_entity_id: 'le_507f1f77bcf86cd799439011',
timestamp: '2026-08-31T12:00:00Z',
description: 'Customer deposit',
direction: 'debit',
currency: 'USD',
gross: '100.00',
fee: '100.00',
net: '100.00',
external_reference: 'bank-deposit-2026-09-01'
})
};
fetch('https://api.entendre.finance/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.entendre.finance/v1/transactions"
payload = {
"source_id": "src_507f1f77bcf86cd799439011",
"legal_entity_id": "le_507f1f77bcf86cd799439011",
"timestamp": "2026-08-31T12:00:00Z",
"description": "Customer deposit",
"direction": "debit",
"currency": "USD",
"gross": "100.00",
"fee": "100.00",
"net": "100.00",
"external_reference": "bank-deposit-2026-09-01"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "txn_507f1f77bcf86cd799439011",
"account_id": null,
"organization_id": "org_507f1f77bcf86cd799439011",
"legal_entity_id": "le_507f1f77bcf86cd799439011",
"source_class": "fiat",
"provider": "plaid",
"vendor": null,
"provider_category": null,
"external": {
"timestamp": "2026-08-31T12:00:00Z",
"description": "Customer deposit",
"direction": "credit",
"quantity": null,
"currency": "USD",
"value_fiat": {
"gross": "100.00",
"fee": "0.00",
"net": "100.00",
"currency": "USD"
}
},
"crypto": null,
"bank": {
"bank_name": "Example Bank",
"account_last4": "4242",
"counterparty_name": "Example Customer"
},
"card": null,
"internal": {
"transaction_type": "DEPOSIT",
"status": "pending",
"memo": null,
"journal_entry_id": null
},
"created_at": null,
"updated_at": null,
"tag_ids": [
"tag_507f1f77bcf86cd799439011"
]
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid path, query or request body.",
"request_id": "req_example"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication is required.",
"request_id": "req_example"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "Insufficient access to organization",
"request_id": "req_example"
}
}{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Resource not found",
"request_id": "req_example"
}
}{
"error": {
"code": "CONFLICT",
"message": "The resource state does not allow this operation.",
"request_id": "req_example"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded. Retry after 30s.",
"request_id": "req_example"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"request_id": "req_example"
}
}{
"error": {
"code": "SERVICE_UNAVAILABLE",
"message": "Service unavailable.",
"request_id": "req_example"
}
}Create transaction
Creates a manual transaction using the fields for its type. This records an economic event; it does not transfer funds.
curl --request POST \
--url https://api.entendre.finance/v1/transactions \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-API-Key: <api-key>' \
--data '
{
"source_id": "src_507f1f77bcf86cd799439011",
"legal_entity_id": "le_507f1f77bcf86cd799439011",
"timestamp": "2026-08-31T12:00:00Z",
"description": "Customer deposit",
"direction": "debit",
"currency": "USD",
"gross": "100.00",
"fee": "100.00",
"net": "100.00",
"external_reference": "bank-deposit-2026-09-01"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
source_id: 'src_507f1f77bcf86cd799439011',
legal_entity_id: 'le_507f1f77bcf86cd799439011',
timestamp: '2026-08-31T12:00:00Z',
description: 'Customer deposit',
direction: 'debit',
currency: 'USD',
gross: '100.00',
fee: '100.00',
net: '100.00',
external_reference: 'bank-deposit-2026-09-01'
})
};
fetch('https://api.entendre.finance/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.entendre.finance/v1/transactions"
payload = {
"source_id": "src_507f1f77bcf86cd799439011",
"legal_entity_id": "le_507f1f77bcf86cd799439011",
"timestamp": "2026-08-31T12:00:00Z",
"description": "Customer deposit",
"direction": "debit",
"currency": "USD",
"gross": "100.00",
"fee": "100.00",
"net": "100.00",
"external_reference": "bank-deposit-2026-09-01"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "txn_507f1f77bcf86cd799439011",
"account_id": null,
"organization_id": "org_507f1f77bcf86cd799439011",
"legal_entity_id": "le_507f1f77bcf86cd799439011",
"source_class": "fiat",
"provider": "plaid",
"vendor": null,
"provider_category": null,
"external": {
"timestamp": "2026-08-31T12:00:00Z",
"description": "Customer deposit",
"direction": "credit",
"quantity": null,
"currency": "USD",
"value_fiat": {
"gross": "100.00",
"fee": "0.00",
"net": "100.00",
"currency": "USD"
}
},
"crypto": null,
"bank": {
"bank_name": "Example Bank",
"account_last4": "4242",
"counterparty_name": "Example Customer"
},
"card": null,
"internal": {
"transaction_type": "DEPOSIT",
"status": "pending",
"memo": null,
"journal_entry_id": null
},
"created_at": null,
"updated_at": null,
"tag_ids": [
"tag_507f1f77bcf86cd799439011"
]
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid path, query or request body.",
"request_id": "req_example"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication is required.",
"request_id": "req_example"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "Insufficient access to organization",
"request_id": "req_example"
}
}{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Resource not found",
"request_id": "req_example"
}
}{
"error": {
"code": "CONFLICT",
"message": "The resource state does not allow this operation.",
"request_id": "req_example"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded. Retry after 30s.",
"request_id": "req_example"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "Internal server error",
"request_id": "req_example"
}
}{
"error": {
"code": "SERVICE_UNAVAILABLE",
"message": "Service unavailable.",
"request_id": "req_example"
}
}Authorizations
Your organization API key. Some operations also need a key that is associated with a user; their pages say so.
Headers
Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.
1 - 255Body
Source ID (src_…).
"src_507f1f77bcf86cd799439011"
Legal entity ID (le_…).
"le_507f1f77bcf86cd799439011"
ISO 8601 UTC timestamp.
"2026-08-31T12:00:00Z"
Event narrative.
1 - 500"Customer deposit"
Movement direction relative to the source; not accounting classification.
debit, credit Fiat currency.
"USD"
Positive gross fiat amount.
^-?[0-9]+(?:\.[0-9]+)?$"100.00"
Non-negative fee amount.
^-?[0-9]+(?:\.[0-9]+)?$"100.00"
Net amount, consistent with gross and fee.
^-?[0-9]+(?:\.[0-9]+)?$"100.00"
Client-owned import identifier, unique within source. Must not start with chain-event:; that prefix is reserved.
1 - 500"bank-deposit-2026-09-01"
Economic transaction type. Some values contain spaces, such as INTERNAL TRANSFER.
DEPOSIT, WITHDRAWAL, SWAP, NON_TAXABLE_CONVERSION, BRIDGE, INTERCOMPANY TRANSFER, INTERNAL TRANSFER, FEE, MINTING, STAKING_REWARD, VALIDATOR_REWARD, INVOICE, BILL, CLAIM REWARD, BORROW, REPAYMENT, RESERVES CHANGE, REALIZED_PNL, INCOME, EXPENSE, REFUND, CHARGEBACK, NFT, SPAM, UNKNOWN Optional memo.
Response
Created.
Show child attributes
Show child attributes