Skip to main content

linkTransactionToGoal

Link or unlink a transaction to/from a savings goal.

When goal_id is provided: Links the transaction, automatically determining the event type. When goal_id is null: Unlinks the transaction by removing any existing goal event.

linkTransactionToGoal(
input: LinkTransactionToGoalInput!
): LinkTransactionToGoal

Arguments

linkTransactionToGoal.input ● LinkTransactionToGoalInput! non-null input

Type

LinkTransactionToGoal object

Link or unlink a transaction to/from a savings goal.

When goal_id is provided: Links the transaction, automatically determining the event type. When goal_id is null: Unlinks the transaction by removing any existing goal event.