We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14eb5d1 commit 607823eCopy full SHA for 607823e
2 files changed
http/http-client.env.json
@@ -1,5 +1,6 @@
1
{
2
"local": {
3
- "commerce-api": "http://localhost:8080"
+ "commerce-api": "http://localhost:8080",
4
+ "pg-simulator": "http://localhost:8082"
5
}
6
http/pg-simulator/payments.http
@@ -0,0 +1,20 @@
+### 결제 요청
+POST {{pg-simulator}}/api/v1/payments
+X-USER-ID: 135135
+Content-Type: application/json
+
+{
7
+ "orderId": "1351039135",
8
+ "cardType": "SAMSUNG",
9
+ "cardNo": "1234-5678-9814-1451",
10
+ "amount" : "5000",
11
+ "callbackUrl": "http://localhost:8080/api/v1/examples/callback"
12
+}
13
14
+### 결제 정보 확인
15
+GET {{pg-simulator}}/api/v1/payments/20250816:TR:9577c5
16
17
18
+### 주문에 엮인 결제 정보 조회
19
+GET {{pg-simulator}}/api/v1/payments?orderId=1351039135
20
0 commit comments