Hosted checkout, card fields on your own site, saved cards, recurring charges and holds, on a contract verified against the live API, with ready-made SDKs for PHP, TypeScript, Python and C# / .NET. Everything technical is here and public: you do not need an account to read it, or to try it.
1AvailableHosted checkoutCreate the payment and redirect to a ROKI page. No frontend work and no exposure to card data.
2AvailableEmbedded componentsROKI renders the card fields in an iframe on your own site, and your backend confirms with the amount at /v1/embed/confirm. The customer never leaves your page.
3AROKI enables itSaved cardsCharge a card the customer already saved, with them not present. Enabled per platform: until it is, the routes answer 422 tokenized_charge_disabled.
3ROKI enables itRecurring chargesA rec_* arrangement on a saved card, with merchant-initiated charges and no 3-D Secure. Enabled per platform, like saved cards.
4AvailableHosted FieldsYou build the whole payment page and ROKI hosts only number, expiry and CVV. Amount and customer are locked in a sale session your backend creates with sk_*.
Beyond a single charge
What the API offers besides taking a card, with the same key and the same rules.
Continue with Roki (OAuth)For partnersA partner connects merchants without asking for their secret key: Authorization Code with PKCE and per-area permissions. ROKI registers the application and issues a client id per environment.
Webhook APIAvailableCreate, read, pause, resume, test, rotate the secret and list deliveries, with the same sk_* key. One endpoint per environment.
HoldsAvailableReserve an amount for up to 30 days, the customer authorizes it with 3-D Secure, then you capture the full amount or release the hold.
Outstanding obligationsAvailableLook up Collections invoices and Education instalments by national id, RTN, student code or customer code, and charge the one the customer picks.
Automatic debitNeeds a templateEnrol a card with a 1.00 charge that is then voided, and it stays saved with the signed agreement.
For coding agents
If you integrate with a coding assistant, ROKI publishes a Model Context Protocol server carrying the same contract as this documentation, plus a validator and a sandbox that makes real calls using no key of yours:
claude mcp add --transport http roki-connect https://mcp.roki.la/mcp
The specification, this guide in markdown and an index for agents are published too.