Files
sb-front/src/api/billingApi.js
T

14 lines
335 B
JavaScript
Raw Normal View History

import http from './http'
// 백엔드 /api/billing 엔드포인트와 매핑
export const billingApi = {
// 구독 상품 목록
products() {
return http.get('/billing/products')
},
// Google Play 구매 검증 → 멤버십 부여
verifyGoogle(payload) {
return http.post('/billing/google/verify', payload)
},
}