# Extend your integration

Extend your Tap to Pay on iPhone integration with refunds, transaction reporting, tips, taxes, line items, and surcharges.

**Prerequisites:** [Authentication](/api/authentication) · [Run a sale](/guides/payments/tap-to-pay-on-iphone/run-a-sale)

After you set up your app to run a sale, you can extend your integration to include the following:

- [**Run a refund**](/guides/payments/tap-to-pay-on-iphone/run-a-refund) - Return funds to the same card that the customer used for the original sale.
- [**Retrieve transactions**](/guides/payments/tap-to-pay-on-iphone/retrieve-transactions) - Retrieve a single transaction or list multiple transactions.
- [**Add a tip to a sale**](/guides/payments/tap-to-pay-on-iphone/add-a-tip) - Add a predefined tip or a custom tip to a sale.
- [**Add a tax to a sale**](/guides/payments/tap-to-pay-on-iphone/add-a-tax) - Add a predefined tax or a custom tax to a sale.
- [**Add a line item to a sale**](/guides/payments/tap-to-pay-on-iphone/add-a-line-item) - Add itemized product details to a sale.
- [**Handle surcharges**](/guides/payments/tap-to-pay-on-iphone/handle-surcharges) - Present a surcharge fee to the customer for confirmation.
- [**Cancel a sale**](/guides/payments/tap-to-pay-on-iphone/cancel-a-sale) - Cancel an in-progress sale, and handle the cancellation status that the SDK returns.
- [**Run the sample apps**](/guides/payments/tap-to-pay-on-iphone/run-the-sample-apps) - Run the Swift or Objective-C sample app from the SDK package.

<a id="guides"></a>
## Guides

To extend your Tap to Pay on iPhone integration, follow our guides:

<a id="run-a-refund"></a>
#### [Run a refund](/guides/payments/tap-to-pay-on-iphone/run-a-refund)

Refund a sale to the same card.

<a id="retrieve-transactions"></a>
#### [Retrieve transactions](/guides/payments/tap-to-pay-on-iphone/retrieve-transactions)

View your sales and refunds.

<a id="add-a-tip-to-a-sale"></a>
#### [Add a tip to a sale](/guides/payments/tap-to-pay-on-iphone/add-a-tip)

Add a predefined or custom tip.

<a id="add-a-tax-to-a-sale"></a>
#### [Add a tax to a sale](/guides/payments/tap-to-pay-on-iphone/add-a-tax)

Add a predefined or custom tax.

<a id="add-a-line-item-to-a-sale"></a>
#### [Add a line item to a sale](/guides/payments/tap-to-pay-on-iphone/add-a-line-item)

Add itemized product details.

<a id="handle-surcharges"></a>
#### [Handle surcharges](/guides/payments/tap-to-pay-on-iphone/handle-surcharges)

Present a surcharge for confirmation.

<a id="cancel-a-sale"></a>
#### [Cancel a sale](/guides/payments/tap-to-pay-on-iphone/cancel-a-sale)

Cancel an in-progress sale.

<a id="run-the-sample-apps"></a>
#### [Run the sample apps](/guides/payments/tap-to-pay-on-iphone/run-the-sample-apps)

Run our Swift or Objective-C sample app.
