Dokumentasi

BAPENDA Open API adalah Application Programming Interfaces (APIs) yang dikembangkan oleh BAPENDA untuk memungkinkan integrasi antara aplikasi Anda dan layanan kami.

Monitoring PAD

Parameter di bawah ini harus disertakan dalam header request di setiap panggilan API :

Key Value
Authentication Bearer {{token}}
HTTP Request
getKodeBayar
GET https://retribusi.sumutprov.go.id/app-api/api/monitoring/pad
Request Header
Key Value Mandatory
Content-Type application/json Yes
Contoh Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://retribusi.sumutprov.go.id/app-api/api/monitoring/pad',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => '',
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer 'XXXXXXXXXX'
    ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
                                            
Contoh Response
{ "data": { "pkb": { "pokok": 0, "denda": 0 }, "bbnkb": { "pokok": 0, "denda": 0 }, "pap": { "pokok": 0, "denda": 0 }, "pbbkb": { "pokok": 0, "denda": 0 }, "pajak_rokok": { "pokok": 0, "denda": 0 }, "retribusi": { "pokok": 0, "denda": 0 } }, "meta": "", "error": false, "status": { "code": 200, "name": "OK", "message": "Permintaan Data Monitoring PAD Prov. Sumatera Utara Berhasil Diproses" } }