Send PII
API reference
Adds originator/sender personally identifiable information to an incoming payment. This endpoint is typically used when a payment requires originator/sender information before it can continue through compliance review and posting workflows.
Endpoint: /v1/payments/{id}/pii
POST
https://sandbox.crbcos.com/crypto/v1/payments/{id}/pii
Path Parameters
- idstringDescription
Body Parameters
- namestringrequiredDescription
- addressLine1stringrequiredDescription
- addressLine2stringDescription
- citystringrequiredDescription
- stateProvincestringrequiredDescription
- countryCodestringrequiredDescription
- postalCodestringrequiredDescription
- allowPiiReusebooleanDescription
Response
- idstringDescription
- referenceIdstringDescription
- partnerIdstringDescription
- productIdstringDescription
- accountNumberstringDescription
- directionstringDescription
- statusstringDescription
- blockchainstringDescription
- currencystringDescription
- unitstringDescription
- amountNativenumberDescription
- amountnumberDescription
- netAmountNativenumberDescription
- netAmountnumberDescription
- feeCurrencystringDescription
- feeUnitstringDescription
- networkFeeNativenumberDescription
- networkFeenumberDescription
- sourceAddressstringDescription
- destinationAddressstringDescription
- createdAtstringDescription
- lastModifiedAtstringDescription
- postingStatusstringDescription
- transactionHashstringDescription
- originatorobjectDescription
- entityTypestringDescription
- fullNamestringDescription
- firstNamestringDescription
- lastNamestringDescription
- entityNamestringDescription
- addressLine1stringDescription
- addressLine2stringDescription
- citystringDescription
- stateProvincestringDescription
- postalCodestringDescription
- countryCodestringDescription
- birthDatestringDescription
- identificationTypestringDescription
- identificationValuestringDescription
- beneficiaryobjectDescription
- entityTypestringDescription
- fullNamestringDescription
- firstNamestringDescription
- lastNamestringDescription
- entityNamestringDescription
- addressLine1stringDescription
- addressLine2stringDescription
- citystringDescription
- stateProvincestringDescription
- postalCodestringDescription
- countryCodestringDescription
- birthDatestringDescription
- identificationTypestringDescription
- identificationValuestringDescription
curl
curl --request POST 'https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii' \
--header "Authorization: Bearer <token>" \
--header "Content-Type: application/json" \
--data '{
"name": "John Doe",
"addressLine1": "2115 Linwood Ave",
"addressLine2": "Apt 4B",
"city": "Fort Lee",
"stateProvince": "NJ",
"countryCode": "US",
"postalCode": "07024",
"allowPiiReuse": true
}'nodejs
var https = require('follow-redirects').https;
var fs = require('fs');
var options = {
'method': 'POST',
'hostname': 'sandbox.crbcos.com',
'path': '/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii',
'headers': {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
},
'maxRedirects': 20
};
var req = https.request(options, function (res) {
var chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function (chunk) {
var body = Buffer.concat(chunks);
console.log(body.toString());
});
res.on("error", function (error) {
console.error(error);
});
});
var postData = JSON.stringify({
"name": "John Doe",
"addressLine1": "2115 Linwood Ave",
"addressLine2": "Apt 4B",
"city": "Fort Lee",
"stateProvince": "NJ",
"countryCode": "US",
"postalCode": "07024",
"allowPiiReuse": true
});
req.write(postData);
req.end();python
import requests
import json
url = "https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii"
payload = json.dumps({
"name": "John Doe",
"addressLine1": "2115 Linwood Ave",
"addressLine2": "Apt 4B",
"city": "Fort Lee",
"stateProvince": "NJ",
"countryCode": "US",
"postalCode": "07024",
"allowPiiReuse": True
})
headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
ruby
require "uri"
require "json"
require "net/http"
url = URI("https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = "Bearer <token>"
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"name": "John Doe",
"addressLine1": "2115 Linwood Ave",
"addressLine2": "Apt 4B",
"city": "Fort Lee",
"stateProvince": "NJ",
"countryCode": "US",
"postalCode": "07024",
"allowPiiReuse": true
})
response = https.request(request)
puts response.read_body
go
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii"
method := "POST"
payload := strings.NewReader(`{
"name": "John Doe",
"addressLine1": "2115 Linwood Ave",
"addressLine2": "Apt 4B",
"city": "Fort Lee",
"stateProvince": "NJ",
"countryCode": "US",
"postalCode": "07024",
"allowPiiReuse": true
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}200
{
"id": "f87ee6d5-7775-46cd-a6de-b4570131ee00",
"referenceId": "CRP147BW063MN5",
"partnerId": "aa554e0a-910c-435f-89ba-b06c01305d57",
"productId": "ac6686be-005f-4b05-bb4a-b42f013bba12",
"accountNumber": "123989446893",
"direction": "Inbound",
"status": "Hold",
"blockchain": "solana",
"currency": "usdc",
"unit": "Mwei",
"amountNative": 1,
"amount": 1000000,
"netAmountNative": 1,
"netAmount": 1000000,
"feeCurrency": "sol",
"feeUnit": "Lamport",
"feeType": "Net",
"feeLevel": "Low",
"networkFeeNative": 8e-05,
"networkFee": 80000,
"sourceAddress": "11111111111111111111111111111111111111111111",
"destinationAddress": "22222222222222222222222222222222222222222222",
"source": "Api",
"createdAt": "2026-05-27T18:33:51.559757Z",
"lastModifiedAt": "2026-05-27T18:33:51.575421Z",
"postingStatus": "Pending",
"transactionHash": "FakeTxHashRepeatingPattern11111111111111111111111111111111111111111111111111111111111111",
"paymentType": "Payment",
"originator": {
"fullName": "John Doe",
"addressLine1": "2115 Linwood",
"addressLine2": "Ave",
"city": "Fort Lee",
"stateProvince": "NJ",
"postalCode": "07058",
"countryCode": "US"
},
"beneficiary": {
"entityType": "Business",
"fullName": "ABC Corp",
"addressLine1": "2114 Linwood Ave",
"city": "Fort Lee",
"stateProvince": "NJ",
"postalCode": "07025",
"countryCode": "US",
"identificationType": "IncorporationNumber",
"identificationValue": "555599998"
},
"postings": []
}
204_CLASS
{
"error": {
"code": 2043,
"message": "The payment PII could not be added"
}
}