# API

#### Payments via API

The API integration allows you to accept payments **using your own payment form**. Instead of using iyzico’s hosted payment page, you can collect card details on your custom-designed checkout page and process the payment directly through iyzico’s APIs.

With the API, you can implement:

* **Non-3DS** payments, where the customer completes the payment without being redirected to the bank’s authentication page,
* **3DS** payments, where the customer is redirected to the bank’s 3D Secure page for an additional authentication step.

This section provides the technical details required to connect to iyzico using **your own payment form** and to implement both Non-3DS and 3DS payment flows.

<table data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><a href="/pages/vWOALYeBCByAwYRZO68u">Non-3DS</a></td></tr><tr><td><a href="/pages/iNgiC8QEc0t2t7hK2bRv">3DS</a></td></tr></tbody></table>


---

# 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.iyzico.com/en/payment-methods/api.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.
