Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io
    Store setup
    iOS
    Beginner
    39 min

    Connect the App Store to BillDog

    To connect the App Store to BillDog, create your subscriptions in App Store Connect, generate an In-App Purchase key, and enter it with your Issuer ID, Bundle ID and Apple ID under Project Settings → Store Setup. Once Apple confirms the app is yours, paste your project's notification URL into App Store Server Notifications (Version 2), then add the products in BillDog and attach them to an entitlement.

    Steps last checked against the SDK source on 15 Nov 2026.

    What you'll build

    • Subscription products in App Store Connect
    • An Apple App Store connection in BillDog that Apple has confirmed as yours
    • App Store Server Notifications V2 sent to your project for production and sandbox
    • Products in BillDog that unlock a premium entitlement through an offering

    What you'll need

    • An Apple Developer Program membership and an app record in App Store Connect
    • The Account Holder or Admin role in App Store Connect (only those roles can generate the keys below)
    • A BillDog project you own (only the project owner can save store credentials; sign up)

    1. Activate the Paid Apps agreement

    3 min

    Apple sells in-app purchases only for accounts with an active Paid Apps agreement. In App Store Connect, open Business (Agreements, Tax, and Banking), accept the Paid Apps agreement, and add your bank account and tax forms.

    Until the agreement is active, StoreKit returns no products, even in the sandbox. See Apple's guide to signing and updating agreements.

    2. Create a subscription group and products

    10 min
    1. In App Store Connect, open your app and go to Subscriptions.
    2. Create a subscription group, for example Premium. A user can hold only one subscription per group at a time.
    3. Add the subscriptions inside the group, for example a monthly and a yearly plan. Give each a Product ID such as com.example.app.premium.monthly.
    4. Set the duration, price and the localized display name for each one.
    5. Complete each product: price, at least one localization and the review screenshot. Its status should reach Ready to Submit. A product still in Missing Metadata usually returns nothing from StoreKit.
    6. For one-time purchases, use In-App Purchases instead and choose Consumable or Non-Consumable.

    Write down each Product ID exactly. BillDog matches purchases to your catalog by this ID, and you cannot reuse a Product ID once it is created.

    3. Find your identifiers and create an In-App Purchase key

    5 min

    BillDog needs three identifiers to ask Apple about this exact app:

    • Bundle ID: your app's bundle identifier, such as com.example.app.
    • Apple ID: the number under your app → General → App Information → Apple ID. Store notifications are checked against it.
    • Issuer ID: shown at the top of Users and Access → Integrations. It is the same for every key on your team.

    Then create the key BillDog uses to verify purchases:

    1. Go to Users and Access → Integrations → In-App Purchase.
    2. Click +, name the key (for example BillDog) and confirm.
    3. Copy the Key ID shown next to the new key.
    4. Download the .p8 file. Apple lets you download it only once, so store it safely.

    Optional: to import your catalog with one click, also create an App Store Connect API key (Users and Access → Integrations → App Store Connect API, access App Manager or Admin). Only the Sync products button uses it. It is a different key, and Apple refuses it for purchase verification. You do not need an app-specific shared secret: that belongs to Apple's legacy verifyReceipt endpoint, which BillDog does not use.

    4. Enter the credentials in BillDog

    5 min

    In the dashboard, open Project Settings → Settings, choose the Store Setup tab and find the Apple App Store card. It has two parts, each with its own save button.

    1. Fill in Issuer ID, Bundle ID and Apple ID (App Information). If you made the optional App Store Connect API key, also fill in Key ID and Private Key (.p8 contents) with that key; otherwise leave both blank. Click Save & Verify.
    2. In the In-App Purchase key section below, enter In-App Purchase Key ID and paste the .p8 file into In-App Purchase Private Key (.p8 contents), including the BEGIN and END lines. Click Save In-App Purchase key.

    BillDog then asks Apple to send a test notification for your bundle ID with that key. When Apple answers, the card shows your bundle ID as proven yours by App Store, with the date. That proof is what lets BillDog record this app's purchases.

    If the first save shows App Store verification failed and asks you to add the Issuer ID and the In-App Purchase key, that is expected: save the key in the second part. Purchases made before the app is proven are kept and applied automatically once it is.

    5. Send App Store Server Notifications to your project

    3 min

    Apple tells BillDog about renewals, refunds, expirations and billing retries through server notifications. Once the app is proven, the Apple App Store card shows App Store Server Notifications URL (Version 2) with a copy button. Each project has its own URL, ending in ?r= and your project's route key.

    1. Copy the URL from the Apple App Store card.
    2. In App Store Connect, open your app → General → App Information and scroll to App Store Server Notifications.
    3. Set Production Server URL to your URL and choose Version 2.
    4. Set Sandbox Server URL to the same URL and choose Version 2.
    5. Click Save.

    Sandbox and TestFlight purchases notify only the Sandbox Server URL. Leave it empty and BillDog never hears about sandbox renewals, refunds or expirations. The bare https://api.billdog.io/v1/webhooks-apple without ?r= refuses every notification.

    6. Add the products, an entitlement and an offering

    8 min

    BillDog's catalog needs a product for each App Store product. Pick one of two ways:

    • Sync: if you saved the App Store Connect API key, click Sync products on the Apple App Store card. Then open Monetization → Synced Products, select the products and click Import.
    • By hand: open Monetization → Products, click New Product, set Product Kind to Store, fill in Product Identifier, Display Name and Product Type (plus Subscription Duration for a subscription), and enter the App Store Product ID exactly as in App Store Connect.

    Next, give the products something to unlock and something to sell them in:

    1. Open Monetization → Entitlements, click New Entitlement, use the identifier premium, and tick your products under Product Mapping. A purchase of a product with no entitlement unlocks nothing.
    2. Open Monetization → Offerings, click New Offering (for example default), and tick Mark as current offering.
    3. After you create the offering, BillDog opens its editor: click Add Product, tick a product, type a Package Identifier such as monthly, click Add Package, and repeat for each plan, then Save Changes.
    4. Open Monetization → Placements, create a placement such as onboarding, link the offering and mark it Default, as in the iOS paywall codelab.

    If a purchase arrives for a Product ID BillDog doesn't know, it registers the product automatically, and the Products page warns that it is not linked to any entitlement. Mapping an entitlement then grants access to past buyers too.

    7. Verify the connection

    5 min

    Check these three signals on the Apple App Store card:

    • The proof line names your bundle ID as proven yours by App Store.
    • The notification section shows your URL. Under it, Last notification shows a time once Apple sends the first one; before that it reads No notification received yet.
    • If you synced, your products appear under Monetization → Synced Products.

    A sandbox purchase is the quickest way to trigger the first notification. Follow Test real App Store purchases in the sandbox next, then show your first paywall.

    Frequently asked questions

    No. The shared secret is for Apple's legacy verifyReceipt endpoint, which BillDog does not use. BillDog verifies purchases with the App Store Server API and your In-App Purchase key.

    The In-App Purchase key is required: BillDog uses it to prove the app is yours, verify purchases and sign promotional offers. The App Store Connect API key is optional and only powers the Sync products button that imports your catalog. Apple does not accept one in place of the other.

    The URL ends in a route key that tells BillDog which project and app a notification belongs to. The URL without that key is refused, so copy the exact URL from the Apple App Store card and use it for both the Production and Sandbox Server URL, each set to Version 2.

    They are kept, and the card counts them as waiting for the app to be proven. Once Apple confirms the app is yours, BillDog applies them automatically.

    Reference

    Ship it on a free project

    Create a project, grab your SDK key and follow along. Sandbox purchases and data stay separate from production, so test transactions never mix with real revenue.

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.