Payments
...
OFAC APIs
OFAC scan by ID
1 min
name endpoint api ofacscan scanid method get url https pushtopaystaging crbnj net api ofacscan scanid description returns details about a particular compliance scan based on a specific request identifier tab examples examples languages id rkhjwalalpjqshbc1p ia language curl code n requestid 3fa85f85 5217 4562 b3fc 2c963f66afa4 n sourcesenderid 298fa967 97dp vvy6 afag 11sghvk6nx12 n cardtoken xh7alh99sxn7b5v n customlabel id tcpyfasobartqog81nknl language nodejs code var https require follow redirects https; nvar fs require fs ; n nvar options n method get n hostname pushtopaystaging crbnj net n path api ofacscan 57c39d38 f780 4917 babe ff67fb44b882 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 57c39d38 f780 4917 babe ff67fb44b882 n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n ; n nreq write postdata ; n nreq end ; customlabel id 33c19muneyqufvh3wrjeg language python code import requests nimport json n nurl https pushtopaystaging crbnj net api ofacscan 57c39d38 f780 4917 babe ff67fb44b882 n npayload json dumps n requestid 57c39d38 f780 4917 babe ff67fb44b882 n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n nheaders n content type application json n authorization bearer token n n nresponse requests request get url headers headers data payload n nprint response text n customlabel id g2oinb ibis4dt7m3tzdn language ruby code require uri nrequire json nrequire net http n nurl uri https pushtopaystaging crbnj net api ofacscan 57c39d38 f780 4917 babe ff67fb44b882 n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest content type application json nrequest authorization bearer token nrequest body json dump n requestid 57c39d38 f780 4917 babe ff67fb44b882 n cardtoken dc57d6a268374505bc7ea37a461bb69d000000 n n nresponse https request request nputs response read body n customlabel id ya1u7pitfp8fdn4lhnvyg 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 57c39d38 f780 4917 babe ff67fb44b882 n method get n n payload strings newreader n n requestid 57c39d38 f780 4917 babe ff67fb44b882 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 rkhjwalalpjqshbc1p ia results languages id w4co9dnwk3mhrtalli5ue language 200 customlabel code n requestid 3fa85f85 5217 4562 b3fc 2c963f66afa4 n creditcardtoken xh7alh99sxn7b5v n error n requestedat 2023 04 27t10 25 53 685z n respondedat 2023 04 27t10 25 53 885z n updatedat 2023 04 27t10 27 25 555z n status hit n n selectedlanguageid w4co9dnwk3mhrtalli5ue request pathparameters name scanid kind required type string description matches the requestid found in the response use this guid to identify this scan at a later time nnote this is the requestid you sent in a specific ofacscan call matches the requestid found in the response use this guid to identify this scan at a later time nnote this is the requestid you sent in a specific ofacscan call queryparameters name sourcesenderid kind optional type string description the guid that identifies the merchant partner the guid that identifies the merchant partner headerparameters bodydataparameters formdataparameters currentnewparameter label query parameter value queryparameters 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