# 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](https://docs.pagsmile.com/payin/pci-direct-integration/tokenize) page.

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

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

Step 1, Get Token. Check [Tokenization](https://docs.pagsmile.com/payin/pci-direct-integration/tokenize) page.

Step 2, Authorization. Check [Authorization](https://docs.pagsmile.com/payin/pci-direct-integration/authorization) page.

Step 3, Capture. Check [Capture](https://docs.pagsmile.com/payin/pci-direct-integration/caputre) page.

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

## Refund

Use [refund API](https://docs.pagsmile.com/payin/refund) to refund an order.

## Query

Use [query API](https://docs.pagsmile.com/payin/broken-reference) to check order details.

## Notification

Receive [notification](https://docs.pagsmile.com/payin/notification) for order status update.
