Backfill makeup points for settled deposits missing issuance (admin)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/admin/backfill \
--header 'Content-Type: application/json' \
--cookie pid_access= \
--data '
{
"pid": "<string>",
"take": 123
}
'const options = {
method: 'POST',
headers: {cookie: 'pid_access=', 'Content-Type': 'application/json'},
body: JSON.stringify({pid: '<string>', take: 123})
};
fetch('https://api.pid.peridotvault.com/v1/fiat/admin/backfill', 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/backfill"
payload = {
"pid": "<string>",
"take": 123
}
headers = {
"cookie": "pid_access=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/admin/backfill"
payload := strings.NewReader("{\n \"pid\": \"<string>\",\n \"take\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "pid_access=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 403,
"message": "Admin access required"
}fiat
Backfill makeup points for settled deposits missing issuance (admin)
POST
/
fiat
/
admin
/
backfill
Backfill makeup points for settled deposits missing issuance (admin)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/admin/backfill \
--header 'Content-Type: application/json' \
--cookie pid_access= \
--data '
{
"pid": "<string>",
"take": 123
}
'const options = {
method: 'POST',
headers: {cookie: 'pid_access=', 'Content-Type': 'application/json'},
body: JSON.stringify({pid: '<string>', take: 123})
};
fetch('https://api.pid.peridotvault.com/v1/fiat/admin/backfill', 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/backfill"
payload = {
"pid": "<string>",
"take": 123
}
headers = {
"cookie": "pid_access=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/admin/backfill"
payload := strings.NewReader("{\n \"pid\": \"<string>\",\n \"take\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "pid_access=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 403,
"message": "Admin access required"
}