Skip to content

Capture API

The PayHere Capture API enables you to capture your authorized Hold on Card payments on demand.

This REST API requires an HTTP call to the following endpoint:

http
POST /payhere/api/payments/capture

Parameters:

  • authorization_token: Use the authorization_token retrieved from the Authorize API in the request body.
  • amount: The amount to capture.
  • description: Additional details about the capture request.

Released under the MIT License.