NICEPAY API
...
Payout API (Disbursement) - SN...
Balance Inquiry - API Payout (Disbursement) SNAP
7 min
about balance inquiry api payout (disbursement) snap this api with snap standards uses to request check balance inquiry from an account on disbursement process balance inquiry api payout (disbursement) snap please request the access token firsthand before doing the authentication through the docid 92feymrqs iebhxrfgxuq section service code 11 api endpoint /nicepay/api/v1 0/balance inquiry https //www nicepay co id/nicepay/api/v1 0/transfer/balance inquiry http method post description check balance content type application/json request balance inquiry payout (disbursement) header parameter parameter type length required description example 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 docid\ uzex33relyenkogbjjnyp 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 balance inquiry payout (disbursement) body parameter parameter type length required description accountno string 10 mandatory merchant identifier that is unique per each merchant additionalinfo object variable optional additional information "additionalinfo" { } msid string 20 conditional merchant seller id response balance inquiry payout (disbursement) parameter parameter type length required description responsecode string 7 mandatory refer to docid\ bjr4kjamzcknln 5zrnvw list responsemessage string 150 mandatory refer to docid\ bjr4kjamzcknln 5zrnvw list accountno string 10 mandatory merchant identifier that is unique per each merchant accountinfos array of object account information "accountinfos" \[{ }] availablebalance object 20 mandatory balance information "availablebalance" { } 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 additionalinfo object variable optional additional information "additionalinfo" { } msid string 20 optional merchant seller id sample parameter request body //header section content type application/json authorization bearer eyj0exaioijkv1qilcjhbgcioijiuzi1nij9 eyjzdwiioijjt05qqvlurvnuiiwiaxnzijoitkldrvbbwsisim5hbwuioijqrepciiwizxhwijoimjaync0wni0ynvqwntozmzowofoifq== 1is9uaijmi xowex iyuwnuy0ufkjr6jslidduktca0= x timestamp 2024 06 25t11 59 00+07 00 x signature sedmpduk08tvykaz83+oqvg2bjxx/oqt05wg4fudrtdpyjmrcmlfduq2k3q1adxb/gzbm6qmlorynfoq8ygobq== x partner id \ ionpaytest x external id txid202406251402271707638102 channel id ionpaytest { "accountno" "ionpaytest", "additionalinfo" { "msid" "" } } sample response { "responsecode" "2001100", "responsemessage" "successful", "accountno" "ionpaytest", "accountinfos" \[ { "availablebalance" { "value" "41570962 00", "currency" "idr" } } ], "additionalinfo" { "msid" "" } }