import json


def captureCardTransactionPayload(amount, capture_reference):
    """
    Create JSON payload for capture transaction API call
    :param amount: Integer - Amount of currency's smallest denomination to be moved
    :param capture_reference: String - A reference specified by the merchant to identify the transaction
    :return: JSON Payload for API call
    """

    payload_py = {
        "amount": amount,
        "capture_reference": capture_reference
    }

    payload_json = json.dumps(payload_py)

    return payload_json