Skip to content
codebiy
← Tillroll

Support

Step-by-step help where the set-up stalls, short answers to what is asked most, and an address that reaches the developer, Orhan Ege Bilge, directly.

How do I make the API key?

Tillroll reads your sales reports from Apple with an App Store Connect API key. You make the key on Apple's website, bring its file to this device and enter it in Tillroll with two numbers.

Before you start

  • Keys are made on the website appstoreconnect.apple.com, in a browser: on a Mac, or in Safari on this device.
  • Only the Account Holder or an Admin of your team can make the key.
  • It has to be a team key. An individual key cannot read sales reports.

Make the key

Open App Store Connect

  1. Sign in at appstoreconnect.apple.com.
  2. Open Users and Access, then the tab Integrations.
  3. Choose App Store Connect API on the left, then Team Keys.
  4. The first time, the page may show “Request Access” instead. Only the Account Holder can press it: agree to the terms, then press Submit. Apple reviews each request.
  5. Press “Generate API Key”, or the add button (+) if the team has a key already.
  6. Give the key a name, for example Tillroll. The name is only for you.
  7. Under Access, choose “Sales and Reports”. A key with plain “Sales” access is refused.
  8. Press Generate.
  9. Press “Download API Key” next to the new key. The file's name starts with AuthKey_, then comes the Key ID, and it ends in .p8.
  10. Leave the file's name as it is: Tillroll reads the Key ID from it.
  11. Keep the file where you keep passwords. Apple offers it only once and keeps no copy. If it is lost, make a new key.

Bring the file to this device

The key file has to be on the device Tillroll runs on. There are three ways.

  • In Safari on this device: do the steps above here and download the file. Then choose it in Tillroll.
  • From a Mac with AirDrop: send the file to this device and save it to Files. Then choose it in Tillroll.
  • As text, if your Mac and this device share a clipboard: open the file on the Mac in a text editor, copy all of it, and press Paste in Tillroll.

Enter it in Tillroll

  1. In Tillroll, press “Connect to App Store”.
  2. Press “Choose the .p8 file” and pick the file. For copied text, press Paste.
  3. Key ID: Tillroll reads it from the file's name. For pasted text, copy it from the list of keys.
  4. Issuer ID: it is on the same page as the keys, above the list.
  5. Vendor number: it is on the page Payments and Financial Reports, top left, under your name.
  6. Press “Connect”. Tillroll asks Apple whether the key works, then fetches the last 30 days.

For a second account, the same form opens in Settings, under Connections, with “Add a connection”.

Where the key stays

The key is kept in the Keychain of this device and is sent nowhere. Tillroll only signs its requests to Apple with it. It is not synced, so a second device needs the same .p8 file again: keep the file. At Apple the key stays valid until you revoke it in App Store Connect.

If Apple refuses the key

Tillroll asks Apple about the key before it connects, and tells you what Apple answered. These three answers come up most.

  • “Apple refused the key (401).” The Key ID, the Issuer ID and the key file do not belong together, or the key was revoked. Compare the Key ID with the file's name, copy the Issuer ID again, and see that the key is still in the list of keys. A wrong date or time on this device causes this too: look at them in iOS Settings.
  • “This key cannot read sales reports (403).” The key is real, but its access does not reach the sales reports. Make a new team key with the access “Sales and Reports”. Plain “Sales” is not enough.
  • “An agreement is missing or has expired in App Store Connect (403).” The key is right. Apple holds the reports back until the agreement is accepted: open Business in App Store Connect, accept what waits there, then press “Connect” again.

A refusal of the vendor number (400), or a server error (500 and above) while connecting, points at the vendor number: Apple answers a wrong one that way.

How do I set up a route?

A route rings this device when something happens in one of your apps: a sale, a purchase, or news from App Store Connect. A ring is news of an event, not a settled amount.

Routes are made on the Bell tab, under Routes. The first time, press “Set up the bell”: Tillroll asks iOS for notifications and registers this device with the bell service.

The three kinds, and what each needs

  • Sale bell. One of your paid apps rings this device when a buyer opens it for the first time, within three days of buying it. Needs: one Swift file in the app, and a new version.
  • App Store notices. Apple rings this device when an in-app purchase, a subscription or a refund happens in one of your apps. Needs: one address entered in App Store Connect by the Account Holder, an Admin, an App Manager or Marketing. No new version.
  • Approval bell. App Store Connect rings this device when a version's state changes, when a build is processed and when TestFlight feedback comes. Needs: a webhook added in App Store Connect by the Account Holder, an Admin or an App Manager. It is part of Tillroll Pro and Tillroll Studio.

The free plan rings for one app: the app of your first route. Choose the app you most want to hear.

Make the route

  1. Have Xcode or App Store Connect within reach: the route's address is shown once.
  2. On the Bell tab, press “New route”.
  3. Choose the app.
  4. Choose the kind of bell, and its sound.
  5. Press “Make the route”.
  6. Copy the address or share it before you close the sheet. Tillroll does not keep it.

If the address is lost before it was used, delete the route and make a new one.

A coding assistant on your computer can do these steps for you: see “How do I set up routes with an assistant?” below.

Sale bell: where the address goes

Into the app itself, with the file SaleBell.swift. The file is the same for every app and holds no address: the address goes into the call.

  1. On the route's page, press “Share SaleBell.swift” and send the file to the Mac that has the app's project. AirDrop does it.
  2. In Xcode, add the file to the app's target, unchanged.
  3. Call SaleBell.ring(address:) once at launch, with the route's address between the quotes.
  4. Ship the version.

The file needs no dependency and does nothing before iOS 16. It sends once per install, some seconds after launch, and does not hold the app up.

The file's first line names its version. Today that is version 2, and its SHA-256 is:

45a8c529d576bf27963535e727bb536b736ea795d2653283acaba6cafa9ab399

Tillroll shows the same two on the sale route's page. Whoever hands you the file, compare before it goes into your app:

shasum -a 256 SaleBell.swift

Warning

Before you ship the sale bell

It rings only from the next version you ship. A buyer who installs that version and opens it within three days of buying rings once. Whoever bought the app more than three days before does not ring.

Your app then sends something to Tillroll's bell service: Apple's signed proof of its own purchase, and the country code of the store. No name and no account is in it. Look at your own app's privacy label and privacy policy before you submit the version.

To try it: a TestFlight build rings too, once for each tester, marked as a test and without a sound. A build run from Xcode does not ring.

App Store notices: where the address goes

Warning

Look first: is an address there already?

Apple keeps one Production Server URL and one Sandbox Server URL per app. If either field already holds an address (RevenueCat, Adapty, a server of your own), do not replace it, and leave the other field as it is too. The service behind that address would stop hearing of purchases.

Give the route's address to that service instead, where it forwards Apple's notifications: in RevenueCat the field “Apple Server Notification Forwarding URL”, in Adapty “URL for forwarding raw Apple events”. The bell rings only if the notification is passed on unchanged. A purchase in a TestFlight build shows whether it is.

If both fields are empty:

  1. In App Store Connect, open the app, then App Information.
  2. Go to App Store Server Notifications.
  3. Enter the route's address as the Production Server URL, with Version 2.
  4. Enter the same address as the Sandbox Server URL, with Version 2.

No new version is needed. To try it: a purchase in a TestFlight build arrives silently, marked as a test.

Approval bell: where the address goes

Into a webhook in App Store Connect. Tillroll's sheet shows the address and a secret, each with a button that copies it. Both are shown once: finish the webhook before you leave the sheet.

  1. In App Store Connect, open Users and Access, then Integrations, then Webhooks.
  2. Add a webhook (+).
  3. Fill in Name, Payload URL and Secret from Tillroll's sheet.
  4. Choose the app.
  5. Tick at least one event trigger, whatever should ring: an app version's status, a build upload's status, a beta build's status, new TestFlight feedback.

To try it: press “Test” on the webhook in App Store Connect. This device rings quietly with a test.

No ring yet?

A route that has not rung yet is not broken: it is waiting. A sale bell waits for the first buyer on a version that carries SaleBell.swift. App Store notices wait for Apple's first notice. The approval bell waits for the next change in App Store Connect. Once a route has rung, its page shows “Last ring”.

“Send a test ring” on the Bell tab tests this device and the bell service, not a route. “Apple took the test ring.” says that Apple accepted the ring for this device. It says nothing about a route's address. If no test ring came, look at Focus and at Tillroll's notifications in iOS Settings.

From 22:30 to 07:30 by this device's clock a route's ring arrives without a sound. A route that shows “Rings with Tillroll Pro” is held back by the plan, and rings again with Tillroll Pro or Tillroll Studio.

How do I set up routes with an assistant?

A coding assistant on your computer can make Tillroll's routes for you and write their addresses into App Store Connect, if it speaks the Model Context Protocol and can send a fixed header to a remote server. Tillroll gives it a code of its own. There is no login and no account with us: the code belongs to your bell account. An assistant acts on what a server tells it, so Tillroll's server tells it to show you what it is about to do and to wait for your yes.

Before you start

  • Tillroll is connected on your iPhone or iPad, and this device has a bell account. It gets one the first time you switch the bell on, with “On-time delivery” or “Set up the bell” on the Bell tab. The App Store Connect API key for the connection is made in the browser and carried to the device by you: see “How do I make the API key?” above. No assistant can do this part, and the key file must not pass through one.
  • To write at Apple, the assistant uses your own access to App Store Connect on your computer: an API key or a command-line tool you are signed in with. It takes a role that may edit the app. For the notification addresses Apple names Account Holder, Admin, App Manager or Marketing; for a webhook, Account Holder, Admin or App Manager. The key Tillroll reads sales with (“Sales and Reports”) stays on your device and is not enough for this. Without such access the assistant makes the routes and tells you which fields to fill in the browser.

Make the code

  1. In Tillroll, open the Bell tab, then “Bell account”, then “Code for an assistant”, and press “Make a code”. The row is there only on a device with a bell account, and only while the bell service has this part switched on. Before the code is made, iOS asks you to prove that it is you who holds the device.
  2. Copy the code and paste it on your computer where the line for your assistant asks for it, or press “Share both” and send the address and the code by AirDrop. The code is shown once.
  3. The code works for one hour and cannot be renewed; a new code ends the old one. When you are done, press “Revoke the code” on the same page.

Warning

Where the code must not go

Never put the code into a file of a repository, and never type or paste it into the conversation with the assistant. Revoke it when you are done.

Give it to your assistant

The address is https://bell.codebiy.com/mcp. The header is “Authorization: Bearer” followed by your code, which begins with tillroll_assistant_. In the lines below the code is typed into no command.

In a terminal, first:

read -s TILLROLL_ASSISTANT_CODE

Then paste the code and press Return. Nothing is shown, and the shell's history keeps this line and no code.

Claude Code, in the same terminal:

claude mcp add --transport http tillroll https://bell.codebiy.com/mcp --header "Authorization: Bearer $TILLROLL_ASSISTANT_CODE"

Gemini CLI, in the same terminal:

gemini mcp add --scope user --transport http --header "Authorization: Bearer $TILLROLL_ASSISTANT_CODE" tillroll https://bell.codebiy.com/mcp

With --scope user the line is kept in your home folder, not in the project's .gemini/settings.json, which is a file of the repository.

Codex CLI, in ~/.codex/config.toml:

[mcp_servers.tillroll]
url = "https://bell.codebiy.com/mcp"
bearer_token_env_var = "TILLROLL_ASSISTANT_CODE"

Then, in the same terminal, run “export TILLROLL_ASSISTANT_CODE” and start Codex from it.

VS Code, in the file that “MCP: Open User Configuration” opens:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tillroll-code",
      "description": "Tillroll: code for an assistant",
      "password": true
    }
  ],
  "servers": {
    "tillroll": {
      "type": "http",
      "url": "https://bell.codebiy.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:tillroll-code}"
      }
    }
  }
}

VS Code asks for the code when the server first starts and keeps it outside this file, so the file can be synced without it.

Cursor, in ~/.cursor/mcp.json, with your code in place of CODE:

{
  "mcpServers": {
    "tillroll": {
      "url": "https://bell.codebiy.com/mcp",
      "headers": {
        "Authorization": "Bearer CODE"
      }
    }
  }
}

This file is in your home folder; do not put the line into a project's configuration.

Windsurf (now Devin Desktop), for its Cascade agent, in ~/.config/devin/mcp_config.json, again with your code in place of CODE:

{
  "mcpServers": {
    "tillroll": {
      "serverUrl": "https://bell.codebiy.com/mcp",
      "headers": {
        "Authorization": "Bearer CODE"
      }
    }
  }
}

Then ask it, for example: “Set up Tillroll's App Store notices for my app Example Game.” It reads Apple's two fields first, shows you what is there and what it would write, and waits for your yes. It stops if another service's address is already there.

My assistant is not listed

Any assistant that connects to a remote server over Streamable HTTP and can send a fixed header works: give it the address and the header. Assistants that offer only a sign-in window for remote servers cannot connect yet; claude.ai, the Claude apps and ChatGPT are among them.

What it can and cannot do

It can list your routes, make a route of each kind, rename a route that was made with such a code and set its sound, delete a route it has just made by mistake (in its first 15 minutes, before it rang), send a test ring and read the bell's status. One code makes at most 10 routes.

It cannot see a sale or a report (the bell service has none), add, remove or see a device, set where rings are passed on, change your plan, erase the bell account, make the API key or carry the key file.

A route it makes rings your devices like any route, and its rings are passed on like any other. It stays after the code has ended, marked “Made by an assistant” under Routes, until you delete it.

The test ring is a real one: your devices sound, light up and show the newest day's slip, marked TEST. A code has two test rings an hour, and each device that rings counts as one. On the free plan it sets up the one app, and it is told when something needs Tillroll Pro, as the approval bell and a sound other than the till bell do.

The file an assistant adds to your app

For a sale bell the assistant adds one Swift file, SaleBell.swift, to your app and calls it with one line. The file is the same for every app and holds no address. Its version and its SHA-256 stand above, under “Sale bell: where the address goes”, and Tillroll shows the same two on the sale route's page. Look at the file before it goes into your app, and compare.

Warning

Two things an assistant never gets

The bell account's code (the 43 characters under “This device's code”) and the content of your .p8 key file. If an assistant asks for either, say no.

If the bell account's code did get into an assistant's configuration, a file or a conversation, take it out there. That code cannot be changed: the only way to end it is “Erase everything on the bell service” on the bell account's page, which also deletes the routes, so every address has to be made and entered again.

What is RevenueCat's estimate in “Today so far”, and why does it differ from Apple's slip?

If your apps use RevenueCat, Tillroll can show RevenueCat's estimate of today's App Store proceeds on the open slip “Today so far”, above your slips from Apple. RevenueCat hears of a purchase when it happens; Apple's report comes the next morning and stays the record. The estimate is printed with “≈”, for a UTC day and with its time, and it is in no total.

Who gets it

The open slip and its rings are for everyone who has set up the bell. RevenueCat's estimate on it is part of Tillroll Pro and Tillroll Studio. It adds no connection and uses no place in your plan.

Connect RevenueCat

  1. In Tillroll, open Settings, then Connections, then your connection. Under “RevenueCat's estimate”, press “RevenueCat”.
  2. Read the sheet and press “Continue to RevenueCat”.
  3. Sign in on RevenueCat's own page and choose the projects there. Tillroll asks to read charts and the names of your projects. It can change nothing in RevenueCat.
  4. Back in Tillroll, with several projects, choose the ones whose apps belong to this connection.

It needs a RevenueCat sign-in that can open the project. The sign-in is kept in this device's Keychain, and this device asks RevenueCat directly. Nothing changes for your own app or its privacy label.

Why the two differ

  • RevenueCat's day runs by UTC, Apple's by Pacific Time.
  • RevenueCat estimates Apple's share and the taxes; Apple reports them.
  • RevenueCat counts a refund on the day it happens.

So nothing is corrected and nothing is merged. Apple's slip is printed as always. For seven days one line under it shows RevenueCat's estimate for the same date, with “Why do they differ?”.

When the plan ends

The sign-in stays on this device and nothing is deleted, but nothing is asked of RevenueCat and the estimate is not shown. When the plan is back, it returns by itself. RevenueCat ends a sign-in after 30 days without use; the row then says “Sign in again”.

Sign out, and revoke at RevenueCat

“Sign out” is on the connection's page, in the same group. It deletes the sign-in from this device and takes RevenueCat's estimate off the open slip; removing the connection does the same. At RevenueCat the sign-in stays listed until you revoke it there: Account, Security, Active OAuth tokens.

Tillroll is not affiliated with RevenueCat.

My slip has not come.

A slip is one day of sales, and it comes from Apple. Apple publishes a day's report the next morning, Pacific Time. Depending on where you are, that is your afternoon, your evening or your night.

When it is due

  • The roll shows the time in this device's own time: “Next slip around …”.
  • Before that time the roll says “Apple has not published … yet.” Nothing is wrong.
  • After that time the roll says “The slip for … was due around …”. Apple is late, and the slip comes with the next check.
  • Pull down on the roll to ask Apple again.

The first time you connect, Tillroll fetches the last 30 days. That takes about a minute, and the figures are printed when every day is in.

A day without sales

A day without sales has its slip on the roll too, but Tillroll sends no notification for it. To hear of those days as well, switch on “Also on days without sales” on the Bell tab.

What on-time delivery does

Without it, Tillroll looks for a new slip while it is open, and in the background when iOS lets it. With Background App Refresh switched off, only while it is open.

With “On-time delivery” on, the bell service rings this device when the day's report is due, also while Tillroll is closed, and the device then fetches the slip from Apple.

It does not make Apple publish sooner, and the service does not know whether Apple has published. If Apple is late, the slip follows with the next check. With notifications on, Tillroll shows a silent reminder three hours after the slip was due: “No word on yesterday's slip yet. Tap to check.”

Quiet hours

From 22:30 to 07:30 by this device's clock nothing sounds: a ring from the bell service arrives silently, and a notification Tillroll makes itself waits until 08:00. A test ring is not held back by them. The hours are fixed: there is no setting for them.

The slip came, but nothing sounded

  • On the Bell tab, “Ring when a slip arrives” has to be on.
  • A Focus, such as Do Not Disturb or Sleep, holds notifications back. Switch it off, or allow Tillroll in it.
  • In iOS Settings, under Notifications, Tillroll must be allowed to show notifications and to play sounds. If iOS does not allow it, the Bell tab says so and offers “Open iOS Settings”.
  • Silent mode mutes the bell too.
  • It was a day without sales, or the slip came in the quiet hours.

When to write

Write if a slip has still not come a day after it was due and pulling down does not bring it, or if the roll shows a message you cannot act on. Copy the roll's sentence into the mail as it stands. The address is at the foot of this page.

Where does my data live?

On your device. Each App Store Connect API key is stored in the iOS Keychain, on this device only, and is not synced to iCloud Keychain. Your reports come from Apple straight to the device and stay on it and in its backup. The developer never sees your keys or your reports.

How many accounts can I connect?

Each API key with its vendor number is a connection. Free holds 1, Tillroll Pro 3 and Tillroll Studio 10. Add one in Settings, under Connections, with “Add a connection”. All of them print on one roll: a day's slip has a section for each and one total, and a menu shows one alone. When a plan ends you choose which connections stay active; a paused connection keeps its slips and fetches no new ones.

What is “Today so far”?

An open slip at the top of the roll, for everyone who has set up the bell. It lists the day's rings as this device records them. A ring is news of one event, not a settled amount: the day's slip from Apple follows the next morning.

What does the bell service keep?

Nothing until you switch the bell service on, with “On-time delivery” or “Set up the bell” on the Bell tab. Then it keeps this device's push address and when it last registered, under a random code with no name and no email address, and for each route what it needs to ring it. Only if you use them, it also keeps a forwarding destination, a few facts about your plan's purchase (such as when it ends, and a hash of its id) and, for a code for an assistant, a hash of the code, its dates and how many routes it made. It never sees your keys or your reports. A route passes single purchases through the service, which keeps none of them, only a mark that it rang. The privacy policy lists all of it.

How do I remove a connection and delete the bell account?

“Remove connection” is in Settings, under Connections, on the connection's own page. It deletes the key from the Keychain and asks whether to delete the stored reports as well. “Erase everything on the bell service” is on the Bell tab, under Bell account. Switching the bell off removes this device from the bell service. Erasing everything deletes every device and every route of the bell account and removes its code from this device. Do this before you delete the app: deleting the app does not tell the bell service.

How do I restore a purchase?

In Settings, open Plan and tap “Restore purchases”, signed in with the Apple Account that bought it. Tillroll Pro and Tillroll Studio are sold by Apple; the app learns from Apple only whether the purchase is valid for you.

How do I cancel a subscription?

Subscriptions are billed and cancelled by Apple. In Settings, open Plan and tap “Manage subscription”, or open the iOS Settings app, tap your name, then Subscriptions. Buying the lifetime purchase does not end a running subscription: cancel it separately.

Write to the developer

Include your iPhone or iPad model, the iOS and app versions, and the steps that led to the problem. Do not send your API key, a .p8 file or the bell account's code.

[email protected] Read the privacy policy