-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.vue
96 lines (88 loc) · 2.93 KB
/
index.vue
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
<template>
<v-layout>
<v-flex>
<v-card class="body-1 px-6 py-8 mb-4" max-width="800" outlined>
<h1 class="headline">API viewer</h1>
<p class="mt-6">
Make api calls using your private api key. Explore payload and
response data in the UI.
</p>
<p>
Please use the settings panel on the right to configure your payments
api key.
</p>
<p class="subtitle-2">
(Caution: When using a production api key it will charge your card).
</p>
</v-card>
<v-card class="body-1 px-6 py-8 mb-4" max-width="800" outlined>
<h2 class="title">Wallets endpoints</h2>
<span class="caption">Requires: api key</span>
<br /><br />
<p>Api endpoints to manage wallets.</p>
<p>
<v-chip small color="primary">GET</v-chip>
<a href="/debug/wallets/wallets/fetch">Get all wallets</a>
</p>
<p>
<v-chip small color="primary">GET</v-chip>
<a href="/debug/wallets/wallets/details">
Get wallet details by id
</a>
</p>
<p>
<v-chip small color="primary warning">POST</v-chip>
<a href="/debug/wallets/wallets/create"> Add wallet </a>
</p>
</v-card>
<v-card class="body-1 px-6 py-8 mb-4" max-width="800" outlined>
<h2 class="title">Addresses endpoints</h2>
<span class="caption">Requires: api key</span>
<br /><br />
<p>Api endpoints to manage blockchain addresses.</p>
<p>
<v-chip small color="primary">GET</v-chip>
<a href="/debug/wallets/addresses/fetch">Get all addresses</a>
</p>
<p>
<v-chip small color="primary warning">POST</v-chip>
<a href="/debug/wallets/addresses/create">
Create blockchain address
</a>
</p>
</v-card>
<v-card class="body-1 px-6 py-8 mb-4" max-width="800" outlined>
<h2 class="title">Transfers endpoints</h2>
<span class="caption">Requires: api key</span>
<br /><br />
<p>Api endpoints to manage transfers.</p>
<p>
<v-chip small color="primary">GET</v-chip>
<a href="/debug/wallets/transfers/fetch">Get all transfers</a>
</p>
<p>
<v-chip small color="primary">GET</v-chip>
<a href="/debug/wallets/transfers/details">
Get transfer details by id
</a>
</p>
<p>
<v-chip small color="primary warning">POST</v-chip>
<a href="/debug/wallets/transfers/create"> Add transfer </a>
</p>
</v-card>
</v-flex>
</v-layout>
</template>
<script lang="ts">
import { Vue, Component } from 'nuxt-property-decorator'
import { mapGetters } from 'vuex'
@Component({
computed: {
...mapGetters({
isMarketplace: 'isMarketplace',
}),
},
})
export default class WalletsIndexClass extends Vue {}
</script>