Recommendation: Create a dedicated SQL view for transaction monitoring instead of granting access to your underlying transaction tables. This gives you control over which data is exposed to the platform.
SQL View Schema
The view should return one row per transaction. The source represents the party — wallet, bank account, or card — from which the transaction originated.
The fields to provide depend on the value of
sourceMethod:
- If
sourceMethodisWallet, providesourceWalletIbanand eithersourceEntityIdorsourceEntityCrmId. - If
sourceMethodisBankAccount, providesourceBankIban,sourceEntityType, and eithersourceEntityNameEnorsourceEntityNameAr. - If
sourceMethodisCard, provide eithersourceEntityIdorsourceEntityCrmId.
The same requirements that apply to the source fields also apply to the corresponding target fields.
The remaining transaction columns are as follows: