-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ROC-6905 Add cancel payment operation
- Loading branch information
Showing
7 changed files
with
196 additions
and
39 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
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
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
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
24 changes: 24 additions & 0 deletions
24
src/test/resources/mappings/cancel-payment-successful.json
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,24 @@ | ||
{ | ||
"id": "21e5df7c-6afa-404c-a44f-8354e18297c3", | ||
"name": "card-payments_rc-7238-3245-0193-7732", | ||
"request": { | ||
"url": "/card-payments/RC-7238-3245-0193-7732/cancel", | ||
"method": "POST" | ||
}, | ||
"response": { | ||
"status": 204, | ||
"body": "{}", | ||
"headers": { | ||
"X-Content-Type-Options": "nosniff", | ||
"X-XSS-Protection": "1; mode=block", | ||
"Cache-Control": "no-cache, no-store, max-age=0, must-revalidate", | ||
"Pragma": "no-cache", | ||
"Expires": "0", | ||
"X-Frame-Options": "DENY", | ||
"Content-Type": "application/json;charset=UTF-8", | ||
"Date": "Mon, 19 Aug 2019 09:46:54 GMT" | ||
} | ||
}, | ||
"uuid": "21e5df7c-6afa-404c-a44f-8354e18297c3", | ||
"persistent": true | ||
} |