Core concepts
This page defines the terms that the rest of the documentation uses. Each term links to the page that explains it in full.
See how the terms relate
Read what each term means
- Vendor. A reseller that creates and manages accounts for the businesses it serves. A vendor acts for its accounts with one API client of its own. See Create and act for sub-accounts.
- Account. A business that sells subscriptions through Black, either directly or under a vendor. All the data of a business belongs to its account. See Change your account's settings.
- Sub-account. An account that a vendor creates and acts for, with the
Black-Accountheader. It has its own environments, clients and data. See Create and act for sub-accounts. - Environment. A separate space inside an account, live or test, with its own data, API clients, keys and settings. Test data never meets live data. See Test with test clocks, then go live.
- API client and keys. An API client is a client ID and secret that your server exchanges for an access token, and the token reaches one environment only. A publishable key is an identifier that a page or app of yours sends instead of a secret. See Authentication and Manage an app's keys and origins.
- Product. What you sell, with the features it gives. You create a product before you price it. See Create a product.
- Price. The amount, the currency and the interval at which a customer pays for a product. A product has one or more prices. See Create a price.
- Customer. A person or business that an account sells subscriptions to. Black matches a customer by the details you give. See List, search and export customers.
- Subscription. A customer's agreement to pay a price on a schedule for a product. It renews each period until it is cancelled or ends. See Create a subscription and report its payments.
- Invoice. The statement of what a customer owes for a billing period or a one-off charge. Black creates an invoice for each period of a subscription. See Create a subscription and report its payments.
- Payment report. Your account's message to Black that it took the payment for an invoice. You send it as soon as you take the payment, and the invoice becomes
paid. See "Report each payment as soon as you take it" in Create a subscription and report its payments. - Entitlement. A feature that a customer holds because of an active subscription. Read what a customer holds instead of working it out yourself. See Check what a customer holds.
- Event. A record that Black makes when something changes, such as a paid invoice or a renewed subscription. See Events.
- Webhook endpoint. An address of yours that Black calls with each event of an environment, signed so that you can check it. See Webhooks.
- Test clock. A clock that holds the time of the customers on it in a test environment, so that you move it forward and test a renewal in seconds. See Test your integration with test clocks.
Know who does what
Black decides and records billing. It holds the products and prices, creates each invoice and its period, runs each renewal, grace and end at the right time, tells you what a customer holds, and records an event for each change.
Your account collects the money. It takes each payment from the customer through its payment gateway and reports the payment to Black. The payment gateway moves the money and keeps the card details.
Black never holds money or card numbers. A card number goes to your payment gateway and never to Black, and the money goes from the customer to your account and never through Black.
What to do next
- Make your first call in the quickstart.
- Test what you build in Test with test clocks, then go live.