Skip to content

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

GLN_API gln_status_t GLN_CALL gln_get_ebics_service_map_preset_json(
    const char*  in_preset_name,
    char**       out_service_map_json,
    gln_error_t* out_error);
  • Family: EBICS helpers
  • Return type: gln_status_t

Purpose

Returns the JSON service-map definition for a named EBICS preset.

Use this helper when constructing setup/profile flows that need a stable EBICS service-map preset without embedding preset JSON in the caller.

Return

Returns GLN_OK on success and a non-OK gln_status_t value on failure.

TypeNullabilityOwnership
gln_status_tvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_preset_nameinputconst char*nonnullborrowed
out_service_map_jsonoutputchar**nonnulltransferred_out
out_erroroutputgln_error_t*nullablecaller_allocated_output

Presets

dkb returns the built-in DKB service map with statement, balance, credit-transfer, and direct-debit descriptors.

Unsupported preset names return GLN_ERR_NOT_SUPPORTED, populate out_error when provided, and leave *out_service_map_json as NULL.

Ownership

On success, out_service_map_json receives a caller-owned NUL-terminated JSON string. Release it with gln_release_string.

The returned JSON is suitable for profile/setup code that stores or passes a service-map payload to an EBICS configuration layer.

See Also