# PCI Direct Integration

{% hint style="info" %}
PCI is required to use this integration type.
{% endhint %}

## Create an Order

{% tabs %}
{% tab title="Create Card Payment" %}
Here are the steps to create a card payment.

Step 1, Get Token. Check [Tokenization](/payin/pci-direct-integration/tokenize.md) page.

Step 2, Create a Credit Card order. Check [this](/payin/pci-direct-integration/creditcard.md) page.
{% endtab %}

{% tab title="Authorize Card Payment" %}
Here are the steps to authorize a card payment.

Step 1, Get Token. Check [Tokenization](/payin/pci-direct-integration/tokenize.md) page.

Step 2, Authorization. Check [Authorization](/payin/pci-direct-integration/authorization.md) page.

Step 3, Capture. Check [Capture](/payin/pci-direct-integration/caputre.md) page.

Step 4, Void if no longer needed. Check [Void](/payin/pci-direct-integration/void.md) page.
{% endtab %}
{% endtabs %}

## Refund

Use [refund API](/payin/refund.md) to refund an order.

## Query

Use [query API](broken://pages/yzeW9I1csYiP0CeQvPOh) to check order details.

## Notification

Receive [notification](/payin/notification.md) for order status update.


---

# 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://docs.pagsmile.com/payin/pci-direct-integration.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.
