NICEPAY API
...
Payment API - SNAP
API E-Wallet (Direct Debit) SN...

Notification Transaction - API E-Wallet (Direct Debit) SNAP

9min
tentang notification transaction api e wallet (direct debit) snap api ini digunakan untuk mengirimkan notifikasi transaksi pembayaran pada metode pembayaran e wallet dengan fitur direct debit host to host yang sesuai standar snap bi panduan validasi x signature berikut adalah cara untuk melakukan validasi x signature pada request header notify sha256withrsa (public key, stringtosign) stringtosign = client id + “|” + x timestamp informasi khusus api notifikasi snap terkait kredensial public key akan diberikan oleh tim nicepay kepada merchant melalui email, karena kredensial public key yang akan digunakan di api notifikasi snap berbeda dengan api transaksi snap (registration, inquiry & payment) silakan menghubungi tim integrasi melalui email ( integration\@nicepay co id ) untuk informasi atau bantuan lebih lanjut berikut adalah contoh hasil x signature dari cara validasi di atas myyscwbs00bm0tjq/xy7uu1goh8qxjyyslo88rfrhq+mlyqkmtq nkmlzdps+ merchant notification api e wallet (direct debit) snap service code 56 api endpoint \[merchant domain]/api/v1 0/debit/notify http method post content type application/json description transaction result notification (when success) if your system use firewall, add allow policy for nicepay ip 103 20 51 0/24 103 117 8 0/24 request notification header parameter parameter tipe kebutuhan deskripsi content type string mandatory application / json x timestamp string mandatory using iso 8601 as timestamp format transaction date time, in format yyyymmddthh\ mm\ ss+07 00 time must be in gmt+7 (jakarta time) 2022 03 21t10 11 40+07 00 x client key string mandatory unique partner id, partner id = client id x signature string mandatory signature will be generated by merchant snap api testing request notification body parameter parameter tipe ukuran kebutuhan deskripsi originalreferenceno string 40 mandatory original transaction identifier on service provider system originalpartnerreferenceno string 40 mandatory original transaction identifier on consumer system externalstoreid string 32 optional unique identifier of shop id in client system amount object variable mandatory amount of transaction value string 12 mandatory value currency string 3 mandatory currency latesttransactionstatus string 2 mandatory category code for the status of the transaction example 00 success 06 failed transactionstatusdesc string 50 optional description status transaction additionalinfo object variable mandatory additional information transactiondatetime string 25 optional transaction date using iso 8601 format yyyy mm ddthh\ mm\ ss mitracd string 4 mandatory mitra code api snap docid\ mebnfcdeq1gfus9oe mof example ovo ovoe link aja link dana dana shopeepay eshp goodsnm string 200 mandatory goods name billingnm string 100 mandatory buyer name billingphone string 20 mandatory buyer phone number response notification header parameter parameter tipe kebutuhan deskripsi content type string mandatory application / json x timestamp string mandatory using iso 8601 as timestamp format transaction date time, in format yyyymmddthh\ mm\ ss+07 00 time must be in gmt+7 (jakarta time) 2022 03 21t10 11 40+07 00 response notification body parameter parameter tipe ukuran kebutuhan deskripsi responsecode string 7 mandatory general response code and message api snap docid\ lkqjxsl5cmkdxyxxhyyss responsemessage string 150 mandatory response message sample post for notification sample request notification //header section content type application/json x timestamp 2023 11 23t07 44 11+07 00 x signature 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5 x client key 82150823919040624621823174737537 { "originalpartnerreferenceno" "2020102977770000000009", "originalreferenceno" "tniceew05108202210141451109841", "amount" { "value" "10000 00", "currency" "idr" }, "latesttransactionstatus" "00", "transactionstatusdesc" "success", "externalstoreid" "91863213913112", "additionalinfo" { "transactiondatetime" "2019 07 03t12 08 56 07 00", "mitra cd" "dana", "goodsnm" "merchant goods 1", "billingnm" "buyer name", "billingphone" "02112345678" } } sample response notification //header section content type application/json x timestamp 2023 11 23t07 44 16+07 00 { "responsecode" "2005600", "responsemessage" "success" }