Active platform service-fee policy
curl --request GET \
--url https://api.pid.peridotvault.com/v1/fiat/fee-policy \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/fee-policy', 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/fee-policy"
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/fee-policy"
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))
}{
"version": 123,
"percentBps": 123,
"minIdr": "<string>",
"maxIdr": "<string>",
"taxBps": 123,
"active": true
}{
"statusCode": 401,
"message": "Unauthorized"
}fiat
Active platform service-fee policy
GET
/
fiat
/
fee-policy
Active platform service-fee policy
curl --request GET \
--url https://api.pid.peridotvault.com/v1/fiat/fee-policy \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/fee-policy', 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/fee-policy"
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/fee-policy"
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))
}{
"version": 123,
"percentBps": 123,
"minIdr": "<string>",
"maxIdr": "<string>",
"taxBps": 123,
"active": true
}{
"statusCode": 401,
"message": "Unauthorized"
}Authorizations
JWT access token set by /auth/google/callback or /auth/refresh
Response
Fee policy
Basis points, e.g. 10 = 0.1%
Fee floor in whole IDR (0 = no floor). Default Rp100
Fee cap in whole IDR (0 = uncapped). Default 0 (no cap)
PPN (VAT) on the PeridotID fee, basis points (1100 = 11%)