kiln_spend_caps_confirm_change
Confirm a pending spend cap change with the challenge ID and the person's six-digit authenticator code, completing step 2 of 2 and returning the new caps.
Instructions
Confirm a cap change with the person's six-digit code (step 2 of 2).
Args:
challenge_id: From ``kiln_spend_caps_request_change``.
totp_code: The six-digit code the PERSON reads from their own
authenticator app. Never produce or guess it.
Returns the new caps on success. A refusal names its case: a
wrong code (they may try again within the daily limit), a
challenge that expired or was already used (ask again from step
1), no authenticator set up on the account, or too many attempts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totp_code | Yes | ||
| challenge_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||