View Loan Payment

Get details on the payment

To view a specific loan payment, you can do GET passing in the transaction id and node id of the payment.

API ENDPOINT

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

PATH PARAMETER

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/5bee3049baabfc00ab17175b/nodes/5bee30ee192dde00ac623158/trans/5bee3d01bab8f200f74b5077 HTTP/1.1
Host: https://uat-api.synapsefi.com
X-SP-USER-IP: 255.127.79.76
X-SP-USER: oauth_s7D2JY9KwA6TgcpdB1kvHQoaEe5qULRVmfnGIb0x|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
loan_id = "5bee30ee192dde00ac623158"
payment_id = "5bee3d01bab8f200f74b5077"
user.get_node(loan_id, payment_id)
const loanNodeID = "5bee30ee192dde00ac623158";
const loansTransID = "5bee3d01bab8f200f74b5077";

user.getTransaction(loanNodeID, loanTransID);
loan_id = "5bee30ee192dde00ac623158"
payment_id = "5bee3d01bab8f200f74b5077"
user.get_user_node(node_id: loan_id, trans_id: payment_id)
nodeID := "5bee30ee192dde00ac623158"
transactionID := "5bee3d01bab8f200f74b5077"

data, err := user.GetNode(nodeID, transactionID) 
$nodeid = '5bee30ee192dde00ac623158';
$transid = '5bee3d01bab8f200f74b5077';
$user->get_trans( $nodeid, $transid );

EXAMPLE RESPONSE

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

Queued and Canceled Transactions

Visit our Transaction Codes resource for the full list of reasons a transaction can be queued or canceled.

To cancel a transaction yourself, DELETE transaction. Only transactions with a CREATED or QUEUED status can be canceled. Once a transaction is processing or settled you are unable to cancel it.

Returned Transactions

Transactions may be marked as returned after a transaction has settled. Please note the appropriate payment method's transaction resources to understand return codes.

Subscribe to Webhooks

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