View Crypto Transaction

Get details on the crypto transactions

This call is used to view a specific exchange initiated between the Synapse accounts and the Crypto wallet. You will need to pass the user_id, node_id and trans_id in the path of this call.

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

The example below shows a exchange that has progressed through the whole transaction cycle and fulfilled the conversion the BTC to USD.

EXAMPLE REQUEST

GET /v3.1/users/5bb6ab05472e2500adffad5a/nodes/5bb81e3085411800991b3b57/trans/5bb821623d2c8200ddf3a297 HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 127.0.0.1
X-SP-USER: oauth_BcV9rmzTRKvDix8Ge32uN1qdkhfblgo7CtXQnJsZ|n38dj3h8NE393bv24ovoRY34kd62
Content-Type: application/json
node_id= 5bb81e3085411800991b3b57
crypto_ transaction= 5bb821623d2c8200ddf3a297
user.get_trans(node_id, crypto_ transaction)
const nodeID = “5bb81e3085411800991b3b57”;
const cryptoTransID = “5bb821623d2c8200ddf3a297”;

user.getTransaction(nodeID, cryptoTransID);
node_id= “5bb81e3085411800991b3b57”
crypto_ transaction= “5bb821623d2c8200ddf3a297”
user.get_node_transaction(node_id: node_id, trans_id: crypto_ transaction)
$nodeid = '5bb81e3085411800991b3b57';
$transid = '5bb821623d2c8200ddf3a297';
$user->get_trans( $nodeid, $transid );
nodeID := “5bb81e3085411800991b3b57”
transactionID := “5bb821623d2c8200ddf3a297”

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

EXAMPLE RESPONSE

{
    "_id": "5bb821623d2c8200ddf3a297",
    "_links": {
        "self": {
            "href": "https://uat-api.synapsefi.com/v3.1/users/5bb6ab05472e2500adffad5a/nodes/5bb81e3085411800991b3b57/trans/5bb821623d2c8200ddf3a297"
        }
    },
    "_v": 2,
    "amount": {
        "amount": 300,
        "currency": "USD"
    },
    "client": {
        "id": "5ade26b4567a900029e2afd2",
        "name": "YY Test Account"
    },
    "extra": {
        "asset": "BTC",
        "created_on": 1538793825812,
        "encrypted_note": "",
        "group_id": null,
        "ip": "127.0.0.1",
        "latlon": "0,0",
        "note": "Test transaction",
        "process_on": 1538793825812,
        "same_day": false,
        "supp_id": ""
    },
    "fees": [
        {
            "fee": 6,
            "note": "Synapse Facilitator Fee",
            "to": {
                "id": "55b3f8c686c2732b4c4e9df6"
            }
        }
    ],
    "from": {
        "id": "5bb81e3085411800991b3b57",
        "nickname": "My CRYPTO Wallet",
        "type": "CRYPTO-US",
        "user": {
            "_id": "5bb6ab05472e2500adffad5a",
            "legal_names": [
                "Test User"
            ]
        }
    },
    "recent_status": {
        "date": 1538794585486,
        "note": "Next",
        "status": "SETTLED",
        "status_id": "4"
    },
    "timeline": [
        {
            "date": 1538793825812,
            "note": "Transaction Created.",
            "status": "CREATED",
            "status_id": "1"
        },
        {
            "date": 1538793985916,
            "note": "Next Converting 0.04591753 BTC to 300.0 USD",
            "status": "PROCESSING-DEBIT",
            "status_id": "2"
        },
        {
            "date": 1538794286534,
            "note": "Next",
            "status": "PROCESSING-CREDIT",
            "status_id": "3"
        },
        {
            "date": 1538794585486,
            "note": "Next",
            "status": "SETTLED",
            "status_id": "4"
        }
    ],
    "to": {
        "id": "5bb81dc3854118009a1b35e1",
        "nickname": "My Deposit Account",
        "type": "DEPOSIT-US",
        "user": {
            "_id": "5bb6ab05472e2500adffad5a",
            "legal_names": [
                "Test User"
            ]
        }
    }
}

Subscribe to Webhooks

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

View Crypto Transaction


Get details on the crypto transactions

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.