---
title: Send PII
slug: crossriver-apis/onchain-payments/apis/send-pii
icon: {"apiMethod":"POST"}
createdAt: 2026-09-29T15:33:38.161Z
---

## 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.

:::ApiMethodV2
```json
{
  "name": "Endpoint: /v1/payments/{id}/pii",
  "method": "POST",
  "url": "https://sandbox.crbcos.com/crypto/v1/payments/{id}/pii",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "curl-example",
        "language": "curl",
        "code": "curl -X POST https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii \\\\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\\\n  -H \"Content-Type: application/json\" \\\\\n  -d '{\n  \"name\": \"John Doe\",\n  \"addressLine1\": \"2115 Linwood Ave\",\n  \"addressLine2\": \"Apt 4B\",\n  \"city\": \"Fort Lee\",\n  \"stateProvince\": \"NJ\",\n  \"countryCode\": \"US\",\n  \"postalCode\": \"07024\",\n  \"allowPiiReuse\": true\n}'"
      },
      {
        "id": "nodejs-example",
        "language": "nodejs",
        "code": "var https = require('follow-redirects').https;\nvar fs = require('fs');\n\nvar options = {\n  'method': 'POST',\n  'hostname': 'sandbox.crbcos.com',\n  'path': '/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii //',\n  'headers': {\n    'Content-Type': 'application/json'\n  },\n  'maxRedirects': 20\n};\n\nvar req = https.request(options, function (res) {\n  var chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function (chunk) {\n    var body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n\n  res.on(\"error\", function (error) {\n    console.error(error);\n  });\n});\n\nvar postData =  \"{\\r\\n  \\\"name\\\": \\\"John Doe\\\",\\r\\n  \\\"addressLine1\\\": \\\"2115 Linwood Ave\\\",\\r\\n  \\\"addressLine2\\\": \\\"Apt 4B\\\",\\r\\n  \\\"city\\\": \\\"Fort Lee\\\",\\r\\n  \\\"stateProvince\\\": \\\"NJ\\\",\\r\\n  \\\"countryCode\\\": \\\"US\\\",\\r\\n  \\\"postalCode\\\": \\\"07024\\\",\\r\\n  \\\"allowPiiReuse\\\": true\\r\\n}'\";\n\nreq.write(postData);\n\nreq.end();"
      },
      {
        "id": "python-example",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"sandbox.crbcos.com\")\npayload = \"{\\r\\n  \\\"name\\\": \\\"John Doe\\\",\\r\\n  \\\"addressLine1\\\": \\\"2115 Linwood Ave\\\",\\r\\n  \\\"addressLine2\\\": \\\"Apt 4B\\\",\\r\\n  \\\"city\\\": \\\"Fort Lee\\\",\\r\\n  \\\"stateProvince\\\": \\\"NJ\\\",\\r\\n  \\\"countryCode\\\": \\\"US\\\",\\r\\n  \\\"postalCode\\\": \\\"07024\\\",\\r\\n  \\\"allowPiiReuse\\\": true\\r\\n}'\"\nheaders = {\n  'Content-Type': 'application/json'\n}\nconn.request(\"POST\", \"/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii //\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))"
      },
      {
        "id": "ruby-example",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii //\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = \"{\\r\\n  \\\"name\\\": \\\"John Doe\\\",\\r\\n  \\\"addressLine1\\\": \\\"2115 Linwood Ave\\\",\\r\\n  \\\"addressLine2\\\": \\\"Apt 4B\\\",\\r\\n  \\\"city\\\": \\\"Fort Lee\\\",\\r\\n  \\\"stateProvince\\\": \\\"NJ\\\",\\r\\n  \\\"countryCode\\\": \\\"US\\\",\\r\\n  \\\"postalCode\\\": \\\"07024\\\",\\r\\n  \\\"allowPiiReuse\\\": true\\r\\n}'\"\n\nresponse = https.request(request)\nputs response.read_body\n"
      },
      {
        "id": "go-example",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io\"\n)\n\nfunc main() {\n\n  url := \"https://sandbox.crbcos.com/crypto/v1/payments/05130f80-74b8-43f7-9221-341807e570ba/pii //\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{`+\"\n\"+`\n  \"name\": \"John Doe\",`+\"\n\"+`\n  \"addressLine1\": \"2115 Linwood Ave\",`+\"\n\"+`\n  \"addressLine2\": \"Apt 4B\",`+\"\n\"+`\n  \"city\": \"Fort Lee\",`+\"\n\"+`\n  \"stateProvince\": \"NJ\",`+\"\n\"+`\n  \"countryCode\": \"US\",`+\"\n\"+`\n  \"postalCode\": \"07024\",`+\"\n\"+`\n  \"allowPiiReuse\": true`+\"\n\"+`\n}'`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := io.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}"
      }
    ],
    "selectedLanguageId": "curl-example"
  },
  "results": {
    "languages": [
      {
        "id": "200",
        "language": "200",
        "code": "{\n  \"id\": \"f87ee6d5-7775-46cd-a6de-b4570131ee00\",\n  \"referenceId\": \"CRP147BW063MN5\",\n  \"partnerId\": \"aa554e0a-910c-435f-89ba-b06c01305d57\",\n  \"productId\": \"ac6686be-005f-4b05-bb4a-b42f013bba12\",\n  \"accountNumber\": \"123989446893\",\n  \"direction\": \"Inbound\",\n  \"status\": \"Hold\",\n  \"blockchain\": \"solana\",\n  \"currency\": \"usdc\",\n  \"unit\": \"Mwei\",\n  \"amountNative\": 1,\n  \"amount\": 1000000,\n  \"netAmountNative\": 1,\n  \"netAmount\": 1000000,\n  \"feeCurrency\": \"sol\",\n  \"feeUnit\": \"Lamport\",\n  \"feeType\": \"Net\",\n  \"feeLevel\": \"Low\",\n  \"networkFeeNative\": 8e-05,\n  \"networkFee\": 80000,\n  \"sourceAddress\": \"11111111111111111111111111111111111111111111\",\n  \"destinationAddress\": \"22222222222222222222222222222222222222222222\",\n  \"source\": \"Api\",\n  \"createdAt\": \"2026-05-27T18:33:51.559757Z\",\n  \"lastModifiedAt\": \"2026-05-27T18:33:51.575421Z\",\n  \"postingStatus\": \"Pending\",\n  \"transactionHash\": \"FakeTxHashRepeatingPattern11111111111111111111111111111111111111111111111111111111111111\",\n  \"paymentType\": \"Payment\",\n  \"originator\": {\n    \"fullName\": \"John Doe\",\n    \"addressLine1\": \"2115 Linwood\",\n    \"addressLine2\": \"Ave\",\n    \"city\": \"Fort Lee\",\n    \"stateProvince\": \"NJ\",\n    \"postalCode\": \"07058\",\n    \"countryCode\": \"US\"\n  },\n  \"beneficiary\": {\n    \"entityType\": \"Business\",\n    \"fullName\": \"ABC Corp\",\n    \"addressLine1\": \"2114 Linwood Ave\",\n    \"city\": \"Fort Lee\",\n    \"stateProvince\": \"NJ\",\n    \"postalCode\": \"07025\",\n    \"countryCode\": \"US\",\n    \"identificationType\": \"IncorporationNumber\",\n    \"identificationValue\": \"555599998\"\n  },\n  \"postings\": []\n}\n"
      },
      {
        "id": "UNEh_fXnNSaXUA7VPbYic",
        "language": "204_CLASS",
        "code": "{\n    \"error\": {\n      \"code\": 2043,\n      \"message\": \"The payment PII could not be added\"\n    }\n  }"
      }
    ],
    "selectedLanguageId": "200"
  },
  "request": {
    "pathParameters": [
      {
        "name": "id",
        "kind": "optional",
        "type": "string",
        "description": "Unique identifier of the payment that requires originator PII. This ID is in UUID format."
      }
    ],
    "queryParameters": [],
    "headerParameters": [],
    "formDataParameters": [],
    "bodyDataParameters": [
      {
        "name": "name",
        "kind": "required",
        "type": "string",
        "description": "Full legal name of the originator. Maximum 200 characters."
      },
      {
        "name": "addressLine1",
        "kind": "required",
        "type": "string",
        "description": "First line of the originator physical address. Maximum 80 characters."
      },
      {
        "name": "addressLine2",
        "kind": "optional",
        "type": "string",
        "description": "Second line of the originator physical address, if needed. Maximum 80 characters. Nullable."
      },
      {
        "name": "city",
        "kind": "required",
        "type": "string",
        "description": "Full name of the city where the originator is located. Maximum 40 characters."
      },
      {
        "name": "stateProvince",
        "kind": "required",
        "type": "string",
        "description": "State or province of the originator. For US addresses, use the two-letter state code."
      },
      {
        "name": "countryCode",
        "kind": "required",
        "type": "string",
        "description": "Two-letter ISO country code for the originator country"
      },
      {
        "name": "postalCode",
        "kind": "required",
        "type": "string",
        "description": "Postal or ZIP code of the originator. Maximum 20 characters."
      },
      {
        "name": "allowPiiReuse",
        "kind": "optional",
        "type": "boolean",
        "description": "True if the provided PII may be reused for future applicable payments. Otherwise, false."
      }
    ]
  },
  "response": [
    {
      "name": "id",
      "kind": "returned",
      "type": "string",
      "description": "Unique identifier of the incoming payment"
    },
    {
      "name": "referenceId",
      "kind": "returned",
      "type": "string",
      "description": "Unique Cross River reference ID for the payment. The reference ID always begins with a letter or letters indicating the rail. For Crypto the reference ID starts with 'CRP'."
    },
    {
      "name": "partnerId",
      "kind": "returned",
      "type": "string",
      "description": "Your unique ID in the Cross River system. This ID is in GUID format."
    },
    {
      "name": "productId",
      "kind": "returned",
      "type": "string",
      "description": "ID in GUID format of your specific product type on which the associated account is based. Provided by Cross River."
    },
    {
      "name": "accountNumber",
      "kind": "returned",
      "type": "string",
      "description": "Account number associated with the payment"
    },
    {
      "name": "direction",
      "kind": "returned",
      "type": "string",
      "description": "Payment direction:\n- Inbound\n- Outbound"
    },
    {
      "name": "status",
      "kind": "returned",
      "type": "string",
      "description": "Current payment status. For this use case, Hold indicates the inbound payment is awaiting further action.\nValues include:\n- Created\n- Pending\n- Hold\n- Batched\n- Processing\n- Completed\n- Rejected\n- Canceled\n- ResearchRequired\n- Transmitted\n- Blocked\n- Returned"
    },
    {
      "name": "blockchain",
      "kind": "returned",
      "type": "string",
      "description": "Blockchain network where payment was sent (for example, Solana, Ethereum)"
    },
    {
      "name": "currency",
      "kind": "returned",
      "type": "string",
      "description": "Asset sent (for example, USDC)"
    },
    {
      "name": "unit",
      "kind": "returned",
      "type": "string",
      "description": "Base unit used for the asset amount. For example, MWei."
    },
    {
      "name": "amountNative",
      "kind": "returned",
      "type": "number",
      "description": "Amount in USD cents, if provided or computed (system converts to chain base units)"
    },
    {
      "name": "amount",
      "kind": "returned",
      "type": "number",
      "description": "Amount in blockchain base units. For example, 0.01 USDC = 10,000 on 6-decimals."
    },
    {
      "name": "netAmountNative",
      "kind": "returned",
      "type": "number",
      "description": "Net human-readable amount of the payment, after applicable fees"
    },
    {
      "name": "netAmount",
      "kind": "returned",
      "type": "number",
      "description": "Net amount in blockchain base units of the payment, after applicable fees"
    },
    {
      "name": "feeCurrency",
      "kind": "returned",
      "type": "string",
      "description": "Asset used to pay the network fee."
    },
    {
      "name": "feeUnit",
      "kind": "returned",
      "type": "string",
      "description": "Fee asset + unit. For example, sol/Lamport."
    },
    {
      "name": "networkFeeNative",
      "kind": "returned",
      "type": "number",
      "description": "Human-readable network fee amount"
    },
    {
      "name": "networkFee",
      "kind": "returned",
      "type": "number",
      "description": "Network fee in base units"
    },
    {
      "name": "sourceAddress",
      "kind": "returned",
      "type": "string",
      "description": "Blockchain address from which the payment originated"
    },
    {
      "name": "destinationAddress",
      "kind": "returned",
      "type": "string",
      "description": "Blockchain address that received the payment"
    },
    {
      "name": "createdAt",
      "kind": "returned",
      "type": "string",
      "description": "Date and time the payment was created in the system. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]"
    },
    {
      "name": "lastModifiedAt",
      "kind": "returned",
      "type": "string",
      "description": "Internal Cross River value. Date and time the database entry was last modified. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]"
    },
    {
      "name": "postingStatus",
      "kind": "returned",
      "type": "string",
      "description": "Internal posting status:\n- Pending\n- Posted\n- Failed\n- Canceled\n- Authorized\n- NotApplicable"
    },
    {
      "name": "transactionHash",
      "kind": "returned",
      "type": "string",
      "description": "Blockchain transaction hash"
    },
    {
      "name": "originator",
      "kind": "returned",
      "type": "object",
      "description": "Originator information added to the payment",
      "children": [
        {
          "name": "entityType",
          "kind": "optional",
          "type": "string",
          "description": "Type of entity:\n- Person\n- Business"
        },
        {
          "name": "fullName",
          "kind": "returned",
          "type": "string",
          "description": "Full legal name of the originator (for Person entities only)"
        },
        {
          "name": "firstName",
          "kind": "optional",
          "type": "string",
          "description": "First name of the originator (for Person entities only)"
        },
        {
          "name": "lastName",
          "kind": "optional",
          "type": "string",
          "description": "Last name of the originator (for Person entities only)"
        },
        {
          "name": "entityName",
          "kind": "optional",
          "type": "string",
          "description": "Legal entity name (for Business entities only)"
        },
        {
          "name": "addressLine1",
          "kind": "optional",
          "type": "string",
          "description": "First line of the originator physical address"
        },
        {
          "name": "addressLine2",
          "kind": "optional",
          "type": "string",
          "description": "Second line of the originator physical address"
        },
        {
          "name": "city",
          "kind": "optional",
          "type": "string",
          "description": "City where the originator is located"
        },
        {
          "name": "stateProvince",
          "kind": "optional",
          "type": "string",
          "description": "State or province of the originator"
        },
        {
          "name": "postalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code of the originator"
        },
        {
          "name": "countryCode",
          "kind": "optional",
          "type": "string",
          "description": "Two-letter or three-letter ISO country code"
        },
        {
          "name": "birthDate",
          "kind": "optional",
          "type": "string",
          "description": "Date of birth for an originator who is a person, or date formed for a business originator"
        },
        {
          "name": "identificationType",
          "kind": "optional",
          "type": "string",
          "description": "Type of identification document:\n- EIN\n- IncorporationNumber"
        },
        {
          "name": "identificationValue",
          "kind": "optional",
          "type": "string",
          "description": "Identification document number or value"
        }
      ]
    },
    {
      "name": "beneficiary",
      "kind": "returned",
      "type": "object",
      "description": "Beneficiary information associated with the payment.",
      "children": [
        {
          "name": "entityType",
          "kind": "optional",
          "type": "string",
          "description": "Type of entity:\n- Person\n- Business"
        },
        {
          "name": "fullName",
          "kind": "returned",
          "type": "string",
          "description": "Full legal name of the beneficiary (for Person entities only)"
        },
        {
          "name": "firstName",
          "kind": "optional",
          "type": "string",
          "description": "First name of the beneficiary (for Person entities only)"
        },
        {
          "name": "lastName",
          "kind": "optional",
          "type": "string",
          "description": "Last name of the beneficiary (for Person entities only)"
        },
        {
          "name": "entityName",
          "kind": "optional",
          "type": "string",
          "description": "Legal entity name (for Business entities only)"
        },
        {
          "name": "addressLine1",
          "kind": "optional",
          "type": "string",
          "description": "First line of the beneficiary physical address"
        },
        {
          "name": "addressLine2",
          "kind": "optional",
          "type": "string",
          "description": "Second line of the beneficiary physical address"
        },
        {
          "name": "city",
          "kind": "optional",
          "type": "string",
          "description": "City where the beneficiary is located"
        },
        {
          "name": "stateProvince",
          "kind": "optional",
          "type": "string",
          "description": "State or province of the beneficiary"
        },
        {
          "name": "postalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code of the beneficiary"
        },
        {
          "name": "countryCode",
          "kind": "optional",
          "type": "string",
          "description": "Two-letter or three-letter ISO country code"
        },
        {
          "name": "birthDate",
          "kind": "optional",
          "type": "string",
          "description": "Date of birth for a beneficiary who is a person, or date formed for a business beneficiary"
        },
        {
          "name": "identificationType",
          "kind": "optional",
          "type": "string",
          "description": "Type of identification document:\n- EIN\n- IncorporationNumber"
        },
        {
          "name": "identificationValue",
          "kind": "optional",
          "type": "string",
          "description": "Identification document number or value"
        }
      ]
    }
  ],
  "description": "",
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "endpoint-v1paymentsidpii",
  "legacyHash": "SxlHGPotwwYXd55igQwvS"
}
```
:::



