File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
pages/debug/payments/crypto Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -370,8 +370,8 @@ export default class DefaultLayoutsClass extends Vue {
370
370
to: ' /debug/payments/create' ,
371
371
},
372
372
{
373
- title: ' POST /beta/ payments' ,
374
- to: ' /debug/beta/ payments/create' ,
373
+ title: ' POST /payments/crypto ' ,
374
+ to: ' /debug/payments/crypto /create' ,
375
375
},
376
376
{
377
377
title: ' GET /payments/{id}' ,
Original file line number Diff line number Diff line change 1
1
import get from 'lodash/get'
2
2
import axios from 'axios'
3
3
4
- import { getAPIHostname } from '.. /apiTarget'
4
+ import { getAPIHostname } from './apiTarget'
5
5
6
6
interface ProtocolMetadata {
7
7
type : string
@@ -67,7 +67,7 @@ function getInstance() {
67
67
* @param {* } payload
68
68
*/
69
69
function createCryptoPayment ( payload : CreateCryptoPaymentPayload ) {
70
- const url = '/v1/payments/beta '
70
+ const url = '/v1/payments/crypto '
71
71
return instance . post ( url , payload )
72
72
}
73
73
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default {
66
66
'~/plugins/businessAccount/payoutsApi' ,
67
67
'~/plugins/businessAccount/transfersApi' ,
68
68
'~/plugins/cryptoPaymentMetadataApi' ,
69
- '~/plugins/beta/paymentsApi ' ,
69
+ '~/plugins/cryptoPaymentsApi ' ,
70
70
'~/plugins/beta/addressBookApi' ,
71
71
'~/plugins/checkoutSessionsApi' ,
72
72
] ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ import { mapGetters } from 'vuex'
99
99
import { v4 as uuidv4 } from ' uuid'
100
100
import RequestInfo from ' @/components/RequestInfo.vue'
101
101
import ErrorSheet from ' @/components/ErrorSheet.vue'
102
- import { CreateCryptoPaymentPayload } from ' ~/lib/beta/paymentsApi '
102
+ import { CreateCryptoPaymentPayload } from ' ~/lib/cryptoPaymentsApi '
103
103
104
104
@Component ({
105
105
components: {
Original file line number Diff line number Diff line change 1
1
import paymentsApiBeta , {
2
2
CreateCryptoPaymentPayload ,
3
- } from '@/lib/beta/paymentsApi '
3
+ } from '@/lib/cryptoPaymentsApi '
4
4
5
5
declare module 'vue/types/vue' {
6
6
interface Vue {
You can’t perform that action at this time.
0 commit comments