22 lines
419 B
Plaintext
22 lines
419 B
Plaintext
syntax = "v1"
|
|
|
|
info (
|
|
title: "payment API"
|
|
desc: "API for ppanel"
|
|
author: "Tension"
|
|
email: "tension@ppanel.com"
|
|
version: "0.0.1"
|
|
)
|
|
|
|
import "../types.api"
|
|
|
|
@server (
|
|
prefix: v1/public/payment
|
|
group: public/payment
|
|
middleware: AuthMiddleware
|
|
)
|
|
service ppanel {
|
|
@doc "Get available payment methods"
|
|
@handler GetAvailablePaymentMethods
|
|
get /methods returns (GetAvailablePaymentMethodsResponse)
|
|
} |