Payments
...
OFAC APIs
OFAC scan
1 min
important every international transaction requires a new ofac key name endpoint api ofacscan method post url https pushtopaystaging crbnj net api ofacscan description checks ofac compliance cross river requires ofac screening before sending an international money transfer this api endpoint makes this check tab examples examples languages id fvmon4sxp1wgkcf9w 4sk language curl code curl l https pushtopaystaging crbnj net api ofacscan n h content type application json n h authorization bearer token n d n requestid requestid n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n customlabel id czrgb h9c kcyodxfqyyk language nodejs code var https require follow redirects https; nvar fs require fs ; n nvar options n method post n hostname pushtopaystaging crbnj net n path api ofacscan n headers n content type application json n authorization bearer token 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 json stringify n requestid requestid n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n ; n nreq write postdata ; n nreq end ; customlabel id taoz9ei3ofpkbczavkie5 language python code import requests nimport json n nurl https pushtopaystaging crbnj net api ofacscan n npayload json dumps n requestid requestid n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n nheaders n content type application json n authorization bearer token n n nresponse requests request post url headers headers data payload n nprint response text n customlabel id fekbw5kwwrh c9wpugrbi language ruby code require uri nrequire json nrequire net http n nurl uri https pushtopaystaging crbnj net api ofacscan 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 authorization bearer token nrequest body json dump n requestid requestid n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n n nresponse https request request nputs response read body n customlabel id fxybwajthktu8d5moumpe language go code package main n nimport n fmt n strings n net http n io n n nfunc main n n url https pushtopaystaging crbnj net api ofacscan n method post n n payload strings newreader n n requestid requestid n n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 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 req header add authorization bearer token 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 fvmon4sxp1wgkcf9w 4sk results languages id rtikrvw5n1kmklwxbwf e language 200 customlabel code n version 1 0 0 0 n result n requestid 2a01aaf4 5d8e 49de be3f 5ff3da30405d n creditcardtoken dc57d6a268374505bc7ea37a461bb69d000000 n error null n requestedat 2025 07 02t07 42 44 9582607z n respondedat 2025 07 02t07 42 45 6842107z n updatedat 2025 07 02t07 42 45 6842107z n status allowed n n issuccessfull true n issuccessful true n id uzr61s9zh6depte9jwqmy language 400 code n version 1 0 0 0 n result n errors n n code 1000 n message credit card 1bb97748e22749e4ae11ed2100fe8cd0000000 is not international no need validation in ofac list n n n n issuccessfull false n issuccessful false n customlabel selectedlanguageid uzr61s9zh6depte9jwqmy request pathparameters queryparameters headerparameters bodydataparameters name requestid kind optional type string description the guid that enables the application to link request with response name sourcesenderid kind optional type string description the guid that identifies the merchant partner children name cardtoken kind required type string description created when intially signing up a card a randomly generated string of characters that relates to the consumer s payment card 15 to 38 alphanumeric characters matches the creditcardtoken created when intially signing up a card a randomly generated string of characters that relates to the consumer s payment card 15 to 38 alphanumeric characters matches the creditcardtoken formdataparameters currentnewparameter label body parameter value bodydataparameters response name requestid kind optional type string description matches the requestid found in the request for information on international transaction screening name creditcardtoken kind optional type string description created when intially signing up a card a randomly generated string of characters that relates to the consumer s payment card 15 to 38 alphanumeric characters matches the creditcardtoken children name error kind optional type string description a numeric code that describes any error that could happen during the ofac compliance check children name requestedat kind optional type string description the date and time you requested the ofac transaction nin this case the date and time are in this format yyyy mm ddthh mm ss mmm children name respondedat kind optional type string description the actual date and time the ofac service sent the response nin this case the date and time are in this format yyyy mm ddthh mm ss mmm children name updatedat kind optional type string description the date and time cross river received the ofac status change after checking for cardholders that could be matches hits verifies whether transaction was allowed or rejected status changes not yet available nin this case the date and time are in this format yyyy mm ddthh mm ss mmm children name status kind optional type string description hit either the entity is a suspect on the ofac list or the check is still in progress n n allowed the entity can transact children