Sub-Account notification inbox (persist-first, corroborated before apply)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/webhook \
--header 'X-EXTERNAL-ID: <x-external-id>'const options = {method: 'POST', headers: {'X-EXTERNAL-ID': '<x-external-id>'}};
fetch('https://api.pid.peridotvault.com/v1/fiat/webhook', 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/webhook"
headers = {"X-EXTERNAL-ID": "<x-external-id>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/webhook"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-EXTERNAL-ID", "<x-external-id>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"ok": true
}fiat
Sub-Account notification inbox (persist-first, corroborated before apply)
No published V2 webhook signing contract — events persist on X-EXTERNAL-ID and apply only after DOKU transactions-status corroboration. Public; always 200 after persist.
POST
/
fiat
/
webhook
Sub-Account notification inbox (persist-first, corroborated before apply)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/webhook \
--header 'X-EXTERNAL-ID: <x-external-id>'const options = {method: 'POST', headers: {'X-EXTERNAL-ID': '<x-external-id>'}};
fetch('https://api.pid.peridotvault.com/v1/fiat/webhook', 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/webhook"
headers = {"X-EXTERNAL-ID": "<x-external-id>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/webhook"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-EXTERNAL-ID", "<x-external-id>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"ok": true
}