NICEPAY API
...
API SNAP BI
Payout API (Disbursement) - SN...

Approve Transaction - API Payout (Disbursement) SNAP

7min
tentang request approve api payout (disbursement) snap api ini digunakan untuk menyetujui proses yang diajukan pada saat pendaftaran kemudian, data transaksi akan lanjut untuk dieksekusi request approve api payout (disbursement) snap silakan mengajukan akses token terlebih dahulu untuk melakukan autentikasi melalui bagian request access token api snap docid\ gcgqbiyxg1etcd0ji9chx api endpoint /nicepay/api/v1 0/transfer/approve https //dev nicepay co id/nicepay/api/v1 0/transfer/approve http method post description approve payout transaction content type application/json request approve disbursement header parameter parameter tipe ukuran kebutuhan deskripsi contoh content type string 127 mandatory application/json authorization string variable mandatory bearer “ accesstoken ” x timestamp string 25 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 signature string variable mandatory signature will be generated by merchant snap api testing x partner id string 20 mandatory unique partner id, partner id = client id x external id string 40 mandatory unique messaging reference id generated by merchant numeric string reference number that should be unique in every transaction channel id string 20 mandatory unique channel merchant credential id number client id + "01" = channel id "ionpaytest" + "01" = "ionpaytest01" ionpaytest01 request approve disbursement body parameter parameter tipe ukuran kebutuhan deskripsi originalpartnerreferenceno string 40 mandatory original transaction identifier on consumer system originalreferenceno string 40 mandatory original transaction identifier on service provider system merchantid string 10 mandatory merchant identifier that is unique per each merchant response approve disbursement parameter parameter tipe ukuran kebutuhan deskripsi responsecode string 7 mandatory refer to general response code and message api snap docid\ lkqjxsl5cmkdxyxxhyyss responsemessage string 150 mandatory refer to general response code and message api snap docid\ lkqjxsl5cmkdxyxxhyyss originalreferenceno string 40 mandatory original transaction identifier on service provider system originalpartnerreferenceno string 40 mandatory original transaction identifier on service provider system must be filled upon successful transaction beneficiaryaccountno string 25 mandatory beneficiary account number beneficiaryname string 100 mandatory beneficiary name beneficiarybankcode string 4 mandatory beneficiary bank code api snap docid 9woqy5 1hlf ucwshsdho amount array of json object variable mandatory amount information "amount" { } value string 12 mandatory transaction amount, if it’s idr then value includes 2 decimal digits e g idr 10 000, will be placed with 10000 00 currency string 3 mandatory currency code based on iso transactionstatus string 2 mandatory transaction status api snap docid\ xxlwrb0q8xvksmao7ti9a sample parameter request body //header section content type application/json authorization bearer eyj0exaioijkv1qilcjhbgcioijiuzi1nij9 eyjzdwiioijjt05qqvlurvnuiiwiaxnzijoitkldrvbbwsisim5hbwuioijcukloiiwizxhwijoimjaync0wmi0xmvqwodowotoznvoifq== aiyblx36dywffvw7dcoenxkoe2eawiyq84ztpuif3k8= x timestamp 2024 12 31t10 11 40+07 00 x signature ufbw7r8rhw79ioiv/hlv607m60qzaybv8uzmbsryb6/thlo/fhqvp4xryeluehoss9o+qs6vwtkb/ygtucc+tq== x partner id \ ionpaytest x external id exid202402111402271707638104 channel id ionpaytest { "merchantid" "ionpaytest", "originalreferenceno" "ionpaytest07202302221348332909", "originalpartnerreferenceno" "order1677048512514" } sample response { "responsecode" "2000000", "responsemessage" "successful", "originalpartnerreferenceno" "order1677048512514", "originalreferenceno" "ionpaytest07202302221348332909", "beneficiaryaccountno" "5345000060", "beneficiaryname" "nicepay", "beneficiarybankcode" "cena", "amount" { "value" "10000 00", "currency" "idr" }, "transactionstatus" "03" }