VoidhashDocs
DevelopersHelp centerGuidesAPI reference
Dashboard
Get started
Introduction
Quickstart
How Voidhash works
Glossary
Versions and releases
Concepts
Teams, projects and environments
API keys
Products and perks
Offers
Subscription lifecycle
People and identity
Events
Features
Paywalls in your app
Feature flags and A/B tests
Paywall components
Push notifications
Ad attribution in your app
Client SDKs
React Native
Swift
Kotlin
Web
Your backend
Node.js
PHP
Go
Rust
Other languages
Payment sources
Forward store notifications
Developer tools
CLI
MCP server
Query analytics with VoidQL
MCP server
Tools
People and access
Catalog and payments
Paywalls
Flags and experiments
Analytics and ads
Webhooks and messaging
Projects, team and settings
Files and assets

Catalog and payments

MCP tools for products, perks, store product mappings, history imports and payment sources.

These tools let an agent manage what people buy and how purchases reach Voidhash: products, perks, store product mappings and payment sources.

Products and perks

Key access: Products; Entitlements for perks.

ToolWhat it does
list_productsProducts with their perks, store products, offer IDs and whether they can be bought.
create_productAdds a subscription, one-time or consumable product.
update_productRenames a product or changes its slug. Asks first for a new slug.
delete_productDeletes a product no store product is mapped to. Asks first.
list_perksPerks with the products that grant each.
create_perkAdds a perk.
set_product_perksMakes a product grant exactly the listed perks. Asks first when removing one.

Payment providers

Key access: Store credentials; Purchases to record, refund and cancel payment source purchases. Connecting the App Store, Google Play or Stripe happens in Studio or the CLI.

ToolWhat it does
list_payment_providersEach provider's health: enabled, store products read and mapped, purchases waiting.
test_payment_providerChecks saved credentials, or calls each payment source endpoint.
list_store_productsStore products with the product each is mapped to.
map_store_productMaps a store product to a product. Asks first when moving a mapping.
unmap_store_productRemoves a mapping. Asks first when it's active.
import_purchase_historyImports Stripe's or a payment source's earlier purchases in the background.
cancel_purchase_history_importStops a running import; what it recorded stays.
create_payment_sourceAdds a payment source and returns its signing secret once.
update_payment_sourceRenames, enables or disables a source, or changes its endpoints and secrets. Asks first when disabling, disconnecting or rotating.
delete_payment_sourceDeletes a payment source. Asks first.
record_payment_source_transactionRecords a charge or refund a payment source took. Asks first for a refund.
record_payment_source_subscriptionRecords a subscription's state at a payment source. Asks first when it ends access.
refund_payment_source_transactionRefunds a charge through the source's endpoint. Asks first.
cancel_payment_source_subscriptionCancels a subscription through the source's endpoint. Asks first.

Example

Add a yearly plan that grants premium, and map it to com.example.pro.annual.

The agent calls create_product, set_product_perks, then list_store_products and map_store_product.

Next steps

  • Products and perks: how products, perks and store products relate.
  • Payment providers (Help center): connect a store in Studio.
  • Paywalls: sell the products.

Something wrong or missing on this page? Tell us by email or on Discord.

PreviousPeople and accessNextPaywalls

On this page

Products and perksPayment providersExampleNext steps