View Loan Payment

Get details on the payment

user_id :
required
string

ID of user

node_id :
required
string

ID of node

trans_id :
required
string

ID of transaction

EXAMPLE REQUEST

GET /v3.1/users/5bee109fc256c334c5348d09/nodes/5bee11e7bab47500bc84a552/trans/5bee12e1a1c02600d55b5e7e HTTP/1.1
Host: https://uat-api.synapsefi.com
X-SP-USER-IP: 255.127.79.76
X-SP-USER: oauth_HBb0adELTAFlgYvX3Zn8QmKjMIk4tCN5uDqRce2U|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
loan_id= "5bee11e7bab47500bc84a552"
payment_id= "5bee12e1a1c02600d55b5e7e"
user.get_node(loan_id, payment_id)
const loanNodeID = "5bee11e7bab47500bc84a552";
const loanTransID = "5bee12e1a1c02600d55b5e7e";

user.getTransaction(loanNodeID, loanTransID);
loan_id= "5bee11e7bab47500bc84a552"
payment_id= "5bee12e1a1c02600d55b5e7e"
user.get_node_transaction(node_id: loan_id, trans_id: payment_id)
$nodeid = '5bee11e7bab47500bc84a552';
$transid = '5bee12e1a1c02600d55b5e7e';
$user->get_trans( $nodeid, $transid );
nodeID := "5bee11e7bab47500bc84a552"
transactionID := "5bee12e1a1c02600d55b5e7e"

data, err := user.GetTransaction(nodeID, transID)

EXAMPLE RESPONSE

{
    "_id": "5bee12e1a1c02600d55b5e7e",
    "_links": {
        "self": {
            "href": "https://uat-api.synapsefi.com/v3.1/users/5bee109fc256c334c5348d09/nodes/5bee11e7bab47500bc84a552/trans/5bee12e1a1c02600d55b5e7e"
        }
    },
    "_v": 2,
    "amount": {
        "amount": 300.1,
        "currency": "USD"
    },
    "client": {
        "id": "589acd9ecb3cd400fa75ac06",
        "name": "SynapseFI"
    },
    "extra": {
        "asset": null,
        "created_on": 1542329056403,
        "encrypted_note": "",
        "group_id": null,
        "ip": "255.127.79.76",
        "latlon": "0,0",
        "note": "Loan payment",
        "process_on": 1542329056403,
        "same_day": false,
        "supp_id": ""
    },
    "fees": [
        {
            "fee": 0.2,
            "note": "Synapse Facilitator Fee",
            "to": {
                "id": "55b3f8c686c2732b4c4e9df6"
            }
        }
    ],
    "from": {
        "id": "5bee114e192dde00ac622d8f",
        "nickname": "SynapsePay Test Checking Account - 8901",
        "type": "ACH-US",
        "user": {
            "_id": "5bee109fc256c334c5348d09",
            "legal_names": [
                "Test User"
            ]
        }
    },
    "recent_status": {
        "date": 1542329301349,
        "note": "C10 -- High risk transaction",
        "status": "CANCELED",
        "status_id": "5"
    },
    "timeline": [
        {
            "date": 1542329056403,
            "note": "Transaction Created.",
            "status": "CREATED",
            "status_id": "1"
        },
        {
            "date": 1542329066299,
            "note": "Q10-K Further investigation needed from Synapse.",
            "status": "QUEUED-BY-SYNAPSE",
            "status_id": "-1"
        },
        {
            "date": 1542329301349,
            "note": "C10 -- High risk transaction",
            "status": "CANCELED",
            "status_id": "5"
        }
    ],
    "to": {
        "id": "5bee11e7bab47500bc84a552",
        "nickname": "My Loan",
        "type": "LOAN-US",
        "user": {
            "_id": "5bee109fc256c334c5348d09",
            "legal_names": [
                "Test User"
            ]
        }
    }
}

Subscribe to Webhooks

We recommend that you subscribe to webhooks to stay updated on the status of transactions.