Skip to content

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

GLN_API int GLN_CALL gln_check_backend_operation_support(
    gln_backend_t*          in_backend,
    gln_backend_operation_t in_operation);
  • Family: Backend capability helpers
  • Return type: int

Purpose

Reports whether an opened backend supports one backend operation enum value.

Return

Returns 1 when the backend kind supports in_operation; returns 0 otherwise.

TypeNullabilityOwnership
intvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_backendinputgln_backend_t*nullableborrowed
in_operationinputgln_backend_operation_tvaluevalue

Capability Scope

These helpers expose static C API operation/backend-kind support from the operation table declared in operation_descriptor.hpp.

They do not check live bank entitlements, account product availability, user permissions, bank parameter data for a specific session, or whether a particular request will succeed.

When a statically supported operation is rejected by the provider or an account product is unavailable, the operation reports that through the gln_backend_result_t envelope outcome, status, and error details.

Operation Table

Enum valueStable stringFinTSEBICSRevolutWise
GLN_BACKEND_OPERATION_ADD_STANDING_ORDERadd_standing_orderyesnonono
GLN_BACKEND_OPERATION_DELETE_STANDING_ORDERdelete_standing_orderyesnonono
GLN_BACKEND_OPERATION_EBICS_DOWNLOAD_BANK_KEYSebics_download_bank_keysnoyesnono
GLN_BACKEND_OPERATION_EBICS_GENERATE_HIA_BRIEFebics_generate_hia_briefnoyesnono
GLN_BACKEND_OPERATION_EBICS_GENERATE_INI_BRIEFebics_generate_ini_briefnoyesnono
GLN_BACKEND_OPERATION_EBICS_KEY_STATUSebics_key_statusnoyesnono
GLN_BACKEND_OPERATION_EBICS_RESET_BANK_KEYSebics_reset_bank_keysnoyesnono
GLN_BACKEND_OPERATION_EBICS_RESET_CLIENT_KEYSebics_reset_client_keysnoyesnono
GLN_BACKEND_OPERATION_EBICS_SEND_HIAebics_send_hianoyesnono
GLN_BACKEND_OPERATION_EBICS_SEND_INIebics_send_ininoyesnono
GLN_BACKEND_OPERATION_EBICS_SUPPORTED_VERSIONSebics_supported_versionsnoyesnono
GLN_BACKEND_OPERATION_EBICS_VERIFY_BANK_KEYSebics_verify_bank_keysnoyesnono
GLN_BACKEND_OPERATION_GET_TAN_MODESget_tan_modesyesnonono
GLN_BACKEND_OPERATION_INFOinfoyesnonono
GLN_BACKEND_OPERATION_LIST_ACCOUNTSlist_accountsyesyesnono
GLN_BACKEND_OPERATION_LIST_BALANCESlist_balancesyesyesnono
GLN_BACKEND_OPERATION_LIST_HOLDINGSlist_holdingsyesnonono
GLN_BACKEND_OPERATION_LIST_STANDING_ORDERSlist_standing_ordersyesnonono
GLN_BACKEND_OPERATION_LIST_TAN_MEDIAlist_tan_mediayesnonono
GLN_BACKEND_OPERATION_LIST_TRANSACTIONSlist_transactionsyesyesnono
GLN_BACKEND_OPERATION_MODIFY_STANDING_ORDERmodify_standing_orderyesnonono
GLN_BACKEND_OPERATION_RESUMEresumeyesnonono
GLN_BACKEND_OPERATION_REVOLUT_CREATE_PAYMENT_DRAFTrevolut_create_payment_draftnonoyesno
GLN_BACKEND_OPERATION_REVOLUT_CREATE_RECIPIENTrevolut_create_recipientnonoyesno
GLN_BACKEND_OPERATION_REVOLUT_DELETE_PAYMENT_DRAFTrevolut_delete_payment_draftnonoyesno
GLN_BACKEND_OPERATION_REVOLUT_DELETE_RECIPIENTrevolut_delete_recipientnonoyesno
GLN_BACKEND_OPERATION_REVOLUT_GET_PAYMENT_DRAFTrevolut_get_payment_draftnonoyesno
GLN_BACKEND_OPERATION_REVOLUT_LIST_PAYMENT_DRAFTSrevolut_list_payment_draftsnonoyesno
GLN_BACKEND_OPERATION_REVOLUT_LIST_RECIPIENTSrevolut_list_recipientsnonoyesno
GLN_BACKEND_OPERATION_SET_TAN_MODEset_tan_modeyesnonono
GLN_BACKEND_OPERATION_SUBMIT_BATCH_TRANSFERsubmit_batch_transferyesyesnono
GLN_BACKEND_OPERATION_SUBMIT_DIRECT_DEBITsubmit_direct_debityesyesnono
GLN_BACKEND_OPERATION_SUBMIT_DIRECT_DEBIT_BATCHsubmit_direct_debit_batchyesyesnono
GLN_BACKEND_OPERATION_SUBMIT_INSTANT_TRANSFERsubmit_instant_transferyesnonono
GLN_BACKEND_OPERATION_SUBMIT_PREPAID_TOPUPsubmit_prepaid_topupyesnonono
GLN_BACKEND_OPERATION_SUBMIT_TRANSFERsubmit_transferyesyesnono

Return Convention

The function returns 1 when the backend kind supports in_operation and 0 otherwise.

A NULL backend returns 0. GLN_BACKEND_OPERATION_UNKNOWN and enum values outside the operation table also return 0.

Operation Mapping

Support is keyed by gln_backend_operation_t. Use gln_get_backend_operation_name and gln_parse_backend_operation_name when converting between enum values and stable operation-name strings.

See Also