NICEPAY API
...
Payment - API Checkout
Credit Card - API Checkout
21 min
about credit card api checkout there are several things that you must know when using for method so that your will run smoothly with us flow 3ds/non 3ds process full feature installment feature process flow visit docid 5p povp7xv ohkyiebaoc to check explanation about 3ds 3ds cc payment flow redirect 3ds description steps of redirect flow with 3ds the does the sends data to the requests using registration to registers data redirects to 's the sends 's to the selects the inputs card data the sends of card data to s with fds calculation requests 3ds to validates 3ds sends 3ds url response to receives verification response redirects to acs authentication creates otp response sends otp to the receives otp the inputs otp the sends otp to verifies the otp sends 3ds result to receives checking result requests to s sends to performs callbackurl redirect to the displays callbackurl result to sends to the receives the requests inquiry to receives request automatically sends inquiry response to the receives final the sends result to non 3ds cc payment flow redirect n 3ds description steps of redirect flow with non 3ds the performs the requests to the registers data the sends response in form of card data form the requests to the registers using registration to stores registration redirects s to 's the sends 's to the selects the inputs card detail the requests using to s with fds calculation requests to verifies request sends confirmation request to the requests /charge to s sends response of to sends notification using callbackurl and dbprocessurl to the receives the requests checking to sends response of checking the receives final the sends result to nicepay secure payment page open docid 90sa3oaowsytgpjubaayq to provide your with guide on method secure payment page the image above is a sample with a using secure page after selects method, will ask to input their card data will automatically recognize type of 's bin card like in picture below, such as visa or mastercard, american express, etc, later cards will be different according to card types being used after completing card data input, your can continue credit secure payment page then, will run once is successful, then display of will appear as image as follows success nicepay secure payment page visit docid\ edzoz4vkv 1afv7hzbq5y to know next step regarding payment handling api checkout transaction payment 337,338 true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type the endpoint above can use for s with full full payment credit card api checkout (callbackurl) on full , paid fully nominal billed at once the following is details used on request parameter for full payment credit card api checkout (callbackurl) 135,135,135,135,135 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type for , with full and installment got same response response parameter for full payment credit card api checkout (callbackurl) 135,135,135,135,135 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type sample parameter for full payment credit card api checkout (callbackurl) request parameter curl curl x get "https //www merchant com/callbackurl?cctranstype=1\&fee=0\&txid=ionpaytest00202212201540174369\&amt=1000\¬axamt=0\&cardno=46161111 1111\&issubankcd=bmri\&matchcl=1\&preauthtoken=null\&cardexpyymm=2603\&acqubanknm=mandiri\&paymethod=01\¤cy=idr\&instmntmon=1\&cc trans type=1\&issubanknm=mandiri\&merchanttoken=dc1dd9e57ff6c4db341654ae31e623cab4d4d8057b2d0b58bef43ccb0da3b494\&goodsnm=goods+for+testing+credit+card\&referenceno=ordno20221220151243\&authno=174300\&transtm=154017\&cpguaranteeablestatus=null\&recurringtoken=null\&vat=0\&instmnttype=1\&billingnm=john+doe\&acqubankcd=bmri\&transdt=20221220\&status=0" callback parameter response callback status=0 txid=ionpaytest00202212201540174369 referenceno=ordno20221220151243 paymethod=01 amt=1000 notaxamt=0 vat=0 fee=0 currency=idr goodsnm=goods+for+testing+credit+card billingnm=john+doe transdt=20221220 transtm=154017 authno=174300 issubankcd=bmri acqubankcd=bmri issubanknm=mandiri acqubanknm=mandiri cctranstype=1 cardno=46161111 1111 cardexpyymm=2707 instmnttype=1 instmntmon=1 recurringtoken=null preauthtoken=null matchcl=1 merchanttoken=8f5b330a549c167b53b4b9fd5f2d2eba897a64235c1610524074ec59f8884e8a note response will be sent through callbackurl with content type application/json and method post parameter for on , response from request received after performing call request is a callback url callback handling api checkout payment the txid won't be same as request hold the capture will reassure that captured amount value doesn't exceed funds owned when your callback already received callbackurl , we recommended to do verification using docid 7thqvphz6emwezw5 d4an callback handling is very important to minimize fraud act, we highly recommend to do verification using callback parameter url callback "callbackurl" "https //www merchant com/callbackurl/" response callback { "resultcd" "0000", "resultmsg" "success", "txid" "ionpaytest01202212141112221428", "referenceno" "", "paymethod" "01", "amt" "10000", "transdt" "20221212", "transtm" "121212", "description" "testing credit card transaction", "authno" "080623", "issubankcd" "othr" "acqubankcd" "bmri", "cardno" "453211 1111", "goodsnm" "test transaction nicepay" "billingnm" "john doe", "currency" "idr", "timestamp" "20221212121212", "merchanttoken" "2035d2295d9578fffb40137186f0203474142ae3e57992d4847826c5fcaffce6", "cardexpyymm" "2712", "instmntmon" "1", "instmnttype" "1", "cctranstype" "1" }