Statements by Node

Get the statement by node

Use this call if you want the transaction statement for the specific node. Statements are returned per month and in two formats (CSV & PDF) which you will be able to download through a URL. If a PDF fails to generate, None will be returned in the field.

API ENDPOINT

https://uat-api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/statements

QUERY PARAMETER

page :
integer

Page number

per_page :
integer 20

Number of Statements per page

EXAMPLE REQUEST

GET /v3.1/users/5b4b2d9d14ddee0049e651e9/nodes/5b4b2df145d1cc006d088f2e/statements HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 127.0.0.1
X-SP-USER: oauth_zUWrVRmZ19KoHBtJ8EqhYkj70uvTXOyx34nD0Q2b|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
node_id = '5b4b2df145d1cc006d088f2e'

user.get_node_statements(node_id)
const nodeID = '5b4b2df145d1cc006d088f2e';

user.getStatementsByNode(nodeID);
node_id= "5b4b2df145d1cc006d088f2e"

user.get_node_statements(node_id: node_id)
$page=null;
$per_page=null;
$nodeid = '5b4b2df145d1cc006d088f2e';

$user->get_node_statements($nodeid, $page, $per_page);
nodeID := "5b4b2df145d1cc006d088f2e"

data, err := user.GetNodeStatements(nodeID)

EXAMPLE RESPONSE

A successful response will include the urls for the user statement in CSV and PDF for you to download. All you have to do is grab the URL you wish and open a new browser tab and paste the returned link from the response.

{
    "error_code": "0",
    "http_code": "200",
    "limit": 20,
    "page": 1,
    "page_count": 1,
    "statements": [
        {
            "_id": "5b4b2ec82775e400bb7b560b",
            "date_end": 1728000000000,
            "date_start": 1451433600000,
            "urls": {
                "csv": "https://cdn.synapsepay.com/uploads/2018/07/15/FEevRbZ7yHrVBdYQAgKcoGlmJs9aiM5C6UWhp32NTnOzPtD8kS.csv",
                "pdf": "https://cdn.synapsepay.com/uploads/2018/07/15/PFJ2VhjyQSxcGXg9f5uLq63beli0UOEMk0YHd8t7Z4RsaN1DnI.pdf"
            }
        },
        {
            ...
        }
    ],
    "statements_count": 2,
    "success": true
}

Note: For the platform user account, PDF statements are not available via API for all nodes except RESERVE nodes. Please reach out to your Platform Architect if you wish to have a PDF generated for other node types in the platform user account.

1099-INT Forms

Please note, for interest bearing accounts, 1099-INT forms will be appended onto the December statement object, so you will be able to use the same statements API to propagate this to your users. See an example response below, with 1099 under urls.

{
    "error_code": "0",
    "http_code": "200",
    "limit": 20,
    "page": 1,
    "page_count": 1,
    "statements": [
        {
            "_id": "5b4b2ec82775e400bb7b560b",
            "date_end": 1728000000000,
            "date_start": 1451433600000,
            "urls": {
                "csv": "https://cdn.synapsepay.com/uploads/2018/07/15/FEevRbZ7yHrVBdYQAgKcoGlmJs9aiM5C6UWhp32NTnOzPtD8kS.csv",
                "pdf": "https://cdn.synapsepay.com/uploads/2018/07/15/PFJ2VhjyQSxcGXg9f5uLq63beli0UOEMk0YHd8t7Z4RsaN1DnI.pdf",
                "1099INT": "https://cdn.synapsepay.com/uploads/2018/07/15/1099pdf.pdf"
            }
        },
        {
            ...
        }
    ],
    "statements_count": 2,
    "success": true