Create a prepaid recurring payment agreement with an app party. The client locks funds upfront for a fixed period, enabling subsequent pay-outs without additional on-chain approvals.
Invoked through the two-phase transaction flow with:
operation = TRANSACTION_OPERATION_REQUEST_RECURRING_PREPAID
params.request_recurring_prepaid = RequestRecurringPrepaidParams { β¦ }
Params
Party ID of the app receiving the recurring payments.
Payment amount per cycle.
Amount of Canton Coin locked upfront as prepayment.
How many days the prepayment remains locked.
Maximum total amount the app can draw over the lifetime of the agreement.
Human-readable description.
Client-supplied reference.
See also
RequestRecurringPayasyougo β alternative flow with no upfront lock.
GetAmulets β pick amulets that satisfy locked_amount.
GetAgentConfig β read subscription_app_party and recurring_payment_package_name for the providerβs recurring-payment setup.