Payments
...
Card APIs
Card details
1 min
name endpoint api card cardtoken method get url https pushtopaystaging crbnj net api card cardtoken description returns the parameter values defining a card authorized for transactions with a merchant partner you get card details using the cardtoken attribute n tab examples examples languages id gum54b2sobgw9b7c7jeu3 language curl code curl x get n header accept application json n header authorization bearer token https pushtopaystaging crbnj net api card card token customlabel id q3 wsypdrvpzgma1tleef language nodejs code var request require request ; nvar options n method get n url https pushtopaystaging crbnj net api card 57193c2bf898459e8dc0b26031d72dc4000000 n headers n accept application json n authorization bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n customlabel id psmxc3yqxfr0iewglxicr language python code import requests n nurl https pushtopaystaging crbnj net api card cardtoken n npayload nheaders n accept application json n authorization bearer token n n nresponse requests request get url headers headers data payload n nprint response text n customlabel id vzrb8m9bkl3nuvzum8535 language ruby code require uri nrequire net http n nurl uri https pushtopaystaging crbnj net api card 57193c2bf898459e8dc0b26031d72dc4000000 n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest accept application json nrequest authorization bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg n nresponse https request request nputs response read body n customlabel id 3k7pearh adzvznnmznn2 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 card 57193c2bf898459e8dc0b26031d72dc4000000 n method get n n payload strings newreader 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 accept application json n req header add authorization bearer eyjhbgcioijsuzi1niisimtpzci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncising1dci6ijdqrej4dgvldl9imxhprk9xeehvn19rrkdxncisinr5cci6ikpxvcj9 eyjpc3mioijodhrwczovl29hdxrodgvzdc5jcmjuai5uzxqilcjuymyioje3nteyodewnzisimlhdci6mtc1mti4mta3miwizxhwijoxnzuxmjg0njcylcjhdwqiolsiy3jiyxbpiiwiahr0chm6ly9vyxv0ahrlc3quy3jibmoubmv0l3jlc291cmnlcyjdlcjzy29wzsi6wyjjcmjhcgkixswiy2xpzw50x2lkijoiufrqrvjouk1tdgddbgllbnqilcjyb2xlijoic2vjuhrwzufwavn0z0v4dcisimp0asi6ijzgrdfeqtc0qtm3mjrfn0ffn0m4mtvertbfrdreqtvfin0 jjby62elxuapzpau5gzyz2m3mdxdwzdjn iblgkq sensecqydw4skhk3hkmjy dv9w6kpyastze7tchngpqommzsr51umsyeiduw3yzqmqwydn0mm0brtfle2rgaywkftbspyxqeffiiofwubf6ormozhh8utf43twvhpqylfp 3alkuwojurhj8hq 5jdfxif6eysariyqqyf1vgahfhsflti v2eni6hb6r kzvlacw2xhj rrswbfkchfro tl5daanlmifqlmln8w3ghnmmnsbxjf ba2jhzkrgklxuubzwek1jn8gipj1pjm3lvvgcqzo1bqq3elxil8zwpg 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 gum54b2sobgw9b7c7jeu3 results languages id mihyajysilugqie7xctpr language 200 customlabel code n version 1 0 0 0 n result n requestid 2f113def e511 4340 bb0b a0b23f40ccf3 n cardtoken 06ijmai0wi4gspv3c1cp4zdcrkv4ut1369gn0d n cardfingerprint ohmpyvwjbuh2v huqivgememwhpvhqjaopw82bdguv vxc38fyjxi6vropt3jsu9cydeexqche34xadzcss4a n firstname crbfirstnamecmiee n lastname crblastnamengveu n ownerexternalid 1 n address1 crb street1 n address2 crb street2 n city fortlee n zipcode 92121 n isauthorizationsucceeded true n state null n countrycode null n phonenumber 8586518295 n email shalom8e15b71b7306410 crbtest com n expirationyear 27 n expirationmonth 08 n last4digits 6129 n cardcompany mastercard n isactive true n deactivatedat null n addedon 2024 05 15t21 27 59 927 n authorizationjson r n requestid fe5b3675 0048 4140 aedc 518d5fc56fb2 r n authorized true r n responsereceived true r n responsecode ok r n responsedescription ok r n timestamp 2024 05 15t21 27 59 8194374z r n error null r n addressverified false r n rail mcsend r n cardtype prepaid r n isfastfundssupported true r n pushenabled true r n pullenabled true r n issuercountrycode us r n nameverificationused not supported r n nameverificationresult unknown r n producttype consumer r n n isfastfundssupported true n rail mcsend n pushenabled true n pullenabled true n issuercountrycode us n binnumber 222300 n producttype consumer n n issuccessfull true n issuccessful true n n selectedlanguageid mihyajysilugqie7xctpr request pathparameters queryparameters headerparameters bodydataparameters 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 required formdataparameters currentnewparameter label body parameter value bodydataparameters response name requestid kind optional type string description the guid is a unique identifier that enables the application to link request with response name cardtoken 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 cardfingerprint kind optional type string description a unique identifier for this card derived from internal card information it can be used to detect multiple occurrences of attempts for the same card being authorized from multiple users children name firstname kind optional type string description cardholder first name children name lastname kind optional type string description cardholder last name children name ownerexternalid kind optional type string description a 4 digit code assigned by the merchant to identify the cardholder children name address1 kind optional type string description primary location details of cardholder for instance street name house or building number and po box maximum 100 characters children name address2 kind optional type string description secondary location details of cardholder for instance number of apartment or floor maximum 100 characters children name city kind optional type string description name of the cardholder s city children name zipcode kind optional type string description us 5 digits a zip 4 code with optional space or dash separator 12345 12345 6789 12345 6789 123456789 n canada a valid canadian zip code n other up to 9 chars letters numbers spaces dashes do not contain double spaces or dashes children name isauthorizationsucceeded kind optional type boolean description true if the card was authorized successfully otherwise false children name state kind optional type string description 2 letter code of the cardholder s state children name countrycode kind optional type string description 2 letter country code children name phonenumber kind optional type string description optional at the start 7 15 characters made of digits spaces dashes brackets children name email kind optional type string description a valid cardholder email address for example me mailprovider com children name expirationyear kind optional type string description card expiration year 2 digits numeric children name expirationmonth kind optional type string description card expiration month 2 digits numeric children name last4digits kind optional type string description last 4 digits of the payment card number children name cardcompany kind optional type string description name of the payment card network n n visa n mastercard children name isactive kind optional type boolean description true if the card is active otherwise false children name deactivatedat kind optional type string description date and time card was deactivated if relevant in date time format children name addedon kind optional type string description the date and time the card was added to the merchant s account children name authorizationjson kind optional type object description the json authorization response received for this card from the card payments api children name requestid kind optional type string description the guid that enables the application to link request with response name authorized kind optional type boolean description determines whether a card is authorized for any financial activity by the cross river card network and issuing bank name responsereceived kind optional type boolean description true if p2c received a response from the external processor otherwise false name responsecode kind optional type string description a 2 digit code signifying the transaction result approved or decline for example 00 means successful name responsedescription kind optional type string description a string describing the transaction result for example approved name timestamp kind optional type string description the actual time the request was sent to the card networks name error kind optional type string description a code value returned if the network call fails name addressverified kind optional type boolean description the result of the check by the address verification service avs name rail kind optional type string description the processor that communicates with the card network n n mcsend n tabapay n visadirect name cardtype kind optional type string description the kind of payment card n n credit n debit n prepaid n combo n chargecard n deferreddebit name isfastfundssupported kind optional type boolean description fast funds are immediate payments true if fast funds is supported otherwise false name pushenabled kind optional type boolean description true if push payment to card is enabled otherwise false name pullenabled kind optional type boolean description true if pull payment from card is enabled otherwise false name issuercountrycode kind optional type string description a 2 letter code indicating the country where the card was issued name nameverificationused kind optional type string description indicates if cross river tried to contact the account name inquiry ani service n n used n not used n not supported n nif the merchant isn t configured for the ani service this response lets you know in that case contact your cross river relationship manager for information on connecting name nameverificationresult kind optional type string description this is the result of the account name inquiry ani service check n n full match n partial match n no match n unknown name binnumber kind optional type string description the first 6 to 8 digits on the card this identification number indicates the card issuing bank children name producttype kind optional type string description cardholder card type n n consumer n commercial n government n business n unknown children