Sync vs. Async
When sending transactions via API, we can process them either
async - this FAQ aims to provide more information as to the different use cases for when you should use
async and the general pros and cons of each methodology.
Q: What is the difference between processing end_user transactions sync vs. async? What are the benefits of one versus the other?
We typically segregate
async by customer use case.
For creating a Beautiful Transaction Feed, i.e. extracting a clean merchant name and icon from a single or multiple transaction descriptions:
And you are enriching a single transaction, we recommend processing transactions using the
And you are enriching a batch of transactions, we recommend processing a batch of transactions
And you have business data and want categories in addition to merchant name and icons, then we would consider you an SMB analytics use case, and we recommend processing transactions
For SMB underwriting and SMB analytics - we always recommend processing transactions
Async has additional features that increase accuracy given that the process evaluates the end_user holistically, instead of just evaluating a single batch of transactions.
To summarise, the key differences between
async processing are:
syncis faster with respect to processing a single batch of transactions and you do not have to rely on receiving a webhook to know when the process is complete (more information on webhooks here)
- Accuracy: because
asynchas additional features and considers an end_user holistically, the categorisation is more accurate for businesses (this can be up to 10 percentage points more accurate and is the only way to account for inter-company transfers)
- Number of transactions you are able to process in a single batch: for
sync, you are able to send a maximum of 249 transactions in a single batch, whereas for
async, you are able to send a maximum of 1000 transactions in a single batch
Q: Am I able to process transactions both sync and async?
Processing transactions both
async in a single production environment is not optimal. If you need to be able to do both - please let us know via slack or email us at [email protected].
Q: I am currently processing transactions sync, how do I process transactions async (and vice versa)?
If you would like to switch your processing methodology, please reach out via slack or email us at [email protected].