Informasi Akun
Method: GET
URL: {{baseUrl}}/kocek/regions
Description
No description provided
Request Headers
| Key | Value | Deskripsi |
|---|---|---|
| Content-Type | application/json | - |
| Authentication | Bearer ACCESS_TOKEN | Akses token yang digenerate saat login |
Request Body
{}
Query Params
| Key | Value | Deskripsi |
|---|---|---|
| q | contoh: Denpasar | Kata kunci pencarian |
Responses
200 - Success
Status: 200
{
"data": {
"regions": [
{
"region_code": "0100",
"region_description_en": "Kota Denpasar",
"region_description_id": "Kota Denpasar",
"created_at": "2024-04-16T03:40:26.551372Z",
"updated_at": "2024-04-16T03:40:26.551372Z",
"deleted_at": null
}
]
},
"message": "Berhasil memproses permintaan",
"status": "success"
}
info
Gunakan region_code sebagai nilai input untuk subject.individual.address.city pada request data biro kredit.
401 - Unauthorized
Status: 401
{
"status": false,
"message": "Unauthorized",
"data": null
}