# 2. Detail

<mark style="color:blue;">`GET`</mark> `{{Base Address}}/api/connection/`<mark style="color:red;">`{ConnectionId}`</mark>`/detail`

It will be sufficient to send a request to the address provided above. You can use the 'Base Address' for both the test environment and the live environment as you wish.

{% hint style="info" %}
Important: To use the **Connection Detail** service, you must include the '**apikeyprivate**' and '**apiclientprivate**' parameters in the 'Header' field.

\
[<mark style="color:green;">**PhysicalAPI Ad**</mark>](https://developer.paywall.one/payment-orchestration-integration-document/environment)<mark style="color:green;">**dress**</mark>
{% endhint %}

**The header information that needs to be sent to the service is as follows:**

<table><thead><tr><th width="243">Parameter</th><th width="106.33333333333331">Type</th><th width="149">Compulsory</th><th>Description</th></tr></thead><tbody><tr><td>apikeyprivate</td><td>string</td><td>Yes</td><td>The Private Key that you obtained from the merchant panel.</td></tr><tr><td>apiclientprivate</td><td>string</td><td>Yes</td><td>The Private Client that you obtained from the merchant panel.</td></tr></tbody></table>

**Response returned from the service:**

<table><thead><tr><th width="182">Parameter</th><th width="107.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>Result</td><td>object</td><td>It returns the details of the service.</td></tr><tr><td>ErrorCode</td><td>int</td><td>Error code. If the transaction is successful, it returns a value of '0'.</td></tr><tr><td>Succeeded</td><td>bool</td><td>It returns a true or false value. If the transaction is <mark style="color:green;">successful</mark>, it returns a value of 'true'.</td></tr><tr><td>Failed</td><td>bool</td><td>It returns a true or false value. If the transaction is <mark style="color:red;">unsuccessful</mark>, it returns a value of 'true'.</td></tr><tr><td>Message</td><td>string</td><td>If the transaction is erroneous, this is the error message provided, and it offers language support based on the locale parameter.</td></tr><tr><td>ClientMessage</td><td>string</td><td>It returns the fixed values of paywall error codes. You can map them.</td></tr></tbody></table>

{% tabs %}
{% tab title="JSON" %}
{% code overflow="wrap" lineNumbers="true" %}

```json5
{
    "Result": {
        "Id": "70b2190b-e47b-455f-b05e-8c132a05534c",
        "Name": "Varsayılan 1",
        "DisplayName": "Paywall Uygulamam",
        "BrandId": 10,
        "ProviderId": 10,
        "RegionId": 1,
        "EndOfDayId": 10,
        "IsReporting": true,
        "IsAsyncPayment": true,
        "IsSocketPayment": false,
        "IsConnected": true,
        "IsDelete": false,
        "IsProd": false,
        "ServiceParameters": { // Provider-specific Key/Value
          "Reporting_ApiKey": "***", // It is returned in the Response.
          "Reporting_ApiToken": "***", // It is returned in the Response.
          "AsyncPayment_ApiKey": "***", // It is returned in the Response.
          "AsyncPayment_ApiToken": "***" // It is returned in the Response.
        }
    },
    "Failed": false,
    "Message": null,
    "ClientMessage": null,
    "Succeeded": true
}
```

{% endcode %}
{% endtab %}
{% endtabs %}
