> For the complete documentation index, see [llms.txt](https://docs.coinbar.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coinbar.io/api-web-integration/service-configuration.md).

# Service Configuration

When you have activated the CoinbarPay payment service for your account through the CoinbarPay Dashboard, it's essential to configure your shop's parameters to ensure a smooth and secure payment experience for your customers.&#x20;

{% hint style="info" %}
This topic will guide you through configuring your shop's <mark style="color:blue;">`WEB_URL_CALLBACK`</mark> and <mark style="color:blue;">`BE_URL_CALLBACK`</mark>, which are vital links in providing a seamless transaction experience with minimal disruptions.
{% endhint %}

### <mark style="color:blue;">`WEB_URL_CALLBACK`</mark>

The web\_url\_callback is the URL to which your customers will be redirected after they complete a payment through the CoinbarPay Web Gateway. This callback URL is typically a page on your website that displays a payment confirmation or a summary of the transaction.

To configure your <mark style="color:blue;">`WEB_URL_CALLBACK`</mark>:

1. Log in to your CoinbarPay Dashboard.
2. Navigate to the "Service Configuration" section.
3. Locate the "Web URL Callback" field and enter the desired URL, ensuring it is a valid and accessible link on your website.
4. Save your changes.

CoinbarPay will now automatically redirect your customers to this configured URL once a payment has been completed.

### <mark style="color:blue;">`BE_URL_CALLBACK`</mark>

The <mark style="color:blue;">`BE_URL_CALLBACK`</mark> is a server-side URL that CoinbarPay uses to send payment status updates and notifications securely.&#x20;

{% hint style="warning" %}

#### <mark style="color:orange;">Warning</mark>

This callback ensures your backend systems are informed in real-time about any updates or changes related to a payment transaction.
{% endhint %}

To configure your be\_url\_callback:

1. Log in to your CoinbarPay Dashboard.
2. Navigate to the "Service Configuration" section.
3. Locate the "Backend URL Callback" field and enter the desired URL, ensuring it is a valid endpoint on your server.
4. Save your changes.

Upon successful configuration, CoinbarPay will send secure HTTP requests to this URL whenever there are updates or changes in payment status.

It is essential to properly handle these requests on your server-side and implement necessary actions, such as updating your database records, sending confirmation emails, or generating reports.

{% hint style="warning" %}

#### <mark style="color:orange;">Warning</mark>

Ensure that both the <mark style="color:blue;">`WEB_URL_CALLBACK`</mark>and<mark style="color:blue;">`BE_URL_CALLBACK`</mark> are secure (HTTPS) and valids URLs, owned by You or Your Company, to avoid exposing sensitive customer or transaction data.&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.coinbar.io/api-web-integration/service-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
