Customer management
APIs
Add ID details
relevant webhooks for this endpoint be sure you have accounts, cards and payment events for this webhook webhook events customer management api reference update a cos customer record with physical id metadata or other identification information { "name" "endpoint /core/v1/cm/customers/{customerid}/identifications", "method" "post", "url" "https //sandbox crbcos com/core/v1/cm/customers/{customerid}/identifications", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "hw0n2ojfxak00x4ccombo", "language" "curl", "code" "curl l 'https //sandbox crbcos com/core/v1/cm/customers/bbe09f0a f38b 4daa a0a2 b2ff00f4e887/identifications' ^\n d '{\n \\"isprimary\\" true,\n \\"idnumber\\" \\"18e5b61d fbac 4a52 9cce 3af544886199\\",\n \\"idtype\\" \\"other\\",\n \\"issueddate\\" \\"2022 08 18\\",\n \\"expdate\\" \\"2027 08 18\\",\n \\"verifieddate\\" \\"2025 08 18\\",\n \\"issuingauthority\\" \\"fintech\\",\n \\"issuingstateorprovince\\" \\"nj\\",\n \\"issuingcountrycode\\" \\"us\\"\n}\n\n'", "customlabel" "" }, { "id" "9pdgzxwql7yvdrr8y yn2", "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' '/core/v1/cm/customers/bbe09f0a f38b 4daa a0a2 b2ff00f4e887/identifications',\n 'headers' {\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 \\\\\\"isprimary\\\\\\" true,\\\r\\\n \\\\\\"idnumber\\\\\\" \\\\\\"18e5b61d fbac 4a52 9cce 3af544886199\\\\\\",\\\r\\\n \\\\\\"idtype\\\\\\" \\\\\\"other\\\\\\",\\\r\\\n \\\\\\"issueddate\\\\\\" \\\\\\"2022 08 18\\\\\\",\\\r\\\n \\\\\\"expdate\\\\\\" \\\\\\"2027 08 18\\\\\\",\\\r\\\n \\\\\\"verifieddate\\\\\\" \\\\\\"2025 08 18\\\\\\",\\\r\\\n \\\\\\"issuingauthority\\\\\\" \\\\\\"fintech\\\\\\",\\\r\\\n \\\\\\"issuingstateorprovince\\\\\\" \\\\\\"nj\\\\\\",\\\r\\\n \\\\\\"issuingcountrycode\\\\\\" \\\\\\"us\\\\\\"\\\r\\\n}\\\r\\\n\\\r\\\n\\";\n\nreq write(postdata);\n\nreq end();", "customlabel" "" }, { "id" "a4sftaie1v83 kmgi67ee", "language" "python", "code" "import requests\n\nurl = \\"https //sandbox crbcos com/core/v1/cm/customers/bbe09f0a f38b 4daa a0a2 b2ff00f4e887/identifications\\"\n\npayload = \\"{\\\r\\\n \\\\\\"isprimary\\\\\\" true,\\\r\\\n \\\\\\"idnumber\\\\\\" \\\\\\"18e5b61d fbac 4a52 9cce 3af544886199\\\\\\",\\\r\\\n \\\\\\"idtype\\\\\\" \\\\\\"other\\\\\\",\\\r\\\n \\\\\\"issueddate\\\\\\" \\\\\\"2022 08 18\\\\\\",\\\r\\\n \\\\\\"expdate\\\\\\" \\\\\\"2027 08 18\\\\\\",\\\r\\\n \\\\\\"verifieddate\\\\\\" \\\\\\"2025 08 18\\\\\\",\\\r\\\n \\\\\\"issuingauthority\\\\\\" \\\\\\"fintech\\\\\\",\\\r\\\n \\\\\\"issuingstateorprovince\\\\\\" \\\\\\"nj\\\\\\",\\\r\\\n \\\\\\"issuingcountrycode\\\\\\" \\\\\\"us\\\\\\"\\\r\\\n}\\\r\\\n\\\r\\\n\\"\nheaders = {}\n\nresponse = requests request(\\"post\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "mw3txtd8pxm3gmjn l 3j", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //sandbox crbcos com/core/v1/cm/customers/bbe09f0a f38b 4daa a0a2 b2ff00f4e887/identifications\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http post new(url)\nrequest body = \\"{\\\r\\\n \\\\\\"isprimary\\\\\\" true,\\\r\\\n \\\\\\"idnumber\\\\\\" \\\\\\"18e5b61d fbac 4a52 9cce 3af544886199\\\\\\",\\\r\\\n \\\\\\"idtype\\\\\\" \\\\\\"other\\\\\\",\\\r\\\n \\\\\\"issueddate\\\\\\" \\\\\\"2022 08 18\\\\\\",\\\r\\\n \\\\\\"expdate\\\\\\" \\\\\\"2027 08 18\\\\\\",\\\r\\\n \\\\\\"verifieddate\\\\\\" \\\\\\"2025 08 18\\\\\\",\\\r\\\n \\\\\\"issuingauthority\\\\\\" \\\\\\"fintech\\\\\\",\\\r\\\n \\\\\\"issuingstateorprovince\\\\\\" \\\\\\"nj\\\\\\",\\\r\\\n \\\\\\"issuingcountrycode\\\\\\" \\\\\\"us\\\\\\"\\\r\\\n}\\\r\\\n\\\r\\\n\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" }, { "id" "eqxplholfpke94qcmzmyv", "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/core/v1/cm/customers/bbe09f0a f38b 4daa a0a2 b2ff00f4e887/identifications\\"\n method = \\"post\\"\n\n payload = strings newreader(`{`+\\"\n\\"+`\n \\"isprimary\\" true,`+\\"\n\\"+`\n \\"idnumber\\" \\"18e5b61d fbac 4a52 9cce 3af544886199\\",`+\\"\n\\"+`\n \\"idtype\\" \\"other\\",`+\\"\n\\"+`\n \\"issueddate\\" \\"2022 08 18\\",`+\\"\n\\"+`\n \\"expdate\\" \\"2027 08 18\\",`+\\"\n\\"+`\n \\"verifieddate\\" \\"2025 08 18\\",`+\\"\n\\"+`\n \\"issuingauthority\\" \\"fintech\\",`+\\"\n\\"+`\n \\"issuingstateorprovince\\" \\"nj\\",`+\\"\n\\"+`\n \\"issuingcountrycode\\" \\"us\\"`+\\"\n\\"+`\n}`+\\"\n\\"+`\n`+\\"\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 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}", "customlabel" "" } ], "selectedlanguageid" "hw0n2ojfxak00x4ccombo" }, "results" { "languages" \[ { "id" "o5ylk9xnn0 gvwn 8j3dp", "language" "200", "customlabel" "", "code" "{\n \\"id\\" \\"811386d6 0a0c 43cf a03f b30400ba0b32\\",\n \\"customerid\\" \\"bbe09f0a f38b 4daa a0a2 b2ff00f4e887\\",\n \\"isprimary\\" true,\n \\"idnumber\\" \\"18e5b61d fbac 4a52 9cce 3af544886199\\",\n \\"status\\" \\"active\\",\n \\"idtype\\" \\"other\\",\n \\"issueddate\\" \\"2022 08 18\\",\n \\"expdate\\" \\"2027 08 18\\",\n \\"verifieddate\\" \\"2023 08 18\\",\n \\"issuingauthority\\" \\"fintech\\",\n \\"issuingstateorprovince\\" \\"nj\\",\n \\"issuingcountrycode\\" \\"us\\",\n \\"createdat\\" \\"2025 06 22t07 17 21 8716505 04 00\\",\n \\"lastmodifiedat\\" \\"2025 06 22t07 17 21 8716505 04 00\\",\n \\"partnerid\\" \\"1101a33d fbd9 4b9e b169 b29500f12407\\"\n}" }, { "id" "cqrgunp1snu toxeaw2c ", "language" "400", "code" "{\n \\"errors\\" \[\n {\n \\"code\\" 2234,\n \\"message\\" \\"identification already exists\\"\n }\n ]\n}", "customlabel" "" } ], "selectedlanguageid" "cqrgunp1snu toxeaw2c " }, "request" { "pathparameters" \[ { "name" "customerid", "kind" "required", "type" "string", "description" "the customer id of the customer record to update", "" "the customer id of the customer record to update" } ], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "isprimary", "kind" "required", "type" "boolean", "description" "true if this is the primary id record for this customer otherwise, false", "" "required" }, { "name" "idnumber", "kind" "required", "type" "string", "description" "the identification number being added", "" "required" }, { "name" "idtype", "kind" "required", "type" "string", "description" "the kind of id \n driverslicense\n passport\n idcard\n socialsecurity\n other", "" "required" }, { "name" "issueddate", "kind" "optional", "type" "string", "description" "date the id was issued", "" "date the id was issued" }, { "name" "expdate", "kind" "optional", "type" "string", "description" "date the id expires", "" "date the id expires" }, { "name" "verifieddate", "kind" "optional", "type" "string", "description" "date the id was last verified", "" "date the id was last verified" }, { "name" "issuingauthority", "kind" "required", "type" "string", "description" "the official authority that issued the id for example, the department of motor vehicles", "" "required" }, { "name" "issuingstateorprovince", "kind" "optional", "type" "string", "description" "state or province where the id was issued", "" "state or province where the id was issued" }, { "name" "issuingcountrycode", "kind" "required", "type" "string", "description" "country where the id was issued expressed as a 2 character code", "" "required" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false, "response" \[ { "name" "id", "kind" "optional", "type" "string", "description" "cos id for the record, in guid format" }, { "name" "customerid", "kind" "optional", "type" "string", "description" "the customerid of the customer record being updated", "children" \[] }, { "name" "isprimary", "kind" "optional", "type" "string", "description" "true if this is the primary id record for this customer otherwise, false", "children" \[] }, { "name" "idnumber", "kind" "optional", "type" "string", "description" "the identification number being added", "children" \[] }, { "name" "status", "kind" "optional", "type" "boolean", "description" "status of the customer record \n inactive\n active", "children" \[] }, { "name" "idtype", "kind" "optional", "type" "string", "description" "the kind of id \n driverslicense\n passport\n idcard\n socialsecurity\n other", "children" \[] }, { "name" "issueddate", "kind" "optional", "type" "string", "description" "date the id was issued", "children" \[] }, { "name" "expdate", "kind" "optional", "type" "string", "description" "date the id expires", "children" \[] }, { "name" "verifieddate", "kind" "optional", "type" "string", "description" "date the id was last verified", "children" \[] }, { "name" "issuingauthority", "kind" "optional", "type" "string", "description" "the official authority that issued the id for example, the department of motor vehicles ", "children" \[] }, { "name" "issuingstateorprovince", "kind" "optional", "type" "string", "description" "state or province where the id was issued", "children" \[] }, { "name" "issuingcountrycode", "kind" "optional", "type" "string", "description" "country where the id was issued expressed as a 2 character code", "children" \[] }, { "name" "createdat", "kind" "optional", "type" "string", "description" "date and time the record was created in this case, the date and time are in this format yyyy mm ddthh\ mm\ ss\[ mmm]", "children" \[] }, { "name" "lastmodifiedat", "kind" "optional", "type" "string", "description" "internal cross river value date and time the database entry was last modified ", "children" \[] }, { "name" "partnerid", "kind" "optional", "type" "string", "description" "your partner id in the cross river system", "children" \[] } ] }