def sync_payment_source_from_stripe_data(customer, source):
    if source["id"].startswith("card_"):
        return sync_card(customer, source)
    else:
        return sync_bitcoin(customer, source)
Syncronizes the data for a payment source locally for a given customer
dataset/ETHPy150Open pinax/pinax-stripe/pinax/stripe/actions/sources.py/sync_payment_source_from_stripe_data