You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { PAYMENT_API_URL } from 'config'
|
|
import { callApi } from 'helpers'
|
|
|
|
export const cancelSubscribe = (id: number): Promise<unknown> => {
|
|
const config = {
|
|
method: 'DELETE',
|
|
}
|
|
|
|
return callApi({
|
|
config,
|
|
url: `${PAYMENT_API_URL}/api/v2/general/subscription/${id}`,
|
|
})
|
|
}
|
|
|