@transaction.atomic
def transfer(debtor_id, creditor_id, amount, reference=None):
    withdraw(debtor_id, amount, reference)
    deposit(creditor_id, amount, reference)
Withdraw money from debtor's wallet and deposit it into creditor's
dataset/ETHPy150Open uppsaladatavetare/foobar-api/src/wallet/api.py/transfer