-
Notifications
You must be signed in to change notification settings - Fork 30
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
7579dee
commit b440bee
Showing
23 changed files
with
215 additions
and
7 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
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
10 changes: 10 additions & 0 deletions
10
src/test/resources/integration/createVenmoAccount-request.txt
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,10 @@ | ||
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Content-Type: application/json" \ | ||
-H "Accept: application/json" \ | ||
-d "{ | ||
"type": "VENMO_ACCOUNT", | ||
"transferMethodCountry": "US", | ||
"transferMethodCurrency": "USD", | ||
"accountId": "9876543210" | ||
}" |
17 changes: 17 additions & 0 deletions
17
src/test/resources/integration/createVenmoAccount-response.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,17 @@ | ||
{ | ||
"token": "trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b", | ||
"type": "VENMO_ACCOUNT", | ||
"status": "ACTIVATED", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transferMethodCountry": "US", | ||
"transferMethodCurrency": "USD", | ||
"accountId": "9876543210", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts/trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b" | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/resources/integration/createVenmoAccountStatusTransition-request.txt
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,8 @@ | ||
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Content-Type: application/json" \ | ||
-H "Accept: application/json" \ | ||
-d "{ | ||
"transition": "DE_ACTIVATED", | ||
"notes": "Venmo account removed." | ||
}" |
16 changes: 16 additions & 0 deletions
16
src/test/resources/integration/createVenmoAccountStatusTransition-response.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,16 @@ | ||
{ | ||
"token": "sts-6a8c70b6-3634-4d83-beac-ea7050311ed1", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transition": "DE_ACTIVATED", | ||
"fromStatus": "ACTIVATED", | ||
"toStatus": "DE_ACTIVATED", | ||
"notes": "Venmo account removed.", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions/sts-6a8c70b6-3634-4d83-beac-ea7050311ed1" | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/resources/integration/deactivateVenmoAccount-request.txt
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,8 @@ | ||
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Content-Type: application/json" \ | ||
-H "Accept: application/json" \ | ||
-d "{ | ||
"transition": "DE_ACTIVATED", | ||
"notes": "Venmo account removed." | ||
}" |
16 changes: 16 additions & 0 deletions
16
src/test/resources/integration/deactivateVenmoAccount-response.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,16 @@ | ||
{ | ||
"token": "sts-6a8c70b6-3634-4d83-beac-ea7050311ed1", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transition": "DE_ACTIVATED", | ||
"fromStatus": "ACTIVATED", | ||
"toStatus": "DE_ACTIVATED", | ||
"notes": "Venmo account removed.", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions/sts-6a8c70b6-3634-4d83-beac-ea7050311ed1" | ||
} | ||
] | ||
} |
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,4 @@ | ||
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts/trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Accept: application/json" \ | ||
|
17 changes: 17 additions & 0 deletions
17
src/test/resources/integration/getVenmoAccount-response.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,17 @@ | ||
{ | ||
"token": "trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b", | ||
"type": "VENMO_ACCOUNT", | ||
"status": "ACTIVATED", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transferMethodCountry": "US", | ||
"transferMethodCurrency": "USD", | ||
"accountId": "9876543210", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts/trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
src/test/resources/integration/getVenmoAccountStatusTransition-request.txt
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,3 @@ | ||
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions/sts-6a8c70b6-3634-4d83-beac-ea7050311ed1" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Accept: application/json" \ |
16 changes: 16 additions & 0 deletions
16
src/test/resources/integration/getVenmoAccountStatusTransition-response.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,16 @@ | ||
{ | ||
"token": "sts-6a8c70b6-3634-4d83-beac-ea7050311ed1", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transition": "DE_ACTIVATED", | ||
"fromStatus": "ACTIVATED", | ||
"toStatus": "DE_ACTIVATED", | ||
"notes": "Venmo account is removed.", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions/sts-6a8c70b6-3634-4d83-beac-ea7050311ed1" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
src/test/resources/integration/listVenmoAccountStatusTransitions-request.txt
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,3 @@ | ||
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Accept: application/json" \ |
31 changes: 31 additions & 0 deletions
31
src/test/resources/integration/listVenmoAccountStatusTransitions-response.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,31 @@ | ||
{ | ||
"hasNextPage": false, | ||
"hasPreviousPage": false, | ||
"limit": 10, | ||
"data": [ | ||
{ | ||
"token": "sts-6a8c70b6-3634-4d83-beac-ea7050311ed1", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transition": "DE_ACTIVATED", | ||
"fromStatus": "ACTIVATED", | ||
"toStatus": "DE_ACTIVATED", | ||
"notes": "Venmo account is removed.", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions/sts-6a8c70b6-3634-4d83-beac-ea7050311ed1" | ||
} | ||
] | ||
} | ||
], | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-6838bf6a-4917-46c5-b924-b9fa4153d645/venmo-accounts/trm-f6dd5ef3-c534-4d28-bc2e-ddd15822e20f/status-transitions?offset=0&limit=10" | ||
} | ||
] | ||
} |
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,3 @@ | ||
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Accept: application/json" \ |
32 changes: 32 additions & 0 deletions
32
src/test/resources/integration/listVenmoAccounts-response.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,32 @@ | ||
{ | ||
"hasNextPage": false, | ||
"hasPreviousPage": false, | ||
"limit": 10, | ||
"data": [ | ||
{ | ||
"token": "trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b", | ||
"type": "VENMO_ACCOUNT", | ||
"status": "ACTIVATED", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transferMethodCountry": "US", | ||
"transferMethodCurrency": "USD", | ||
"accountId": "9876543210", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts/trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b" | ||
} | ||
] | ||
} | ||
], | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts?offset=0&limit=10" | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
src/test/resources/integration/updateVenmoAccount-request.txt
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,7 @@ | ||
curl -X "PUT" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts/trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b" \ | ||
-u testuser@12345678:myAccPassw0rd \ | ||
-H "Content-Type: application/json" \ | ||
-H "Accept: application/json" \ | ||
-d "{ | ||
"accountId": "9620766696" | ||
}" |
17 changes: 17 additions & 0 deletions
17
src/test/resources/integration/updateVenmoAccount-response.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,17 @@ | ||
{ | ||
"token": "trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b", | ||
"type": "VENMO_ACCOUNT", | ||
"status": "ACTIVATED", | ||
"createdOn": "2019-01-09T22:50:14", | ||
"transferMethodCountry": "US", | ||
"transferMethodCurrency": "USD", | ||
"accountId": "9620766696", | ||
"links": [ | ||
{ | ||
"params": { | ||
"rel": "self" | ||
}, | ||
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/venmo-accounts/trm-ac5727ac-8fe7-42fb-b69d-977ebdd7b48b" | ||
} | ||
] | ||
} |