antom-integration10.1 KB
View saved version →
---
name: antom-integration
description: >-
Antom payment integration skill for product and integration-mode selection, integration Q&A, code implementation, troubleshooting, sandbox testing, and go-live guidance.
Use for One-time Payments, Tokenized Payment (recurring auto-debit), Billing, Payment Element, Checkout Page, and API-only integration.
---
# Scope
Use this skill to:
- locate relevant Antom product, integration, SDK, notification, checklist, and troubleshooting knowledge
- write or modify Antom payment integration code for the selected product, integration mode, and tech stack
- diagnose integration issues from result codes, API names, request IDs, logs, asynchronous notifications, and sandbox or go-live symptoms
# Document Access Guidelines
Fetch Antom online docs with curl:
```bash
curl -sL "https://****/****.md"
```
# Get Integration Documentation
Use this section as the shared knowledge lookup for product advice, Q&A, code implementation, and troubleshooting.
## SDK Selection
When the user has not chosen a backend tech stack, prioritize languages with official Antom SDKs listed in SDK Description; otherwise, respect the user's chosen or existing stack.
Read [SDK Description](https://cdn.marmot-cloud.com/page/antom-integration-doc/references/select-sdk.md) when a server-side SDK is involved and you need to select a language, confirm the public version or installation, configure the API domain, or prepare backend code. Product-specific sample-code is selected from the matched product document.
## Product Selection
Read [Product Decision](https://cdn.marmot-cloud.com/page/antom-integration-doc/references/product-decision.md) for product or integration-mode advice. Use its clarification template only when needed.
Choose the product through Product Decision before opening any product overview or selecting an integration mode.
After product selection, prefer Checkout Page (CKP) when the user wants rapid integration and broad payment-method coverage, if it fits the selected product and scenario.
## Integration Documentation Select
Based on the user's selected product or capability and any applicable integration mode, locate the corresponding integration documentation:
- [One-time Payments](https://cdn.marmot-cloud.com/page/antom-integration-doc/references/one-time-payments.md)
- [Tokenized Payment](https://cdn.marmot-cloud.com/page/antom-integration-doc/references/tokenized-payment.md)
- [Billing subscription integration](https://cdn.marmot-cloud.com/page/antom-integration-doc/billing/subscription-integration-core.md)
Read the most specific sections available in the matched product doc.
- After selecting a product, do not load other product docs unless comparison or migration is requested. For Billing, follow its Router and load only the selected scenario, capability, path, and operations.
- For Q&A or product advice: infer what you can, read the closest relevant docs, and state assumptions when useful.
- For troubleshooting: route by resultCode/resultMessage, API name, requestId, debug log, or error text first.
# Writing Code
Before writing or modifying code, first confirm the user's selected product and tech stack. Confirm an integration mode only when the selected flow has a payment-path or UI choice.
Blocking list before coding:
Do not write or modify integration code until all applicable items below are complete.
- [ ] Read [Product Decision](https://cdn.marmot-cloud.com/page/antom-integration-doc/references/product-decision.md) to confirm the product category and integration mode, even when the user's request appears specific. Skip only if the user explicitly asks to skip product selection.
- [ ] Read [SDK Description](https://cdn.marmot-cloud.com/page/antom-integration-doc/references/select-sdk.md) when a backend language or SDK is involved.
- [ ] Read the matched product overview from `Integration Documentation Select`:
- One-time Payments
- Tokenized Payment
- Billing
- [ ] Fr
Preview of the first 4,000 characters. Read full instructions →