def METHOD_NAME(client, response):
    """Get a single capture relevant to payment by payment id."""
    response.get(f"https://api.mollie.com/v2/payments/{PAYMENT_ID}", "payment_single")
    response.get(f"https://api.mollie.com/v2/payments/{PAYMENT_ID}/captures/{CAPTURE_ID}", "capture_single")
    payment = client.payments.get(PAYMENT_ID)
    capture = payment.captures.get(CAPTURE_ID)
    assert isinstance(capture, Capture)
    assert capture.id == CAPTURE_ID
    assert capture.mode == "live"
    assert capture.amount == {"currency": "EUR", "value": "1027.99"}
    assert capture.settlement_amount == {"currency": "EUR", "value": "399.00"}
    assert capture.created_at == "2018-08-02T09:29:56+00:00"
    assert capture.payment_id == PAYMENT_ID
    assert capture.shipment_id == "shp_3wmsgCJN4U"
    assert capture.settlement_id == "stl_jDk30akdN"