Closed remear closed 10 years ago
why should it fail?
it's a debit card
Spec says this should fail. https://github.com/matin/balanced-api/blob/master/features/rest/push_to_card.feature#L73-L107
spec is wrong
@remear @cieplak Updated the card number to a credit card, which should fail and produce a 409.
Should 409 and create a
Credit
with a status offailed
but does not throw a 409 and creates aCredit
with a status ofsucceeded
.Providing a destination card in the credit payload results in the same response: