> For the complete documentation index, see [llms.txt](https://developer.paywall.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.paywall.one/payment-orchestration-integration-document/wallet-services/7.-campaign/4.-get-by-id.md).

# 4. Get by Id

## **Get Record Information by Id**

<mark style="color:green;">`GET`</mark>`{{WalletUrl}}/api/v1/campaign?Id=0000-0000-0000-0000-0000`

{% hint style="info" %}
**Note:** To use this service, the **apikeypublic** and **apiclientpublic** parameters must be included in the Header field.

\
[<mark style="color:green;">**WalletAPI Address**</mark>](/payment-orchestration-integration-document/environment.md)
{% endhint %}

**The parameters that need to be sent to the service are as follows:**

<table><thead><tr><th width="162">Parameter</th><th width="79">Type</th><th width="107">Required</th><th width="403">Description</th></tr></thead><tbody><tr><td>apikeypublic</td><td>string</td><td>Yes</td><td>It is the authentication key used to provide general API access.</td></tr><tr><td>apiclientpublic</td><td>string</td><td>Yes</td><td>It is the public identification key that defines the client application.</td></tr></tbody></table>

{% tabs %}
{% tab title="Service Reguest - JSON" %}
{% code lineNumbers="true" %}

```json
{
    "Value": {
        "Id": "44e93e35-d427-4ae9-a11c-b122447b6ac4",
        "Name": "test",
        "Description": "<string>",
        "MinimumDepositAmount": 100.00,
        "MaximumDepositAmount": 102.00,
        "BonusType": "Fixed",
        "BonusValue": 1.00,
        "CampaignType": "CashBack",
        "StartDate": "2025-09-25",
        "EndDate": "2025-09-27",
        "IsActive": true,
        "MerchantId": 2071,
        "TotalBonusGiven": 0.00,
        "CreatedAt": "2025-04-30T14:17:27.331977Z",
        "UpdatedAt": "2025-05-01T00:17:55.993342Z"
    },
    "Errors": [],
    "IsSuccess": true,
    "IsFailure": false
}
```

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

## **Service Response**

<table><thead><tr><th width="192">Parameter</th><th width="147.89192708333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>IsFailure</td><td>bool</td><td>Indicates that an error occurred during the operation. If true, an error exists.</td></tr><tr><td>IsSuccess</td><td>bool</td><td>Indicates that the operation was successfully completed.</td></tr><tr><td>Errors</td><td>Array</td><td>A list containing error messages that occurred during the service call.</td></tr><tr><td>Value</td><td>Array</td><td>Contains the content information returned if the service is successful.</td></tr></tbody></table>

## **Service Response** (Value)

<table><thead><tr><th width="234.05859375">Parameter</th><th width="162.38671875">Type</th><th width="348.94140625">Description</th></tr></thead><tbody><tr><td>Id</td><td>Guid</td><td>It is the unique identifier generated by the system for the campaign.</td></tr><tr><td>Name</td><td>string</td><td>It is the defined name information of the campaign on the system.</td></tr><tr><td>Description</td><td>string</td><td>It is a descriptive text that provides information about the campaign.</td></tr><tr><td>MinimumDepositAmount</td><td>decimal</td><td>It is the minimum deposit amount required for the campaign to be valid.</td></tr><tr><td>MaximumDepositAmount</td><td>decimal</td><td>It is the maximum deposit limit applicable to benefit from the campaign.</td></tr><tr><td>BonusType</td><td>string</td><td>Specifies the type of bonus (e.g., fixed amount, percentage).</td></tr><tr><td>BonusValue</td><td>decimal</td><td>The numeric value of the bonus within the specified campaign.</td></tr><tr><td>CampaignType</td><td>string</td><td>Indicates the category or usage type to which the campaign belongs.</td></tr><tr><td>StartDate</td><td>DateTime</td><td>It is the date on which the campaign takes effect.</td></tr><tr><td>EndDate</td><td>DateTime</td><td>Indicates the date on which the campaign's validity will end.</td></tr><tr><td>IsActive</td><td>bool</td><td>It is the status value indicating whether the campaign is currently active.</td></tr><tr><td>MerchantId</td><td>Guid</td><td>It is the unique identifier of the business or seller defining the campaign.</td></tr><tr><td>TotalBonusGiven</td><td>decimal</td><td>It is the total bonus amount given so far through this campaign.</td></tr><tr><td>CreatedAt</td><td>DateTime</td><td>Represents the time when the record was created.</td></tr><tr><td>UpdatedAt</td><td>DateTime</td><td>Indicates the date when it was last updated.</td></tr></tbody></table>


---

# 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://developer.paywall.one/payment-orchestration-integration-document/wallet-services/7.-campaign/4.-get-by-id.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.
