Transactions
Get transaction by reference
Retrieve a transaction by its reference with the Python SDK.
GET
Get transaction by reference
Use
blnk.transactions.get_by_reference to retrieve a transaction by reference.
Call the method
blnk.transactions.get_by_reference
| Field | Type | Description |
|---|---|---|
reference | str | Unique reference passed when the transaction was created. |
Use the transaction details
Use the returned transaction ID when you need to refund, update inflight status, or inspect lineage.
Response
200 OK
| Field | Type | Description |
|---|---|---|
transaction_id | str | Unique ID for the transaction. |
reference | str | Reference you queried. |
status | str | Current status of the transaction. |
Related docs
How transactions work
Money movement, statuses, and the transaction lifecycle.
Get transaction by reference
HTTP request and response schema.