Sync

Refresh Account Data Of Users

With Sync developers can get real-time updates to user’s transaction and balance information. Insights gained can also be used to improve products and services better tailored for specific user needs or to mitigate ACH transaction risk.

At the API level, Sync works the following way:

from synapse_pay_rest import User
from synapse_pay_rest import Node
node = Node.by_id(user, '57ec57be86c27345b3f8a159', full_dehydrate='yes', force_refresh='yes')
# Example of node response with force_refresh and full_dehydrate:
{
...
'extra': {
...
'other': {
'balance': {
'available': 56506.77,
'current': 56506.77
},
.
.
.
.
...
'info': {
...
'addresses': [
{
'city': 'SF',
'state': 'CA',
'street': '101 Market SF',
'zipcode': '94114'
}
],
'emails': [
'test@synapse.com',
],
'names': [
'Synapse Financial Inc'
],
'phone_numbers': []
},
...
'recent_statement': 'https://cdn2.synapsefi.com/statements.banklogins/uploads/xxxx/xx/xx/xxxxxxxxxxxxxxxxxxxxx.pdf',
'transactions': [
{
'_id': '123456789',
'amount': 47200.7,
'category': {
'primary': 'transfer',
'subcategory': 'discretionary_spending'
},
.
.
.
.
.
.
.
.
.
'current_balance': 0,
'debit': True,
'description': 'ONLINE DOMESTIC WIRE TRANSFER VIA: AXOS BANK',
'merchant': {
'address': '201 North Walnut Street, Wilmington, DE 19801, United States',
'address_type': 'headquarters',
'logo': 'https://cdn4.synapsefi.com/uploads/2018/12/07/XcR74r9LJhespfIbK1z36y5QoBv8CNZHFWEGM2UTdmjYiPqSkn.jpeg',
'name': 'Chase',
'official_page': 'http://www.chase.com/',
'phone_number': '(800) 935-9935'
},
'pending': False,
'recurring': 'not_recurring'
},
...
],
...
},
'supp_id': None
},
'info': {
'account_num': '111111111',
'address': '101 Market SF, SF, CA, US',
'bank_logo': 'https://cdn.synapsepay.com/bank_logos/new/chase.png',
'bank_long_name': 'JPMORGAN CHASE',
'bank_name': 'JPMORGAN CHASE',
'class': 'CHECKING',
'nickname': 'Business Checking - 1234',
'routing_num': '322271627',
'type': 'BUSINESS',
...
},
...
}

More Resources