# Detail Paywall

This endpoint retrieves all paywall information for particular paywall ID

#### Method

```

GET https://api.ninjapay.me/webextension/api/v1/fiat/paywall/detail/PAYWALLpvIWfx3NNCPw4JW

```

#### Response

```jsx
{
    "status": true, // Boolean indicating the success status of the response.
    "data": {
        "id": "PAYWALLpvIWfx3NNCPw4JW", // Unique identifier for the paywall.
        "price": "99", // Price of the paywall content, represented as a string.
        "title": "27 July Trailer",  // Title of the paywall content.
        "hide_url": true,  // Boolean indicating whether the URL should be hidden.
        "created_at": "2024-08-05T05:14:54.000Z", // Timestamp of when the paywall was created.
        "currency": "INR", // Currency for the price, here it's Indian Rupees.
        "extras": {},  // Additional data.
        "image": "https://ninjapay.me/profile/883b92a273.jpg", //ninjapay profile avatar url
        "username": "light" // ninjapay username
    },
    "message": "Paywall details" // response message
}

```

#### Code Example

```jsx

const options = {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'API_KEY' //Invoice key required
  }
  };

fetch('https://api.ninjapay.me/webextension/api/v1/fiat/paywall/detail/PAYWALLpvIWfx3NNCPw4JW', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
  
```


---

# 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://ninjapay.gitbook.io/ninjapay-api-docs/how-to/api-reference-p2p/plugins/paywalls/detail-paywall.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.
