GALANTHUS / ABI FUNCTION REFERENCE
gln_get_transaction_status
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const char* GLN_CALL gln_get_transaction_status(const gln_transaction_t* in_transaction);
Purpose
Returns the transaction status stored on the row.
Return
Returns the transaction status stored on the row. MT940/CAMT and FinTS 4.1 parsing normalize known status values where mappings exist; FinTS 4.1 can preserve other response status text, and provider plugins can expose provider state strings.
| Type | Nullability | Ownership |
|---|---|---|
const char* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_transaction | input | const gln_transaction_t* | nullable | borrowed |
Transaction Semantics
Returns the transaction status stored on the row. MT940/CAMT and FinTS 4.1 parsing normalize known status values where mappings exist; FinTS 4.1 can preserve other response status text, and provider plugins can expose provider state strings.
Common values include booked, pending, and info from MT940/CAMT/FinTS-style parsing, retained Revolut transaction states, and Wise completed. Treat the value as an open string.
Notes
Passing NULL for in_transaction is allowed and returns NULL.
Rows returned by the matching _at accessor carry this field as part of the materialized typed result.
The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.