This sample code demonstrate how you can get the details of Captured Payment API used: /v1/payments/capture/<$captureId>
create payment to get authorization Id
get the authorization
Create a capture
You can look up a capture by invoking the Capture::get method with a valid ApiContext (See bootstrap.php for more on ApiContext)
ApiContext
GetCapture
This sample code demonstrate how you can get the details of Captured Payment API used: /v1/payments/capture/<$captureId>