-
Notifications
You must be signed in to change notification settings - Fork 0
/
promptpay-poc.postman_collection.json
123 lines (123 loc) · 2.94 KB
/
promptpay-poc.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"info": {
"_postman_id": "3cfa54ea-54bb-4e1c-93dc-90e41f90c074",
"name": "promptpay-poc",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Asset - Issue",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"disabled": false
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"amount\":2000,\n\t\"currency\": \"THB\",\n\t\"to\": \"\"\n}"
},
"url": "http://localhost:10007/api/pp/asset/issue"
},
"response": []
},
{
"name": "Asset - Transfer",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"disabled": false
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"amount\":1000,\n\t\"currency\": \"THB\",\n\t\"to\": \"BankB\"\n}"
},
"url": "http://localhost:10007/api/pp/asset/transfer"
},
"response": []
},
{
"name": "PromptPay - Name Issue",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"disabled": false
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"namespace\": \"cid\",\n\t\"value\": \"1234567890123\",\n\t\"account\": \"1234567890\",\n\t\"accountName\": \"PP Joker\"\n}"
},
"url": "http://localhost:10010/api/pp/promptpay/name/issue"
},
"response": []
},
{
"name": "PromptPay - View Private Data",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"disabled": false
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": "http://localhost:10010/api/pp/promptpay/name/EEB9FE05CBE099B89B3983F5C98B2093BBC9945C62F22B2B9A0CE60A2647FA42/private"
},
"response": []
},
{
"name": "PromptPay - Transaction Propose",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"disabled": false
}
],
"body": {
"mode": "raw",
"raw": "{\n\t \"debtor\": \"BankB\",\n \"debtorAcct\" : \"1111111111\",\n \"creditor\": \"BankA\",\n \"creditorAcct\": \"\",\n \"amount\": 500,\n \"currency\": \"THB\",\n \"identifier\": \"EEB9FE05CBE099B89B3983F5C98B2093BBC9945C62F22B2B9A0CE60A2647FA42\"\n}"
},
"url": "http://localhost:10013/api/pp/promptpay/transfer/propose"
},
"response": []
},
{
"name": "PromptPay - Transaction Confirm",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"disabled": false
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": "http://localhost:10013/api/pp/promptpay/transfer/confirm/6f5f68e6-81fa-4545-b565-f1d6676405bb"
},
"response": []
}
]
}