Replace the `debit` flag with `kind` attribute.

This way we make it clear about debit and credit
card functions.