ruby-client/features/refunds.feature
2015-03-03 01:01:19 +00:00

21 lines
605 B
Gherkin

@refunds
Feature: issuing a refund
The merchant wants to issue a refund
So that they can serve their customers
Scenario: creating a refund
Given the user creates a refund
Then they will receive a refund id
Scenario: retrieving a refund
Given the user requests a specific refund
Then they will receive the refund
Scenario: retrieving all refunds
Given the user requests all refunds for an invoice
Then they will receive an array of refunds
Scenario: canceling a refund
Given a properly formatted cancellation request
Then the refund will be cancelled