Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35776fa
commit 1e61843
Showing
5 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Feature: Debit a card or bank account | ||
Debits is the action of charging a customers card or bank account. | ||
Upon a debit succeeding, the value will be reflected in the marketplace's escrow balance | ||
or in the escrow for an order. | ||
|
||
Scenario: Debiting a card | ||
Given I have tokenized a card | ||
When I POST to /cards/:card_id/debits with the JSON API body: | ||
""" | ||
{ | ||
"amount": 20000 | ||
} | ||
""" | ||
Then I should get a 201 Created status code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters