# Subscription Creation Endpoints

## Overview

When creating a subscription, there are two distinct methods based on the merchant's PCI compliance:

* **Non-PCI Merchants**: These merchants cannot handle card details directly. They receive a redirect link to provide users, which leads them to a secure page where payment information can be safely entered and processed without exposing sensitive data.\
  This integration flow: [OneShot Subscription Creation](broken://pages/oyb1RBbx84VBVE83WXha).
* **PCI Compliant Merchants**: These merchants are authorized to handle card details directly. They can securely send card information to initiate and manage subscriptions, adhering to stringent PCI DSS standards.\
  This integration flow: [PCI Subscription Creation.](broken://pages/5WAIhpY6nhRwxkpRsoRJ)

### Important Notes

1. **PCI Compliance**: To use the PCI flow, merchants must provide valid PCI AOC compliance documentation and be approved by our integration team.
2. **Webhook Integration**: For optimal integration, implement webhook handling to receive real-time updates about subscription status changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.onekeypayments.com/api-documentation/subscriptions-api/subscription-creation-endpoints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
