Internal-credit journal export + replay verdict
curl --request GET \
--url https://api.pid.peridotvault.com/v1/fiat/ledger \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/ledger', 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/ledger"
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/ledger"
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))
}{
"pid": "<string>",
"balanceIdr": "<string>",
"treasuryCreditedIdr": "<string>",
"inFlight": [
"<string>"
],
"errors": [
"<string>"
],
"rows": [
{}
]
}{
"statusCode": 401,
"message": "Unauthorized"
}fiat
Internal-credit journal export + replay verdict
GET
/
fiat
/
ledger
Internal-credit journal export + replay verdict
curl --request GET \
--url https://api.pid.peridotvault.com/v1/fiat/ledger \
--cookie pid_access=const options = {method: 'GET', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/ledger', 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/ledger"
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/ledger"
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))
}{
"pid": "<string>",
"balanceIdr": "<string>",
"treasuryCreditedIdr": "<string>",
"inFlight": [
"<string>"
],
"errors": [
"<string>"
],
"rows": [
{}
]
}{
"statusCode": 401,
"message": "Unauthorized"
}