> For the complete documentation index, see [llms.txt](https://docs.pagsmile.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagsmile.com/reference/payin/pci-direct-integration.md).

# 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](/reference/payin/pci-direct-integration/tokenize.md) page.

Step 2, Create a Credit Card order. Check [this](/reference/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](/reference/payin/pci-direct-integration/tokenize.md) page.

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

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

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

## Refund

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

## Query

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

## Notification

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