Integrate an external merchant system, SaaS backend, or business application with the OpenCashier Merchant API. Use when a non-OpenCashier codebase needs to create orders, redirect users to `cashierUrl`, verify OpenCashier notifications, query orders as a fallback, add refunds, or optionally bootstrap provider config. For Node/TypeScript, default to the official SDK. For other stacks, port the signing and verification protocol.
Use this skill for external system integration. The default goal is not a custom cashier UI. Finish the shortest working loop first:
cashierUrlcashierUrl directly from the frontendRead the deployed public docs and the runnable example first. Do not guess contract details from memory.
1. Overview, 4. Signatures & Idempotency, 5. Standard Integration Flow, 6. Merchant Async Notifications, 9. Shortest integration pathMerchant Quickstart, allowedChannels And Provider Groupsopencashier-docs/content/en/merchant-api-integration.mdxopencashier-docs/content/en/provider-config-reference.mdxapiBaseUrlappIdappSecretnotifyUrlreturnUrlallowedChannels for this product flow@opencashier/sdk first. Initialize OpenCashierClient, use resource methods such as orders.create, orders.getByMerchantOrderNo, refunds.create, and notifications.verify.success after successful verification and processingmerchantOrderNo, platformOrderNo, cashierUrl, and expireTime when creating the ordercashierUrl directly from the frontend or redirect layerIdempotency-Key valuesGET /api/v1/cashier/{cashierToken}providers module or the equivalent admin API pattern, mainly for local integration and demosallowedChannels set.The first integration version is complete only when all of these are true:
cashierUrlPAY_SUCCESSPOST /api/v1/refunds and refund query are integrated