Business Account API
This article was written mostly by AI and reviewed by the Hand2Note team.
Manage your Business Account from your own tools, from binding packages to purchasing subscriptions.
Table of Contents:
Authentication
Send your API key in the Authorization header of each request.
Authorization: Bearer <API_KEY>
Purchases and refunds are turned off until you turn on Allow purchases in My Account → API. Keep it off if you only bind packages: an exposed key then can’t spend your balance.
Bind a package
Bind one of your packages to a user by email.
POST https://api.hand2note.com/v1/packages/bind{
"packageId": "demo-hud",
"email": "player@example.com",
"validUntil": "2027-11-28"
}{
"packageId": "demo-hud",
"email": "player@example.com",
"validUntil": "2027-11-28",
"status": "active"
}packageIdThe Package Id of your package, the same one you enter in Bind License on the Packages tab.emailEmail of the user’s Hand2Note account. The user must already be registered.validUntilOptional. The last day the package works for the user, in YYYY-MM-DD format. Leave it out for a lifetime license. To change the date, bind the same package again.statusactive while the package works for the user, expired after validUntil has passed.Unbind a package
Remove a package from a user.
POST https://api.hand2note.com/v1/packages/unbind{
"packageId": "demo-hud",
"email": "player@example.com"
}{
"packageId": "demo-hud",
"email": "player@example.com",
"status": "unbound"
}statusAlways unbound, also when the package was not bound to this user.List bound packages
List the packages you have bound, newest first.
GET https://api.hand2note.com/v1/packages/bindings?packageId=demo-hud&page=1{
"items": [
{
"packageId": "demo-hud",
"email": "player@example.com",
"dateBound": "2026-11-28",
"validUntil": "2027-11-28",
"status": "active"
}
],
"page": 1,
"pageCount": 87
}packageIdOptional. Show only this package.emailOptional. Show only this user.statusOptional. Show only active or only expired bindings.pageOptional, 1 by default. A page holds up to 25 bindings; pageCount is the number of pages.validUntilnull for a lifetime license.Get your account
Get your Hand2Note balance and discount.
GET https://api.hand2note.com/v1/account{
"balance": 7240.50,
"currency": "USD",
"discountPercent": 35,
"activeSubscriptions": 540
}balanceYour Hand2Note balance. Purchases through the API are paid from it.discountPercentYour current discount. Prices returned by the API already include it.activeSubscriptionsNumber of users with a subscription you purchased that has not expired yet.Get a price
Get the price of a subscription with your discount applied.
GET https://api.hand2note.com/v1/prices?plan=PRO&months=1{
"plan": "PRO",
"months": 1,
"price": 31.85,
"currency": "USD"
}planPRO or LEARNER.months1 to 11 for months, or 12, 24 or 36 for whole years.priceThe amount a purchase takes from your balance.Purchase a subscription
Purchase a subscription for a user using your Hand2Note balance.
POST https://api.hand2note.com/v1/subscriptions/purchaseIdempotency-Key: order-1001
{
"email": "player@example.com",
"plan": "PRO",
"months": 1
}{
"orderId": 54820,
"price": 31.85,
"validUntil": "2026-12-29",
"balance": 7208.65
}emailEmail of the user who gets the subscription. If there is no Hand2Note account with this email, we create one and email the password to the user.plan, monthsSame values as in Get a price.Idempotency-KeyOptional header with any unique string of up to 100 characters. A repeated request with the same key returns the first order and is not charged again.validUntilThe day the subscription expires. If the user already has a subscription, the purchased time is added to it.balanceYour balance after the purchase.Purchase a database
Purchase a database for a user using your Hand2Note balance.
POST https://api.hand2note.com/v1/databases/purchaseIdempotency-Key: order-1002
{
"email": "player@example.com",
"database": "Live Poker Database"
}{
"orderId": 54821,
"price": 324.35,
"updatesUntil": "2027-11-28",
"balance": 6884.30
}emailEmail of the user who gets the database. An account is created the same way as in Purchase a subscription.databaseName of the database. Currently only Live Poker Database.Idempotency-KeyWorks the same way as in Purchase a subscription.updatesUntilThe user receives database updates until this day.List orders
List the subscriptions and databases you have purchased, newest first. To get a single order, request /v1/orders/{orderId}.
GET https://api.hand2note.com/v1/orders?email=player@example.com&page=1{
"items": [
{
"orderId": 54820,
"email": "player@example.com",
"product": "Subscription PRO, 1 month",
"datePaid": "2026-11-28",
"validUntil": "2026-12-29",
"price": 31.85,
"status": "paid"
}
],
"page": 1,
"pageCount": 22
}emailOptional. Show only orders for this user.from, toOptional. Show only orders paid within these dates, in YYYY-MM-DD format.pageOptional, 1 by default. A page holds up to 25 orders.validUntilThe day the subscription expires. For a database, the day its updates end.statuspaid or refunded.Refund an order
Refund an order to your Hand2Note balance. The request has no body.
POST https://api.hand2note.com/v1/orders/54820/refund{
"orderId": 54820,
"refunded": 31.85,
"balance": 7240.50,
"status": "refunded"
}Within 17 days of the payment, the whole price is refunded. After that, only the unused time is refunded, and only if this option is activated for your account. Contact our support team to activate it.
refundedThe amount returned to your balance.Errors
A failed request returns an HTTP error status and a JSON body with an error code and a message.
{
"error": {
"code": "user_not_found",
"message": "No Hand2Note account with this email."
}
}invalid_api_keyThe key is missing, wrong or was rotated.invalid_requestA field is missing or has a wrong value. The message says which one.rate_limit_exceededYou sent more than 120 requests per minute. Wait a minute and try again.user_not_foundThere is no Hand2Note account with this email.purchases_not_allowedAllow purchases is turned off in My Account → API.insufficient_balanceYour balance is lower than the price.order_not_foundYou have no order with this id.refund_not_allowedThe order is already refunded, or 17 days have passed and refunds for the unused time are not activated for your account.Frequently asked questions
Do I need a Business Account to use the API?
Yes. You get the API key in your Business Account. Anyone can open a Business Account—no need to contact our support team.
Where do I get my API key?
Go to My Account → API and click Copy API key.
What if the user has no Hand2Note account?
Binding a package fails with user_not_found, so ask the user to sign up first. Purchasing a subscription or a database creates the account and emails the password to the user.
How do I extend a package license?
Bind the same package again with a new validUntil.
Why do purchases fail with purchases_not_allowed?
Purchases and refunds are turned off until you turn on Allow purchases in My Account → API.
Do API purchases get my Business Account discount?
Yes. Prices returned by the API already include your discount.
Can I top up my balance through the API?
No. Click Top-up Balance on the Products tab of your Business Account.
Can a repeated request charge me twice?
Not if you send the Idempotency-Key header: a repeated purchase with the same key returns the first order and is not charged again. Binding and unbinding are safe to repeat.
Is there a request limit?
Yes, 120 requests per minute per API key. Above it, requests fail with rate_limit_exceeded until the minute passes.




