# Teya Developer Documentation > Official integration guides and API specifications for Teya payments. The website uses JavaScript to display documentation. Read the linked .md sources directly without JavaScript or special request headers. They include expanded shared content and may contain HTML alongside Markdown. For other guide links, append .md to the page path before any #fragment. For endpoint details, read the OpenAPI YAML specifications rather than the JavaScript-rendered API reference pages. ## Online payments for businesses - [Overview](https://docs.teya.com/online-payments/overview.md): Choose an integration for your own business. - [Authentication](https://docs.teya.com/online-payments/authenticate.md): Credentials and access tokens. - [Hosted Checkout](https://docs.teya.com/online-payments/hosted-checkout/get-started.md): Accept payments on a Teya-hosted page. - [Hosted Checkout customization](https://docs.teya.com/online-payments/hosted-checkout/customize.md): Session options, including saving a payment method. - [Card on File](https://docs.teya.com/online-payments/saved-payments/overview.md): Save cards with customer consent for future payments. - [Charge a saved payment method](https://docs.teya.com/online-payments/saved-payments/charge.md): Charge a token for customer-initiated or merchant-initiated payments. - [Payment Actions](https://docs.teya.com/online-payments/payment-actions.md): Capture authorised funds, issue refunds, and send digital receipts. - [Webhooks](https://docs.teya.com/online-payments/webhooks.md): Receive payment events and saved-card tokens. - [Webhook Signature Validator](https://docs.teya.com/online-payments/webhook-signature-validator.md): Test webhook signature verification. - [Testing](https://docs.teya.com/online-payments/testing.md): Test cards and integration checks. - [Troubleshooting](https://docs.teya.com/online-payments/troubleshooting.md): Diagnose common online payment integration issues. ## Migrating from RPG, SecurePay and B-Gateway - [Migration overview](https://docs.teya.com/online-payments/migration/overview.md): Find the migration path for your legacy integration. - [SecurePay to Hosted Checkout](https://docs.teya.com/online-payments/migration/securepay-hosted-checkout.md): Move a SecurePay hosted payment page to Hosted Checkout. - [SecurePay to Embedded Components](https://docs.teya.com/online-payments/migration/securepay-embedded-components.md): Move a SecurePay integration to Embedded Components. - [RPG to Embedded Components](https://docs.teya.com/online-payments/migration/rpg-embedded-components.md): Move an RPG (Borgun Payment API) integration to Embedded Components. - [B-Gateway to Embedded Components](https://docs.teya.com/online-payments/migration/bgateway-checkout.md): Move a B-Gateway integration to Embedded Components. - [Ticket API to Payment Links](https://docs.teya.com/online-payments/migration/ticket-api-payment-links.md): Replace Ticket API payment URLs with Pay By Link. - [Stored cards and recurring payments](https://docs.teya.com/online-payments/migration/stored-cards.md): Move saved cards, subscriptions and instalments to the new platform. - [SecurePay: what replaces what](https://docs.teya.com/online-payments/migration/securepay.md): Legacy SecurePay features mapped to their replacements. - [RPG: what replaces what](https://docs.teya.com/online-payments/migration/rpg.md): Legacy RPG endpoints and features mapped to their replacements. - [B-Gateway: what replaces what](https://docs.teya.com/online-payments/migration/bgateway.md): Legacy B-Gateway features mapped to their replacements. - [Migration FAQ](https://docs.teya.com/online-payments/migration/faq.md): What changes for your business and your customers when you migrate. - [Migrate with an AI assistant](https://docs.teya.com/online-payments/migration/ai-assistant.md): Prompts and context for migrating with an AI coding assistant. - [Migration pack](https://docs.teya.com/online-payments/migration/migration-pack.txt): The whole business migration section as one Markdown file. ## Partners - [Partner overview](https://docs.teya.com/partners/overview.md): Build integrations for the merchants you serve. - [Partner Card on File](https://docs.teya.com/partners/online-payments/saved-payments/overview.md): Save cards for a partner's merchants. - [Partner Payment Actions](https://docs.teya.com/partners/online-payments/payment-actions.md): Capture authorised funds, issue refunds, and send digital receipts for merchants. - [Partner Webhooks](https://docs.teya.com/partners/online-payments/webhooks.md): Receive merchant payment events and saved-card tokens. - [Partner Webhook Signature Validator](https://docs.teya.com/partners/online-payments/webhook-signature-validator.md): Test merchant webhook signature verification. - [Partner Testing](https://docs.teya.com/partners/online-payments/testing.md): Test cards and integration checks for partners. - [Partner Troubleshooting](https://docs.teya.com/partners/online-payments/troubleshooting.md): Diagnose common partner online payment integration issues. ## Partner migration from RPG, SecurePay and B-Gateway - [Partner migration overview](https://docs.teya.com/partners/online-payments/migration/overview.md): Find the migration path for the merchants you serve. - [RPG credentials migration](https://docs.teya.com/partners/online-payments/migration/rpg-credentials.md): Exchange merchants' RPG credentials for new per-store credentials. - [Partner RPG to Embedded Components](https://docs.teya.com/partners/online-payments/migration/rpg-embedded-components.md): Move an RPG (Borgun Payment API) integration to Embedded Components. - [Partner B-Gateway to Embedded Components](https://docs.teya.com/partners/online-payments/migration/bgateway-checkout.md): Move a B-Gateway integration to Embedded Components. - [Partner SecurePay to Hosted Checkout](https://docs.teya.com/partners/online-payments/migration/securepay-hosted-checkout.md): Move a SecurePay hosted payment page to Hosted Checkout. - [Partner SecurePay to Embedded Components](https://docs.teya.com/partners/online-payments/migration/securepay-embedded-components.md): Move a SecurePay integration to Embedded Components. - [Partner Ticket API to Payment Links](https://docs.teya.com/partners/online-payments/migration/ticket-api-payment-links.md): Replace Ticket API payment URLs with Pay By Link. - [Partner stored cards and recurring payments](https://docs.teya.com/partners/online-payments/migration/stored-cards.md): Move merchants' saved cards, subscriptions and instalments to the new platform. - [Partner RPG: what replaces what](https://docs.teya.com/partners/online-payments/migration/rpg.md): Legacy RPG endpoints and features mapped to their replacements. - [Partner SecurePay: what replaces what](https://docs.teya.com/partners/online-payments/migration/securepay.md): Legacy SecurePay features mapped to their replacements. - [Partner B-Gateway: what replaces what](https://docs.teya.com/partners/online-payments/migration/bgateway.md): Legacy B-Gateway features mapped to their replacements. - [Partner migration FAQ](https://docs.teya.com/partners/online-payments/migration/faq.md): What changes for the merchants you serve when they migrate. - [Partner migrate with an AI assistant](https://docs.teya.com/partners/online-payments/migration/ai-assistant.md): Prompts and context for migrating with an AI coding assistant. - [Partner migration pack](https://docs.teya.com/partners/online-payments/migration/migration-pack.txt): The whole partner migration section as one Markdown file. ## API specifications - [Online Payments OpenAPI](https://docs.teya.com/apis/online-payments/openapi.yaml): Checkout sessions, online transactions, saved-card tokens, refunds and captures. - [POSLink OpenAPI](https://docs.teya.com/apis/poslink/openapi.yaml): Integrate with Teya card machines. - [Payments OpenAPI](https://docs.teya.com/apis/payments/openapi.yaml): Payments API endpoints and schemas. - [Dynamic Currency Conversion OpenAPI](https://docs.teya.com/apis/dynamic-currency-conversion/openapi.yaml): Dynamic currency conversion endpoints and schemas.