> For the complete documentation index, see [llms.txt](https://developers.primeiropay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.primeiropay.com/getting-started/server-to-server-api/capture-1.md).

# Capture

&#x20;A capture is used to request clearing for previously authorized funds.  A capture request is performed against a previous preauthorization (PA) payment by referencing its `payment.id` and sending a POST request over HTTPS to the /payments/{id} endpoint.  Captures can be for full or partial amounts and multiple capture requests against the same PA are allowed.

(This method is only used in Brazil at the moment)

Example:

```
curl https://test.oppwa.com/v1/payments/{id} \
 -d "entityId=8a8294184e736012014e78a17a5615ac" \
 -d "amount=10.00" \
 -d "currency=EUR" \
 -d "paymentType=CP" \
 -H "Authorization: Bearer OGE4Mjk0MTg0ZTczNjAxMjAxNGU3OGExN2E2YTE1YjB8ZjJGRUtacXRCUA=="
```

{% file src="/files/-MGhhB3nqBo3Hg48PhZ4" %}
Capture Json Request
{% endfile %}
