List DOKU payment methods + gateway fees (admin)
curl --request GET \
--url https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates"
headers = {"cookie": "pid_access="}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "pid_access=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"methodKey": "<string>",
"percentBps": 123,
"flatIdr": "<string>",
"minIdr": "<string>",
"maxIdr": "<string>",
"enabled": true,
"label": "<string>",
"category": "<string>",
"isCategory": true,
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Unauthorized"
}fiat
List DOKU payment methods + gateway fees (admin)
The category catalog (Virtual Account / e-Wallet / Card / QRIS), one row
each with an enabled switch and fee fields, plus any stored extra keys
(specific codes / ”*”). A method with no row shows as disabled at 0.
GET
/
fiat
/
admin
/
payment-fee-rates
List DOKU payment methods + gateway fees (admin)
curl --request GET \
--url https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates"
headers = {"cookie": "pid_access="}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/admin/payment-fee-rates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "pid_access=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"methodKey": "<string>",
"percentBps": 123,
"flatIdr": "<string>",
"minIdr": "<string>",
"maxIdr": "<string>",
"enabled": true,
"label": "<string>",
"category": "<string>",
"isCategory": true,
"updatedAt": "2023-11-07T05:31:56Z"
}
]{
"statusCode": 401,
"message": "Unauthorized"
}Authorizations
JWT access token set by /auth/google/callback or /auth/refresh
Response
Method rows
DOKU method code, category, or "*" (default)
Floor, whole IDR (0 = unbounded)
Cap, whole IDR (0 = unbounded)
false = method hidden in the wallet and no fee charged
Display label (category name for catalog rows)
True for the fixed category catalog rows