Transactions
Get transaction by reference
Retrieve a transaction by its reference with the Go SDK.
GET
Get transaction by reference
Use
client.Transaction.GetByReference to retrieve a transaction by reference.
Call the method
client.Transaction.GetByReference
| Field | Type | Description |
|---|---|---|
reference | string | Unique reference passed when the transaction was created. |
Use the transaction details
Use
transaction.TransactionID when you need to refund, update inflight status, or inspect lineage.Response
200 OK
| Field | Type | Description |
|---|---|---|
transaction_id | string | Unique ID for the transaction. |
reference | string | Reference you queried. |
status | string | 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.