GET
/
transactions
/
{transaction_id}
curl --request GET \
  --url http://localhost:5001/transactions/{transaction_id} \
  --header 'Authorization: Basic <encoded-value>'
{
    "precise_amount": 300,
    "amount": 3,
    "rate": 0,
    "precision": 100,
    "transaction_id": "txn_93c3f6dc-9c2c-46b0-89c5-1814cef4d0e4",
    "parent_transaction": "",
    "source": "bln_845bbf20-cc0c-41d2-810b-24f104f1cb8b",
    "destination": "bln_e92a1ba7-92c7-427c-8c8f-bfdca55c875d",
    "reference": "ref_04551509-d7d3-4eab-a1fd-2eb12809b5a4_q",
    "currency": "BTC",
    "description": "test",
    "status": "REJECTED",
    "hash": "",
    "allow_overdraft": false,
    "inflight": false,
    "created_at": "2025-02-08T13:36:42.748594Z",
    "scheduled_for": "0001-01-01T00:00:00Z",
    "inflight_expiry_date": "0001-01-01T00:00:00Z",
    "meta_data": {
        "blnk_rejection_reason": "failed to apply transaction to balances: insufficient funds in source balance"
    }
}

Authorization

Basic authentication header of the form — Basic <encoded-value>, where <encoded-value> is the base64-encoded string of your username:password.

Path

transaction_id
string

Specifies the unique ID of the transanction record being retrieved.

curl --request GET \
  --url http://localhost:5001/transactions/{transaction_id} \
  --header 'Authorization: Basic <encoded-value>'
{
    "precise_amount": 300,
    "amount": 3,
    "rate": 0,
    "precision": 100,
    "transaction_id": "txn_93c3f6dc-9c2c-46b0-89c5-1814cef4d0e4",
    "parent_transaction": "",
    "source": "bln_845bbf20-cc0c-41d2-810b-24f104f1cb8b",
    "destination": "bln_e92a1ba7-92c7-427c-8c8f-bfdca55c875d",
    "reference": "ref_04551509-d7d3-4eab-a1fd-2eb12809b5a4_q",
    "currency": "BTC",
    "description": "test",
    "status": "REJECTED",
    "hash": "",
    "allow_overdraft": false,
    "inflight": false,
    "created_at": "2025-02-08T13:36:42.748594Z",
    "scheduled_for": "0001-01-01T00:00:00Z",
    "inflight_expiry_date": "0001-01-01T00:00:00Z",
    "meta_data": {
        "blnk_rejection_reason": "failed to apply transaction to balances: insufficient funds in source balance"
    }
}

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.

To ask questions or discuss issues, please contact us or join our Discord community.

Love building with Blnk? We’d love to hear your feedback. Tell us here.