Transactions
Get transaction lineage
See how a transaction’s spend was allocated across providers with the Go SDK.
GET
Get transaction lineage
Use
client.Transaction.GetLineage to inspect a transaction’s fund breakdown.
Call the method
client.Transaction.GetLineage
| Field | Type | Description |
|---|---|---|
transactionID | string | Transaction ID with fund lineage enabled. |
Use the provider breakdown
Read
lineage.FundAllocation for how much came from each provider. Read lineage.ShadowTransactions for the internal records Blnk created to track each provider’s share.Response
200 OK
| Field | Type | Description |
|---|---|---|
transaction_id | string | Transaction you queried. |
fund_allocation | object[] | 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 | object[] | 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.