/// <summary>
/// Captures a payment for an order, by ID. To use this call, the original payment call must specify an intent of `order`. In the JSON request body, include the payment amount and indicate whether this capture is the final capture for the authorization.
/// </summary>
/// <param name="apiContext">APIContext used for the API call.</param>
/// <param name="capture">Capture</param>
/// <returns>Capture</returns>
public Capture Capture(APIContext apiContext, Capture capture)
{
return(Order.Capture(apiContext, this.id, capture));
}