Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API const char* GLN_CALL gln_get_account_number(const gln_account_t* in_account);
  • Family: Row field accessors
  • Return type: const char*

Purpose

Returns the account number.

Return

Returns the national account number or provider account ID stored on the row. FinTS account rows use the account-number component; some providers expose a provider account identifier instead of a national account-number component.

TypeNullabilityOwnership
const char*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_accountinputconst gln_account_t*nullableborrowed

Account Identity

Returns the national account number or provider account ID stored on the row. FinTS account rows use the account-number component; some providers expose a provider account identifier instead of a national account-number component.

An empty string means the source row did not provide this field. The pointer itself is non-null for a valid row.

Notes

Passing NULL for in_account 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.

See Also