Skip to content

Commit

Permalink
HW-66628-Version Changed from V3 to V4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkurra-hw committed Sep 1, 2020
1 parent 95321b0 commit 8ad471e
Show file tree
Hide file tree
Showing 69 changed files with 147 additions and 143 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<packaging>jar</packaging>

<name>hyperwallet-java-sdk</name>
<description>An SDK implementation in Java for the v3 REST APIs.</description>
<description>An SDK implementation in Java for the v4 REST APIs.</description>

<url>https://github.com/hyperwallet/java-sdk</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,9 @@ public void testInvalidJsonResponse() throws Exception {
" \"params\" : {\n" +
" \"rel\" : \"self\"\n" +
" },\n" +
" \"href\" : \"https://maelle.paylution.com/rest/v3/payments/pmt-81aad61a-03ff-4995-a2fc-6a6e2d8911af\"\n" +
" \"href\" : \"https://maelle.paylution"
+ ".com/rest/v4/payments/pmt-81aad61a-03ff-4995-a2fc-6a6e2d8911af\"\n"
+
" } ]\n" +
" } {\n" +
" \"token\" : \"pmt-81aad61a-03ff-4995-a2fc-6a6e2d8911af\",\n" +
Expand All @@ -883,7 +885,9 @@ public void testInvalidJsonResponse() throws Exception {
" \"params\" : {\n" +
" \"rel\" : \"self\"\n" +
" },\n" +
" \"href\" : \"https://maelle.paylution.com/rest/v3/payments/pmt-81aad61a-03ff-4995-a2fc-6a6e2d8911af\"\n" +
" \"href\" : \"https://maelle.paylution"
+ ".com/rest/v4/payments/pmt-81aad61a-03ff-4995-a2fc-6a6e2d8911af\"\n"
+
" } ]\n" +
" }")
);
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/integration/createBankCard-request.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
Expand All @@ -9,4 +9,4 @@ curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-8
"transferMethodCountry": "US",
"transferMethodCurrency": "USD",
"type": "BANK_CARD"
}"
}"
4 changes: 2 additions & 2 deletions src/test/resources/integration/createBankCard-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards/trm-7e915660-8c97-47bf-8a4f-0c1bc890d46f"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards/trm-7e915660-8c97-47bf-8a4f-0c1bc890d46f"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"notes": "Closing this account.",
"transition": "DE_ACTIVATED"
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
Expand All @@ -9,4 +9,4 @@ curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-8
"transferMethodCountry": "US",
"transferMethodCurrency": "USD",
"type": "BANK_CARD"
}"
}"
4 changes: 2 additions & 2 deletions src/test/resources/integration/createPaperCheck-request.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"transferMethodCountry": "US",
"transferMethodCurrency": "USD",
"type": "PAPER_CHECK"
}"
}"
4 changes: 2 additions & 2 deletions src/test/resources/integration/createPaperCheck-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"notes": "Closing check.",
"transition": "DE_ACTIVATED"
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-e7b61829-a73a-45dc-930e-afa8a56b923b/paypal-accounts" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-e7b61829-a73a-45dc-930e-afa8a56b923b/paypal-accounts" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
Expand All @@ -8,4 +8,4 @@ curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-e7b61829-a
"transferMethodCurrency": "USD",
"email": "user@domain.com",
"userToken": "usr-e7b61829-a73a-45dc-930e-afa8a56b923b"
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-e7b61829-a73a-45dc-930e-afa8a56b923b/paypal-accounts/trm-54b0db9c-5565-47f7-aee6-685e713595f3"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-e7b61829-a73a-45dc-930e-afa8a56b923b/paypal-accounts/trm-54b0db9c-5565-47f7-aee6-685e713595f3"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"transition": "DE_ACTIVATED",
"notes": "PayPal account removed."
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions/sts-70ddc78a-0c14-4a72-8390-75d49ff376f2"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions/sts-70ddc78a-0c14-4a72-8390-75d49ff376f2"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/payments/pmt-2c059341-8281-4d30-a65d-a49d8e2a9b0f/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/payments/pmt-2c059341-8281-4d30-a65d-a49d8e2a9b0f/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"notes": "Cancel a payment upon customer request.",
"transition": "CANCELLED"
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/payments/pmt-8716ee36-8b8f-4572-bf68-b9d1f956a3a2/status-transitions/sts-46592b6c-7d8b-4e00-abf6-ca5a03880d31"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/payments/pmt-8716ee36-8b8f-4572-bf68-b9d1f956a3a2/status-transitions/sts-46592b6c-7d8b-4e00-abf6-ca5a03880d31"
}
]
}
}
4 changes: 2 additions & 2 deletions src/test/resources/integration/createTransfer-request.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/transfers" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/transfers" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"sourceToken": "usr-c4292f1a-866f-4310-a289-b916853939de",
"destinationToken": "trm-ff53d939-49c3-412f-8d83-ab4f7e83d553",
"clientTransferId": "clientTransferId"
}"
}"
4 changes: 2 additions & 2 deletions src/test/resources/integration/createTransfer-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/transfers/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/transfers/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"notes": "Closing check.",
"transition": "SCHEDULED"
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"notes": "Closing check.",
"transition": "DE_ACTIVATED"
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions" \
curl -X "POST" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions" \
-u testuser@12345678:myAccPassw0rd \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d "{
"transition": "DE_ACTIVATED",
"notes": "PayPal account removed."
}"
}"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions/sts-70ddc78a-0c14-4a72-8390-75d49ff376f2"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/paypal-accounts/trm-da21954a-3910-4d70-b83d-0c2d96104394/status-transitions/sts-70ddc78a-0c14-4a72-8390-75d49ff376f2"
}
]
}
}
4 changes: 2 additions & 2 deletions src/test/resources/integration/getBankCard-request.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards/trm-7e915660-8c97-47bf-8a4f-0c1bc890d46f" \
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards/trm-7e915660-8c97-47bf-8a4f-0c1bc890d46f" \
-u testuser@12345678:myAccPassw0rd \
-H "Accept: application/json"
-H "Accept: application/json"
4 changes: 2 additions & 2 deletions src/test/resources/integration/getBankCard-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards/trm-7e915660-8c97-47bf-8a4f-0c1bc890d46f"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/bank-cards/trm-7e915660-8c97-47bf-8a4f-0c1bc890d46f"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556" \
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556" \
-u testuser@12345678:myAccPassw0rd \
-H "Accept: application/json"
-H "Accept: application/json"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-f695ef43-9614-4e17-9269-902c234616c3/bank-cards/trm-d69300ef-5011-486b-bd2e-bfd8b20fef26/status-transitions/sts-1825afa2-61f1-4860-aa69-a65b9d14f556"
}
]
}
}
4 changes: 2 additions & 2 deletions src/test/resources/integration/getPaperCheck-request.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b" \
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b" \
-u testuser@12345678:myAccPassw0rd \
-H "Accept: application/json"
-H "Accept: application/json"
4 changes: 2 additions & 2 deletions src/test/resources/integration/getPaperCheck-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-c4292f1a-866f-4310-a289-b916853939de/paper-checks/trm-59f67c62-fd06-497e-a9ea-99d6eb38b12b"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7" \
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7" \
-u testuser@12345678:myAccPassw0rd \
-H "Accept: application/json"
-H "Accept: application/json"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"params": {
"rel": "self"
},
"href": "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
"href": "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-1dea80c9-c73e-4490-91b7-097d4a07550f/paper-checks/trm-9e2e1a06-a33b-4c2f-9933-893ae21db442/status-transitions/sts-ed2207f0-39cc-493f-9cd0-24998de0c0f7"
}
]
}
}
4 changes: 2 additions & 2 deletions src/test/resources/integration/getPayPalAccount-request.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v3/users/usr-e7b61829-a73a-45dc-930e-afa8a56b923b/paypal-accounts/trm-54b0db9c-5565-47f7-aee6-685e713595f3" \
curl -X "GET" "https://api.sandbox.hyperwallet.com/rest/v4/users/usr-e7b61829-a73a-45dc-930e-afa8a56b923b/paypal-accounts/trm-54b0db9c-5565-47f7-aee6-685e713595f3" \
-u testuser@12345678:myAccPassw0rd \
-H "Accept: application/json" \
-H "Accept: application/json" \
Loading

0 comments on commit 8ad471e

Please sign in to comment.