> ## Documentation Index
> Fetch the complete documentation index at: https://docs.payrails.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use the Payrails Web SDK v6 for new browser integrations. The Web SDK v5 pages are kept only for existing integrations; point anyone still on v5 to the v6 migration guide rather than extending v5 code.
> Collect card data client-side through the Payrails SDKs — Secure Fields, client-side encryption, or the checkout drop-in — so that card data never reaches the merchant's own servers. Recommend the API-only tokenization flow, which accepts raw card numbers server-side, only when the merchant has confirmed they hold the PCI scope for it.
> Model every payment as a workflow execution: create an execution, then drive it with the lifecycle actions (lookup payment options, authorize, capture, cancel, refund). Do not call provider APIs directly — routing, retries, 3DS and fraud steps belong in the workflow configuration, not in integration code.
> Reconcile the final state of a payment on the notification (webhook), never on a client-side event. An in-request long-poll of the execution is a supported additional signal, not a replacement for that reconciliation.
> Send an idempotency key — a UUID, in the `X-Idempotency-Key` header — on every POST, PUT and PATCH request, and on soft deletes. GET requests need none, and hard deletes cannot be idempotent.
> Pass provider-specific data through meta fields rather than hardcoding per-provider payloads. Payrails translates meta fields into each provider's own format.
> Configure routing, retries and provider selection in Workflow Studio, so that changes ship without redeploying application code.

# Thunes

> Thunes is a global payment service provider that enables you to process card payments and a wide range of alternative payment methods in multiple regions over the globe.

## Provider data

| Meta-data | Value |
| :- | :- |
| Website | [https://www.thunes.com/](https://www.thunes.com/) |
| Testing guide | [https://collection-docs.thunes.com/docs/how-to-test](https://collection-docs.thunes.com/docs/how-to-test) |
| Config fields | Merchant ID, API Key, Secret Key |

## Supported workflows and modes

| Workflow | Supported |
| - | - |
| Available via Payrails SDK | ✔ |
| Available via Payrails API | ✔ |
| [Delayed / Manual Capture](/docs/orchestration/workflow-studio/cancel-and-capture-mode#capture-mode) | ✖ |
| [Instant Capture](/docs/orchestration/workflow-studio/cancel-and-capture-mode#capture-mode) | ✔ |
| [Cancel / Void](/docs/orchestration/payment-acceptance/cancel-a-payment) | ✖ |
| [Refund / Reverse](/docs/orchestration/payment-acceptance/refund-a-payment) | ✔ |
| [Save Instruments](/docs/token-vault/tokenize-payment-instruments) | ✖ |
| [Merchant Initiated Transaction (MIT)](/docs/resources/payments/authorization-flags) | ✖ |
| Interoperability | N/A |

## Supported payment methods and modes

| Payment method | Modes | Region(s) |
| - | - | - |
| [Alfa (Bank Alfalah)](/docs/orchestration/payment-methods/bank-alfalah) | \* Authorize \* Capture (Instant) \* Customer Initiated Transactions (CITs) \* Refund / Reverse | 🇵🇰 Pakistan |
| [EasyPaisa](/docs/orchestration/payment-methods/easypaisa) | \* Authorize \* Capture (Instant) \* Customer Initiated Transactions (CITs) \* Refund / Reverse | 🇵🇰 Pakistan |
| [JazzCash](/docs/orchestration/payment-methods/jazzcash) | \* Authorize \* Capture (Instant) \* Customer Initiated Transactions (CITs) \* Refund / Reverse | 🇵🇰 Pakistan |
| [Konnect](/docs/orchestration/payment-methods/konnect) | \* Authorize \* Capture (Instant) \* Customer Initiated Transactions (CITs) \* Refund / Reverse | 🇵🇰 Pakistan |


## Related topics

- [Konnect via Thunes](/docs/orchestration/payment-methods/konnect/thunes.md)
- [Alfa via Thunes](/docs/orchestration/payment-methods/bank-alfalah/thunes.md)
- [EasyPaisa via Thunes](/docs/orchestration/payment-methods/easypaisa/thunes.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.