# Accept Payment

To accept payments, the Payment Gateway through the Payrexx API is the most customizable integration option.

## Requirements

Before you start developing you need a few things...

* Payrexx account: Signup [here](https://signup.payrexx.com)
* A fully set up payment provider which fits your needs: [PSP Features](https://docs.payrexx.com/merchant/bezahldienste/funktionsmatrix)
* API credentials: Find them in your Payrexx account under **API & Integration**

**Recommendation**

* Use our [Payrexx PHP SDK](https://github.com/payrexx/payrexx-php) If you are developing in PHP

## Process - Gateway

The following diagram shows the payment process.

<figure><img src="/files/XYlxwQGTRwuYfWOdGTIU" alt=""><figcaption></figcaption></figure>

### Preparation

First you have to choose one of the available payment types.\
This will be needed once you start building your Gateway

{% content-ref url="/pages/-MdGn8FMtZ5jIgykxS\_l" %}
[Payment Types](/developer/guides/gateway/payment-types.md)
{% endcontent-ref %}

{% hint style="info" %}
If you want to make **one-time** payments, you can **skip this step**.\
Because one-time is the default type.
{% endhint %}

### Start Building

Finally! You can now start developing.

Detailed process description from the Gateway creation until after payment completion:

{% content-ref url="/pages/-Mguz7bjqS3lWfKhQ2HU" %}
[Build Your Gateway](/developer/guides/gateway/build.md)
{% endcontent-ref %}

## Next Steps

### Receive Transaction Data - Webhook

All about the Payrexx Webhook:

{% content-ref url="/pages/-MdGx\_nhlsSbarsBjmzN" %}
[Webhook](/developer/guides/webhook.md)
{% endcontent-ref %}

Shape and content of your transaction or subscription Webhook:

{% content-ref url="/pages/-MdH-49ly2WkM5gq1xze" %}
[Broken mention](broken://pages/-MdH-49ly2WkM5gq1xze)
{% endcontent-ref %}

{% content-ref url="/pages/-MdH-TXLfrfkE83U3pAR" %}
[Broken mention](broken://pages/-MdH-TXLfrfkE83U3pAR)
{% endcontent-ref %}


---

# 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.payrexx.com/developer/guides/gateway.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.
