Financial transaction record representing a money movement (deposit, withdrawal, transfer, payment). Tracks transaction amount, type, status, currency, and timestamp for accounting and financial tracking.
https://api.mockly.codes/transactions?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/transactionsGet a collection of transactions
/finance/transactions/transactions/:idGet a single transaction by ID
/finance/transactions/:id/transactions/metaGet resource metadata and schema
/finance/transactions/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/transactions?q=laptopGET https://api.mockly.codes/transactions?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 transactions
fetch('https://api.mockly.codes/transactions?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/transactions?count=10'
)
data = response.json()curl "https://api.mockly.codes/transactions?count=10"fetch('https://api.mockly.codes/transactions?nocache=true')idintegerUnique identifier for the transaction
random_intuser_idintegerForeign key reference to the user who initiated or is associated with this transaction
random_intamountnumberTransaction amount (positive for credits, negative for debits)
pricecurrencystringISO currency code for the transaction amount (e.g., USD, EUR, GBP)
currencytypestringTransaction type (e.g., deposit, withdrawal, transfer, payment, refund, fee)
wordstatusstringTransaction status (e.g., pending, completed, failed, cancelled, refunded)
statustimestampstringTimestamp when the transaction occurred or was initiated
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request