---
title: "Capture Order"
method: POST
path: "/api/v1/payments/paypal/orders/{purchase_id}/capture"
tags: ["Payments"]
---

# Capture Order

`POST /api/v1/payments/paypal/orders/{purchase_id}/capture`

## 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/orders/{purchase_id}/capture`
- Auth: none declared

Capture funds for an approved order + grant access.

Called by the frontend right after the user approves at PayPal. The
webhook will fire the same capture path (idempotent) as a
belt-and-braces guarantee.

## Path parameters

- `purchase_id` 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)
