Docs

Documentation

Everything Montvo gives a developer, from a tag you paste once to an API you call from your own server. Start with whichever describes what you have built.

On this page

The two keys

Every call is authenticated with Authorization: Bearer … and one of two keys. They are not interchangeable, and the difference is the whole of the security model.

Site keySecret key
Looks likepk_live_…sk_live_…
Lives inA public page, where anyone can read it.Your server, and nowhere else.
Can doCreate links, through one endpoint.Everything: links, stats, payouts, account.
Limit3,000 calls a minute600 calls a minute
If it leaksA stranger can make links that pay you. Rotate it if you would rather.Rotate it immediately.

One live key of each kind

Minting a new key revokes the one it replaces, there and then. A secret key is shown once and never again; a site key stays readable on the Developers screen, because it is published anyway.

What the REST API covers

Everything below is served from https://montvo.com/api/v1 and takes a secret key. Each one is written out on the reference. Your keys, and a live log of every call made with them, are on the Developers screen.

MethodPathWhat it does
POST/linksMake a paid link.
GET/linksList yours, newest first.
GET/links/:slugOne link.
DELETE/links/:slugRemove one, and its history.
GET/links/:slug/statsUnlocks and earnings, by window.
GET/unlocks/:tokenWhether one visitor finished.
POST/unlocks/:token/claimThe same, and only once.
GET/unlocksFinished trips under one reference.
GET/payoutsBalance and what has been sent.
GET/meWho the key belongs to.

Webhooks

Point one HTTPS endpoint at your server and Montvo posts to it as things happen. Every delivery is signed with an HMAC over the timestamp and the body together, so a captured delivery cannot be replayed at you later.

  • link.createda link is created. From the dashboard, the API or your site script.
  • unlock.recordedan unlock is paid. Thousands a day on a busy link.
  • payout.sentyour payout is sent. Every Friday, once the BTC is on its way.
  • referral.joinedsomeone joins with your link. A new creator under your referral link.

The payloads and the signature check are on the reference; the endpoint itself, its secret and the event picker are on the Developers screen.

Limits, and what is kept

Figure
Calls a minute, secret key600
Calls a minute, site key3,000
Addresses per script call50
Request log kept7 days
Webhook delivery log kept7 days
Something here wrong, or missing?Tell us →