Partner apps are installable integrations that Flint merchants connect to your product. The surface has three parts: register and manage the app, send merchants through the hosted OAuth install flow, and exchange the returned authorization code for install access tokens scoped to that merchant.
An app declares a permission manifest (named permission groups that map to Flint API scopes), and merchants review and approve those permissions during install. Each install records per-environment grants you can inspect and revoke individually or all at once. The app's client_secret is returned only at creation and rotation, and a partner app can register its own webhook endpoint to receive install lifecycle events.
The Partner app installs guide covers the end-to-end flow from registration through token exchange. For a merchant's own webhook endpoints on regular resources, see the webhooks reference instead.
Merchant install access#
Call GET /v1/developer/partner/installs with developer.partner_apps.read to list the apps installed by your selected merchant, including each install's environment grants. The list includes revoked installs. It does not include other merchants' installs, even if you own the app.
curl https://api.withflintpay.com/v1/developer/partner/installs \
-H "Authorization: Bearer $FLINT_API_KEY"
Use the returned partner_app_id and partner_app_install_id with GET /v1/developer/partner/apps/{partner_app_id}/installs/{partner_app_install_id} to inspect one install. The installing merchant and the app owner can both read it.
The installing merchant or app owner can call POST /v1/developer/partner/apps/{partner_app_id}/installs/{partner_app_install_id}/revoke to revoke the install and all its environment grants, or POST /v1/developer/partner/apps/{partner_app_id}/installs/{partner_app_install_id}/environment-grants/{environment_grant_id}/revoke to revoke one environment. These writes require a live external API key with developer.partner_apps.write. Revocation invalidates the affected access and refresh tokens and stops installed-merchant events authorized by those grants. It leaves the app owner's settings unchanged.
