Internal-credit send inquiry (moves no money, phase-1 policy enforced)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/transfers/inquiry \
--header 'Content-Type: application/json' \
--cookie pid_access= \
--data '
{
"amountIdr": "<string>",
"beneficiaryPid": "<string>",
"remark": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'pid_access=', 'Content-Type': 'application/json'},
body: JSON.stringify({amountIdr: '<string>', beneficiaryPid: '<string>', remark: '<string>'})
};
fetch('https://api.pid.peridotvault.com/v1/fiat/transfers/inquiry', 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/transfers/inquiry"
payload = {
"amountIdr": "<string>",
"beneficiaryPid": "<string>",
"remark": "<string>"
}
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/transfers/inquiry"
payload := strings.NewReader("{\n \"amountIdr\": \"<string>\",\n \"beneficiaryPid\": \"<string>\",\n \"remark\": \"<string>\"\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))
}{
"id": "<string>",
"entryGroup": "<string>",
"grossIdr": "<string>",
"feeIdr": "<string>",
"netIdr": "<string>",
"feePolicyVersion": 123,
"beneficiaryPid": "<string>"
}{
"statusCode": 400,
"message": [
"handle must be 3-20 chars: lowercase letters, numbers, underscore"
]
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 403,
"message": "Admin access required"
}fiat
Internal-credit send inquiry (moves no money, phase-1 policy enforced)
GROSS-in quote pinned by feePolicyVersion. Phase-1 policy (escrow-only): one side of every send must be an allowlisted app PID.
POST
/
fiat
/
transfers
/
inquiry
Internal-credit send inquiry (moves no money, phase-1 policy enforced)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/transfers/inquiry \
--header 'Content-Type: application/json' \
--cookie pid_access= \
--data '
{
"amountIdr": "<string>",
"beneficiaryPid": "<string>",
"remark": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'pid_access=', 'Content-Type': 'application/json'},
body: JSON.stringify({amountIdr: '<string>', beneficiaryPid: '<string>', remark: '<string>'})
};
fetch('https://api.pid.peridotvault.com/v1/fiat/transfers/inquiry', 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/transfers/inquiry"
payload = {
"amountIdr": "<string>",
"beneficiaryPid": "<string>",
"remark": "<string>"
}
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/transfers/inquiry"
payload := strings.NewReader("{\n \"amountIdr\": \"<string>\",\n \"beneficiaryPid\": \"<string>\",\n \"remark\": \"<string>\"\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))
}{
"id": "<string>",
"entryGroup": "<string>",
"grossIdr": "<string>",
"feeIdr": "<string>",
"netIdr": "<string>",
"feePolicyVersion": 123,
"beneficiaryPid": "<string>"
}{
"statusCode": 400,
"message": [
"handle must be 3-20 chars: lowercase letters, numbers, underscore"
]
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 403,
"message": "Admin access required"
}Authorizations
JWT access token set by /auth/google/callback or /auth/refresh