def cancel_card_hold(hold):
    result = braintree.Transaction.void(hold.id)
    assert result.is_success

    amount = hold.amount
    participant_id = hold.custom_fields['participant_id']
    log("Canceled a ${:.2f} hold for {}.".format(amount, participant_id))
Cancel the previously created hold on the participant's credit card.
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/billing/exchanges.py/cancel_card_hold