-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtokeniser.postman_collection.json
More file actions
69 lines (69 loc) · 1.29 KB
/
tokeniser.postman_collection.json
File metadata and controls
69 lines (69 loc) · 1.29 KB
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
{
"info": {
"_postman_id": "36f7e9ce-e2e1-43a5-8e21-557b30656298",
"name": "Tokeniser",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "13500275"
},
"item": [
{
"name": "Get All Tokens",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:8000/api/v1/tokens/",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"tokens",
""
]
}
},
"response": []
},
{
"name": "Get Token",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"request_id\": \"some-random-request-id\",\n \"card\": {\n \"cardholder_name\": \"Tamato Rolli\",\n \"card_number\": \"378282246310005\",\n \"expiry_date\": \"1226\" // MMYY\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:8000/api/v1/tokens/",
"host": [
"localhost"
],
"port": "8000",
"path": [
"api",
"v1",
"tokens",
""
]
}
},
"response": []
},
{
"name": "Get Card Data From Token",
"request": {
"method": "GET",
"header": []
},
"response": []
}
]
}