Is this really how you do a debit in 1.x? Barf. Isn't this deprecated?

What about $card->debits->create(array("amount" => "5566")); ?