roki_search_docs
Search ROKI Connect documentation
Search the official ROKI Connect corpus (integration guide, API operations and schemas) and return ranked excerpts. Use this first when you need any ROKI-specific fact. Never answer a ROKI question from memory or from another payment gateway's conventions.
輸入參數limitquery必填
roki_get_doc_section
Read a section of the ROKI Connect guide
Return the complete text of one section of the integration guide, by number (e.g. "14"), sub-number ("12.1") or title fragment ("webhook").
輸入參數ref必填
roki_list_operations
List ROKI Connect API operations
List every operation the API actually exposes, plus the operations that are documented as NOT existing. Call this before writing any integration code so you never invent an endpoint.
無需輸入參數。
roki_get_operation
Get a ROKI Connect API operation in full
Full detail for one operation: method, path, headers, request schema field table, responses, and worked examples.
輸入參數operation必填
roki_get_schema
Get a ROKI Connect schema
Return a fully dereferenced JSON Schema by name (e.g. "PaymentCreateRequest", "Payment", "WebhookEvent"). Use it to know the exact field names, types and constraints.
輸入參數name
roki_get_error
Explain a ROKI Connect error
Explain an HTTP status or an error message returned by the ROKI API: what it means, the likely cause and what to do. Use this instead of guessing when an integration fails.
輸入參數error必填
roki_validate_request
Validate a ROKI Connect request payload
Validate a payload against the official schema WITHOUT sending it, and check the business rules the API enforces. Critical for this API: it ignores unknown fields and returns 201, so a typo produces a misconfigured payment rather than an error. The response names what it dropped in `warnings`, but by then the payment exists - validating here means it is never created. Always validate before writing or shipping integration code.
輸入參數payload必填operation必填
roki_check_result
Check a ROKI payment response against the request that produced it
Compare the payment the API returned against the body you sent, and report anything that does not match. Every other check here looks at what you SEND. This one exists for the errors that survive that: the field name was right and the VALUE was wrong. The API answers 201, `warnings` comes back empty because there was nothing to warn about, and the merchant charged something else. Catches the amount off by a factor of 100, fee pass-through asked for and returned as zero, tax that was not applied, `expires_at` already in the past because it was sent as UTC instead of Honduras time, a total that does not add up, and a `transaction_id` parsed as a number. Run it after every createPayment while you are building, and in your own tests afterwards.
輸入參數sent必填received必填
roki_get_integration_example
Get a runnable ROKI Connect integration example
Return a complete, runnable integration example for a stack: configuration, API client, checkout flow, webhook handler with signature verification, and polling fallback.
輸入參數stack
roki_get_quickstart
ROKI Connect quickstart
The minimum viable integration sequence, end to end, including the manual portal steps a developer cannot skip.
無需輸入參數。
roki_get_authentication_guide
ROKI Connect authentication and credentials
How authentication works, how the two environments are selected, where credentials come from, and how to store and rotate them safely.
無需輸入參數。
roki_get_webhook_guide
ROKI Connect webhooks
Everything about webhooks: portal registration, event types, payload shape, HMAC signature verification over the raw body, idempotent processing, and the polling fallback.
無需輸入參數。
roki_choose_integration_mode
Choose the right ROKI integration approach
Decide how to integrate ROKI Connect for a given project (web checkout, embedded card fields, mobile app, invoices or recurring billing) and get the constraints that apply before writing code. The modes and the endpoints behind them are read from the corpus, so this answer cannot describe a mode the API no longer has - or miss one it gained.
輸入參數context必填
roki_verify_webhook_signature
Verify a ROKI webhook signature and diagnose why it fails
Check a ROKI-Signature header against the raw body and the signing secret. When it fails, this does not just say "invalid" - it tries the specific wrong constructions developers actually write and tells you which mistake you made. Use it whenever webhook verification rejects real events. On the signing secret: this is ROKI's own server and ROKI issued that secret, so sending it here discloses nothing new. It is used to recompute the HMAC and is never stored, logged or counted.
輸入參數raw_body必填signing_secret必填signature_header必填
roki_scaffold_integration
Scaffold a complete ROKI Connect integration
Return the full runnable skeleton for a stack: credential storage, API client, checkout flow, webhook handler with signature verification, and the polling fallback. Use it to start an integration instead of assembling one from memory.
輸入參數modestack必填
roki_audit_integration
Audit ROKI integration code against the verified contract
Return the checklist to audit existing ROKI code, ordered by how badly each item fails in production. Use it when reviewing an integration you did not write, or before going live.
輸入參數focus
roki_sandbox_try
Execute an operation against the ROKI sandbox and see the real response
Runs a documented operation against the ROKI sandbox using THIS SERVER'S own test credential, and returns the actual response. Use it to prove an integration works instead of assuming it does - especially after roki_validate_request says a payload is valid.
You never supply a key: this server holds a sandbox-only credential and refuses to run against production. Amounts are capped and links expire quickly, because the sandbox is shared.
輸入參數payloadoperation必填
roki_sandbox_info
What the sandbox playground can run
Whether the sandbox playground is enabled here, which operations it accepts, its limits, and the sandbox test cards.
無需輸入參數。
roki_status
ROKI Connect MCP server status
Server version, corpus contents and freshness. Safe first call to confirm the connection works. Exposes no credentials and no merchant data.
無需輸入參數。