/
README.md
103 lines (48 loc) · 1.72 KB
/
README.md
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
# Recipes
## Get Keys
Make sure you have your Velo Sandbox API Key and Secret
```
Note: whoever sets your sandbox payor account sets up your API credentials and shares them with you in some opsec appropriate manner
```
Create your 64Bit encoded key with them Tool to do the encoding: https://codebeautify.org/base64-encode
```
“veloapikeystring:veloapisecretstring”
```
in the top window, be sure to put the `:` inbetween your key and secret, and that you don’t have any spaces before, after or inbetween
Copy your encoded key 64BITKEY
```
Tip: save it in the same place you’ve saved your API Key and Secret
```
## Get Postman
Install Postman local client https://www.getpostman.com
![](assets/get-postman.png)
Register & create a login
Click this link to install the Velo Recipe Collection https://documenter.getpostman.com/view/343005/SVmr1ML3
- Click the ‘Run in Postman”
![](assets/get-postman-1.png)
- Click Open with… “Postman for Mac”
![](assets/get-postman-2.png)
## Setup Variables
Set global variables in postman
- Click the gear icon
![](assets/setup-variables.png)
## Setup Postman Variables
Set global variables in postman
- Click `Globals` Button
- Create new Variables:
- Velo64BitAuthorization
- VeloBearerToken
- VeloPayorID
- Set Variable `Velo64BitAuthorization = "YOUR64BITKEY"`
![](assets/setup-postman-variables.png)
## Set payorId
Fetch your bearer token
- Click ‘FetchBearerToken’
- Click ‘Send’
![](assets/set-payorid-1.png)
Success looks like this
```
Note: your token is good for 30 mins (1799 secs), and will persist for all API calls in the collection. After 30 minutes click ‘Send’ again.
```
![](assets/set-payorid-2.png)