Skip to content

Synopsis

gln [global-options] prepaid-topup --file <path>

Options

Argument or flagTypeRequiredDefaultDescription
--filepathyes-JSON file describing the prepaid mobile top-up to run.

Request file fields

FieldTypeRequiredDescription
source_ibanstringyesIBAN of the account the top-up is debited from.
source_bicstringyesBIC of the source account institution.
provider_codestringyesFinTS prepaid provider code (operator-specific).
mobile_numberstringyesMobile number to top up.
amountstringyesDecimal amount (e.g. "15", "15.00").

All fields must be JSON strings.

Description

Submits a prepaid mobile top-up via the FinTS backend resolved from the active profile. Wires gln_submit_prepaid_topup to the backend.

The backend may signal that a TAN is required before the top-up is accepted; in that case the response carries an action_required envelope with a saved continuation.

Status and exit codes

StatusExitMeaningContinuation
ok0Top-up accepted by the bank.-
action_required10Bank requires a TAN. The response envelope includes a resume_file path.Saved at resume_file.
error1Validation, transport, or backend error.-

See also