---
title: "Dataset Access Check"
method: GET
path: "/api/v1/payments/paypal/dataset-access"
tags: ["Payments"]
---

# Dataset Access Check

`GET /api/v1/payments/paypal/dataset-access`

## Request

- Base URL: `https://api.africadb.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.africadb.com/api/v1/payments/paypal/dataset-access`
- Auth: none declared

Frontend polls this to decide whether to show 'Buy' or 'Download'.

## Query parameters

- `partner_id` string, required
- `dataset_slug` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/africadb/apis/africa-data-bank-api.md) · [All operations](https://skmtc.dev/africadb/apis/africa-data-bank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/africadb/apis/africa-data-bank-api/revisions/2a50da82945b?raw)
