Fail Transaction API
6 min
tentang fail transaction api fail transaction uses by to perform a reconciliation report on failed in gets list of fail data up to 5,000 data for every request compatible with needed date settlement history api api end point https //bo nicepay co id/transdt do bo nicepay co id/failreport do https //bo nicepay co id/failreport do request method application/json post description to check fail transaction report with nicepay via api header content type application/json request format application/json the available value and settlement fund value in this report is using rupiah currency request parameter parameter type length description example / notes mid \<font color="#2166ae">required\</font> varchar2 10 imid ionpaytest passwd \<font color="#2166ae">required\</font> varchar2 100 password gain after whitelist ip successfully registered and approved on side ( contact nicepay customer service team for assistance) 123456 date \<font color="#2166ae">required\</font> varchar2 8 transaction data date to be seen format yyyymmdd 20260727 paymethod \<font color="#2166ae">required\</font> varchar2 2 payment method docid\ mo0vnubhoit0btlzcz9bg 00 startno \<font color="#2166ae">required\</font> number 10 the initial sequence number of data that will be seen ( first line of requested data range 1 default 1 endno \<font color="#2166ae">required\</font> number 10 the final sequence number of data that will be seen ( last line of requested data range notes maximum range of data between startno and endno are 5,000 data 100 default 100 response parameter parameter tipe ukuran deskripsi contoh / catatan header \<font color="#2166ae">required\</font> object "header" { } code \<font color="#2166ae">required\</font> number 4 header code response docid\ mo0vnubhoit0btlzcz9bg 00 mid \<font color="#2166ae">required\</font> varchar2 10 imid ionpaytest trans dt \<font color="#2166ae">required\</font> varchar2 8 the requested data date format yyyymmdd 20260727 data \<font color="#2166ae">required\</font> object "data" \[ { } ] code \<font color="#2166ae">required\</font> number 2 data code response docid\ mo0vnubhoit0btlzcz9bg 10 txid \<font color="#2166ae">required\</font> varchar2 30 transaction id ionpaytest01202607272022549895 order no \<font color="#2166ae">required\</font> varchar2 8 reference number 99999 result cd \<font color="#2166ae">required\</font> n 4 result code 9151 result msg \<font color="#2166ae">required\</font> an 255 result message cardbin information exist in blacklist trans dt \<font color="#2166ae">required\</font> varchar2 8 the requested data date format yyyymmdd 20260727 trans tm \<font color="#2166ae">required\</font> varchar2 8 hour time from requested data format hhmmss 202321 billing nm \<font color="#2166ae">required\</font> a 100 buyer name john doe pay method \<font color="#2166ae">required\</font> varchar2 2 payment method docid\ mo0vnubhoit0btlzcz9bg 01 trans amt \<font color="#2166ae">required\</font> number 19,2 transaction amount 1000 bank cd \<font color="#2166ae">optional\</font> varchar2 4 bank code docid\ mo0vnubhoit0btlzcz9bg cena customer no \<font color="#2166ae">required\</font> varchar2 40 customer account transaction number docid\ mo0vnubhoit0btlzcz9bg 79150000 8310 tail \<font color="#2166ae">required\</font> object "tail" { } code \<font color="#2166ae">required\</font> number 4 tail code response docid\ mo0vnubhoit0btlzcz9bg code response 99 mid \<font color="#2166ae">required\</font> varchar2 10 imid ionpaytest trans dt \<font color="#2166ae">required\</font> varchar2 8 the requested data date format yyyymmdd 20260727 fail trans cnt \<font color="#2166ae">required\</font> number 10 the sum of total fail volume 5 fail trans amt \<font color="#2166ae">required\</font> number 19,2 the sum of total fail amount 14000 sample parameter request parameter { "mid" "ionpaytest", "passwd" "gpafym0vgymgicpz5dvdyokpri+uul4mieh7llijiluwfessk1egsfhb82dhyrzhhwbqafjij9hhufbsugm4yg==", "date" "20260727", "paymethod" "00", "startno" 1, "endno" 1000 } response parameter { "header" { "code" "00", "mid" "ionpaytest", "trans dt" "20260727" }, "data" \[ { "code" "10", "txid" "ionpaytest01202607272022549895", "order no" "t212f0i7hjuodyn", "result cd" "9151", "result msg" "cardbin information exist in blacklist ", "trans dt" "20260727", "trans tm" "202321", "billing nm" "john doe", "pay method" "01", "trans amt" 15725, "customer no" "45353524 3322" }, { "code" "10", "txid" "ionpaytest01202607271029583585", "order no" "p21kkcbywk87667", "result cd" " ", "result msg" "server is busy please kindly try again in few minutes ", "trans dt" "20260727", "trans tm" "103102", "billing nm" "john doe", "pay method" "01", "trans amt" 83670, "bank cd" "cena", "customer no" "34353453 3445" }, { "code" "10", "txid" "ionpaytest01202607271029583585", "order no" "p21kkcbywk87667", "result cd" "9151", "result msg" "cardbin information exist in blacklist ", "trans dt" "20260727", "trans tm" "103023", "billing nm" "john doe", "pay method" "01", "trans amt" 83670, "customer no" "45353453 3453" } ], "tail" { "code" "99", "mid" "ionpaytest", "trans dt" "20260727", "fail trans cnt" 3, "fail trans amt" 183065 } }