paydirt_finish_setup
Check a Paydirt setup session after user authorization, securely save credentials when ready, and return the host-app build, verification details, and post-verification delivery choice.
Instructions
Use this when the user has opened the authorization URL returned by paydirt_begin_setup. Checks one setup session and returns immediately. If pending, do not loop or sleep. When ready, securely saves credentials and returns the host-app build, visible verification, and post-verification delivery-choice contract.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | Existing Paydirt app ID, including the ID in a website setup handoff. Reconnect this exact app and reuse its saved Slack/delivery settings instead of creating another app. | |
| app_name | No | Preferred app name to reuse or create during setup | |
| bundle_id | No | Preferred iOS bundle ID to match during setup | |
| use_cases | No | Confirmed feedback experiences to install. The recommended plan is Suggest a Feature plus trial and paid cancellation when subscriptions exist. | |
| session_id | Yes | The session_id returned by paydirt_begin_setup. | |
| app_description | No | Optional app description to save when creating or repairing setup | |
| uses_revenuecat | No | Deprecated compatibility input. Prefer subscription_provider. | |
| feature_placement | No | Developer-confirmed placement for Suggest a Feature, such as settings or after_successful_export. Defaults to settings. | |
| form_plan_confirmed | No | Set true when the developer explicitly requested these voice forms or confirmed the proposed plan. An explicit installation request already confirms its scope; do not ask the same question again. Ask only when the requested forms or placement are ambiguous. | |
| subscription_provider | No | Subscription source of truth discovered in the host app. Use auto only when it could not be resolved before setup. | |
| subscription_product_ids | No | Native StoreKit auto-renewable product IDs. Required for a complete storekit integration. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | No | ||
| success | Yes |