Pay API™
about pay api™ pay api is datacap's payment api built around restful standards these include standard http methods ( post / get / put ), content types ( json / xml / form encoded ), and a resource oriented architecture it's a straightforward integration to ecommerce credit, ach, gift and other card not present payments url type url certification https //pay cert dcap com/{version}/ production https //pay dcap com/{version}/ transactions credit transactions operation http method url sale post /credit/sale void sale post /credit/sale/{refno}/void adjust put /credit/sale/{refno} return post /credit/return void return post /credit/return/{refno}/void preauth post /credit/preauth capture put /credit/preauth/{refno} increment put /credit/preauth/incrementalauth/{refno} partialreversal put /credit/preauth/partialreversal/{refno} void auth post /credit/preauth/{refno}/void auth only post /credit/authonly transaction detail get /credit/{refno} card lookup post /credit/cardlookup ach transactions operation http method url authorize post /ach/authorize return post /ach/return/{refno} void post /ach/authorize/{refno}/void payout post /ach/payout fsa transactions operation http method url fsa sale post credit/fsa/sale void fsa sale post credit/fsa/sale/{refno}/void stored value transactions operation http method url sale post /storedvalue/sale void sale post /storedvalue/sale/{refno}/void return post /storedvalue/return void return post /storedvalue/return/{refno}/void reload post /storedvalue/reload void reload post /storedvalue/reload/{refno}/void issue post /storedvalue/issue void issue post /storedvalue/issue/{refno}/void balance post /storedvalue/balance create post /storedvalue/create set post /storedvalue/set cash out post /storedvalue/cashout transaction detail get /storedvalue/{refno} administration requests operation http method url acquireinitialapikey post admin/acquireinitialapikey acquireapikey post admin/acquireapikey batch summary get /admin/batchsummary batch close post /admin/batchclose success responses 200 ok approved transaction 402 payment required declined transaction failure responses 400 bad request invalid transaction requests 401 unauthorized unauthorized transaction 404 not found resource not found ecommerce integration a typical ecommerce integration with datacap consists of the following client side tokenization utilizing one or more of our tokenization frameworks an otu (one time use) token is created that is good for 15 minutes payment processing utilizing one of our gateway platforms an auth only transaction is sent to validate the account information represented by the one time use token a card token is returned with any successful transaction and is good through the expiration date of the account it represents request full access to pay api get started request developer credentials for free access to every product's integration guide