Skip to main content

List provinsi

List Provinsi

Service ini digunakan untuk melihat list kode id dari provinsi

Service Info

HTTP MethodGET
Service Code30
Http MethodGET
Path.../v1.0/list/provinsi
AuthenticationOAuth 2.0
Header NameTipe DataWajibDeskripsi
Content-TypeStringYapplication/json
X-PARTNER-IDStringYClient’s client_id (diberikan pada saat onboarding )
curl --location --request GET 'https://devel.speedcash.co.id/qris-mpm/v1.0/list/provinsi' \
--header 'x-partner-id: 6c57db4e-9e11-4951-9bcf-d6f177dafbcc' \
--header 'Authorization: Bearer 6430fe8b-79d5-4e58-a337-6eb498e117a5'

Response

ParameterTipe DataDeskripsi
responseCodeStringKode response
responseMessageStringPesan response
additionalInfoArray Of ObjectInformasi tambahan.
id_provinsiIntegerid provinsi
nama_provinsiStringnama provinsi
{
"responseCode": "2003000",
"responseMessage": "Successful",
"additionalInfo": [
{
"id_provinsi": 1,
"nama_provinsi": "Nanggroe Aceh Darussalam"
},
{
"id_provinsi": 12,
"nama_provinsi": "Bali"
},
{
"id_provinsi": 10,
"nama_provinsi": "Banten"
},
{
"id_provinsi": 21,
"nama_provinsi": "Bengkulu"
},
{
"id_provinsi": 27,
"nama_provinsi": "D I Yogyakarta"
},
{
"id_provinsi": 24,
"nama_provinsi": "DKI Jakarta"
},
{
"id_provinsi": 18,
"nama_provinsi": "Gorontalo"
},
]
}

List Response Code

Response CodeResponse MessageDescription
2003000Success
4003001Invalid field format { field name }
4013000Unauthorized. Invalid SignatureX-Signature salah
4093000Cannot use same X-EXTERNAL-ID in same dayX-External-ID sudah pernah digunakan di hari yang sama
4043001Bad RequestRequest header ada yang salah / kurang
4043000Unauthorized. Client Forbidden Access APIPartner tidak dapat mengakses api terkait
5003001General ErrorTerjadi kesalahan