teya
- Repo stars 39
- Author updated Live
- Author repo awesome-omni-skill
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @diegosouzapw · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Windows
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- External requests
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: teya
description: Teya payment integration guide covering POSLink (cloud-based terminal integration), All-In-One (…
category: engineering
runtime: no special runtime
---
# teya output preview
## PART A: Task fit
- Use case: Teya payment integration guide covering POSLink (cloud-based terminal integration), All-In-One (single-device Android), E-Commerce APIs (hosted checkout, payment links), and Payments Gateway. Includes decision trees, authentication patterns, test cards, and certification guidance..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Quick Decision Tree: Which Integration Do You Need? / Integration Overview / 1. POSLink (Cloud Terminal Integration)” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Teya payment integration guide covering POSLink (cloud-based terminal integration), All-In-One (single-device Android), E-Commerce APIs (hosted checkout, payment links), and Payments Gateway. Includes decision trees, authentication patterns, test cards, and certification guidance.”.
- **02** When the source has headings, the agent prioritizes “Quick Decision Tree: Which Integration Do You Need? / Integration Overview / 1. POSLink (Cloud Terminal Integration)” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; may access external network resources; usually needs no extra API key.
## Running Rules
- read files, write/modify files; may access external network resources; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Quick Decision Tree: Which Integration Do You Need? / Integration Overview / 1. POSLink (Cloud Terminal Integration)”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: teya
description: Teya payment integration guide covering POSLink (cloud-based terminal integration), All-In-One (…
category: engineering
source: diegosouzapw/awesome-omni-skill
---
# teya
## When to use
- Teya payment integration guide covering POSLink (cloud-based terminal integration), All-In-One (single-device Android)…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Quick Decision Tree: Which Integration Do You Need? / Integration Overview / 1. POSLink (Cloud Terminal Integration)” and keep inference separate from source facts.
- read files, write/modify files; may access external network resources; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "teya" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Quick Decision Tree: Which Integration Do You Need? / Integration Overview / 1. POSLink (Cloud Terminal Integration)
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | may access external network resources
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Teya Payment Integration Skill
Complete reference for integrating with Teya's payment ecosystem, covering terminal integrations, e-commerce APIs, and SDK implementations.
Quick Decision Tree: Which Integration Do You Need?
Need to accept payments?
├── In-person (card present)?
│ ├── ePOS on separate device from terminal?
│ │ └── → POSLink Integration (cloud-based, Android/Windows)
│ │ See: references/epos-sdk/overview.md
│ │ See: references/poslink/overview.md
│ │
│ └── ePOS and terminal on same device?
│ └── → All-In-One Integration (Android only)
│ See: references/epos-sdk/all-in-one-introduction.md
│
└── Online (card not present)?
├── Need hosted checkout page?
│ └── → E-Commerce API - Hosted Checkout
│ See: references/apis/e-commerce-introduction.md
│
├── Need to send payment links?
│ └── → E-Commerce API - Payment Links
│ See: references/apis/e-commerce-introduction.md
│
└── PCI compliant and want direct processing?
└── → E-Commerce API - Direct Transactions
See: references/apis/e-commerce-introduction.md
Integration Overview
1. POSLink (Cloud Terminal Integration)
Use when: Your ePOS runs on a separate device (tablet, PC) from the payment terminal.
Platforms: Android, Windows (iOS planned)
Key features:
- Cloud-based communication between ePOS and terminal
- SDK handles OAuth authentication and token refresh
- Pre-built payment UI screens
- Minimal setup required
Getting started:
- Register at partner.teya.xyz (staging) or partner.teya.com (production)
- Create OAuth application (Device Code Flow)
- Get Client ID and Client Secret (per partner, not per merchant)
- Request mock payment app APK from Partnership Manager
- Integrate SDK into your application
References:
- ePOS SDK Overview
- POSLink Getting Started
- POSLink Overview
- POSLink Design
- POSLink Testing
- POSLink FAQ
- POSLink Certification
2. All-In-One Integration
Use when: Your ePOS app runs on the same Android device as the payment terminal.
Platforms: Android only (Sunmi, PAX terminals)
Key features:
- Single-device workflow
- Apps communicate via deeplinks
- Receipt printing via Sunmi/PAX SDKs
- No cloud dependency for device communication
Getting started:
- Request debug terminal from Partnership Manager
- Specify terminal model (Sunmi or PAX)
- Get test merchant account assigned to terminal
- Integrate SDK using provided guides
References:
3. E-Commerce API (Online Payments)
Use when: You need to accept online payments (card not present).
Options:
- Hosted Checkout - Redirect customers to Teya's secure payment page (best for most merchants)
- Payment Links - Send payment links via email/SMS for remote collection
- Direct Processing - Full control for PCI-compliant systems
Getting started:
- Get Teya merchant account from your representative
- Access Business Portal: business.teya.xyz (staging) or business.teya.com (production)
- Create API credentials under store settings → Integrations
- Configure webhooks for payment notifications
- Implement OAuth token exchange
References:
4. Payments Gateway API
Use when: You're building card-present processing with direct API integration (advanced).
Supports:
- Card-present transactions (EMV, contactless)
- Pre-authorization and capture flows
- Refunds and reversals
- MOTO transactions
- SoftPOS transactions
References:
5. POSLink REST API
Use when: You need programmatic access to stores, terminals, and receipt printing.
Features:
- Payment request management
- Store configuration
- Terminal monitoring
- Receipt printing (JSON and image formats)
References:
Authentication
All Teya APIs use OAuth 2.0:
Environments:
- Staging: https://id.teya.xyz/oauth/v2/oauth-token
- Production: https://id.teya.com/oauth/v2/oauth-token
Token lifetimes:
- Production: 15 minutes
- Staging: 24 hours
Example token request:
curl -X POST 'https://id.teya.com/oauth/v2/oauth-token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'grant_type=client_credentials' \
-d 'client_id=<CLIENT_ID>' \
-d 'client_secret=<CLIENT_SECRET>' \
-d 'scope=checkout/sessions/create refunds/create'
Test Cards
| Brand | Number | Use Case |
|---|---|---|
| Visa | 4242424242424242 | General testing |
| Mastercard | 5555555555554444 | Mastercard testing |
| Amex | 378282246310005 | Amex testing |
| Mastercard | 2223600089700011 | DCC testing (EUR) |
- Use any 3-digit CVV (4-digit for Amex)
- Use any future expiry date
- Test cards only work in staging environments
See Test Cards Reference for complete list.
Important Notes
Amount Format
All amounts are in minor units (cents/pence):
- €1.00 = 100
- €50.00 = 5000
- $25.99 = 2599
Currency Format
ISO-4217 3-letter codes: EUR, USD, GBP, etc.
Environment URLs
- Staging domains:
*.teya.xyz - Production domains:
*.teya.com
Idempotency
Always use Idempotency-Key headers to prevent duplicate transactions.
Certification Process (POSLink)
- Design - Plan integration architecture
- Develop - Implement authentication and payment flows
- Test - Validate integration thoroughly
- Get Certified - Schedule certification and go live
See Integration Checklist and Get Certified.
Support
- Partnership Manager - For terminal requests, test accounts, APKs
- Teya Representative - For merchant account setup
- Developer Portal - partner.teya.xyz / partner.teya.com
- Documentation - docs.teya.com
File Index
APIs
- references/apis/payments-overview.md - Payments Gateway API
- references/apis/poslink-api.md - POSLink REST API
- references/apis/e-commerce-introduction.md - E-Commerce APIs
- references/apis/test-cards.md - Test card numbers
ePOS SDK
- references/epos-sdk/overview.md - SDK overview and integration options
- references/epos-sdk/glossary.md - Terminology
- references/epos-sdk/poslink-getting-started.md - POSLink quick start
- references/epos-sdk/all-in-one-introduction.md - All-In-One integration
POSLink Guides
- references/poslink/overview.md - POSLink overview
- references/poslink/design.md - Integration design
- references/poslink/test.md - Testing guide
- references/poslink/faq.md - Frequently asked questions
- references/poslink/get-certified.md - Certification process
- references/poslink/integration-checklist.md - Pre-launch checklist
- references/poslink/cancel-payment-request.md - Cancel payments
Decide Fit First
Design Intent
How To Use It
Boundaries And Review