mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 11:40:28 -05:00
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
// @ts-ignore
|
|
/* eslint-disable */
|
|
import request from '@/utils/request';
|
|
|
|
/** Get available payment methods GET /v1/public/payment/methods */
|
|
export async function getAvailablePaymentMethods(options?: { [key: string]: any }) {
|
|
return request<API.Response & { data?: API.GetAvailablePaymentMethodsResponse }>(
|
|
'/v1/public/payment/methods',
|
|
{
|
|
method: 'GET',
|
|
...(options || {}),
|
|
},
|
|
);
|
|
}
|