Transactions
Get transaction lineage
See how a transaction’s spend was allocated across providers with the TypeScript SDK.
GET
Get transaction lineage
Use
blnk.Transactions.getLineage to inspect a transaction’s fund breakdown.
blnk.Transactions.getLineage
| Field | Description |
|---|---|
transactionId | Transaction ID with fund lineage enabled. |
Response shape
200 OK
| Field | Description |
|---|---|
transaction_id | Transaction you queried. |
fund_allocation | How much of the spend came from each provider. Amounts are strings in minor units. May be empty when no tagged funds were used. |
shadow_transactions | The internal records Blnk creates to track each provider’s share of the spend. May be empty. |
Related docs
Fund lineage
Tagged funds, allocation strategies, and shadow transactions.
View transaction lineage
HTTP request and response schema.