> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ngapainrepot.space/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ngapainrepot.space/_mcp/server.

# Get Catalog Category Detail

GET https://c-dev-api.rajabiller.com/catalog/categories/BPJS

Reference: https://docs.ngapainrepot.space/biller/category/get-catalog-category-detail

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /catalog/categories/BPJS:
    get:
      operationId: get-catalog-category-detail
      summary: Get Catalog Category Detail
      tags:
        - subpackage_category
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Category_Get Catalog Category
                  Detail_Response_200
servers:
  - url: https://c-dev-api.rajabiller.com
    description: https://c-dev-api.rajabiller.com
  - url: https:/
    description: https://{base_url}
  - url: https://api.stg.servermitra.com
    description: https://api.stg.servermitra.com
components:
  schemas:
    CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataOptionsItemsInputSchema:
      type: object
      properties:
        fields:
          type: array
          items:
            description: Any type
      required:
        - fields
      title: >-
        CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataOptionsItemsInputSchema
    CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataOptionsItems:
      type: object
      properties:
        code:
          type: string
        label:
          type: string
        notices:
          type: array
          items:
            description: Any type
        flowType:
          type: string
        itemType:
          type: string
        sortOrder:
          type: integer
        inputSchema:
          $ref: >-
            #/components/schemas/CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataOptionsItemsInputSchema
        requiresProductSelection:
          type: boolean
      required:
        - code
        - label
        - notices
        - flowType
        - itemType
        - sortOrder
        - inputSchema
        - requiresProductSelection
      title: >-
        CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataOptionsItems
    CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataPageConfig:
      type: object
      properties:
        optionGroupLabel:
          type: string
        defaultOptionCode:
          type: string
      required:
        - optionGroupLabel
        - defaultOptionCode
      title: >-
        CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataPageConfig
    CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataAvailability:
      type: object
      properties:
        status:
          type: string
        message:
          description: Any type
        timezone:
          type: string
        reasonCode:
          description: Any type
        isAvailable:
          type: boolean
        nextAvailableAt:
          description: Any type
      required:
        - status
        - timezone
        - isAvailable
      title: >-
        CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataAvailability
    CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        code:
          type: string
        label:
          type: string
        iconUrl:
          description: Any type
        notices:
          type: array
          items:
            description: Any type
        options:
          type: array
          items:
            $ref: >-
              #/components/schemas/CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataOptionsItems
        pageTitle:
          type: string
        sortOrder:
          description: Any type
        pageConfig:
          $ref: >-
            #/components/schemas/CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataPageConfig
        availability:
          $ref: >-
            #/components/schemas/CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaDataAvailability
      required:
        - code
        - label
        - notices
        - options
        - pageTitle
        - pageConfig
        - availability
      title: CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaData
    CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        requestId:
          type: string
        timestamp:
          type: string
          format: date-time
      required:
        - requestId
        - timestamp
      title: CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaMeta
    Category_Get Catalog Category Detail_Response_200:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaData
        meta:
          $ref: >-
            #/components/schemas/CatalogCategoriesBpjsGetResponsesContentApplicationJsonSchemaMeta
        success:
          type: boolean
      required:
        - data
        - meta
        - success
      title: Category_Get Catalog Category Detail_Response_200

```

## Examples

### PLN (200 - OK)



**Response**

```json
{
  "data": {
    "code": "PLN",
    "label": "PLN",
    "notices": [],
    "options": [
      {
        "code": "PLN_PREPAID",
        "label": "Token Listrik",
        "notices": [],
        "flowType": "DIRECT_PURCHASE",
        "itemType": "SERVICE_OPTION",
        "sortOrder": 1,
        "inputSchema": {
          "fields": []
        },
        "requiresProductSelection": true
      },
      {
        "code": "PLN_POSTPAID",
        "label": "Tagihan Listrik",
        "notices": [],
        "flowType": "INQUIRY_PAYMENT",
        "itemType": "SERVICE_OPTION",
        "sortOrder": 2,
        "inputSchema": {
          "fields": []
        },
        "requiresProductSelection": false
      },
      {
        "code": "PLN_NONTAGLIS",
        "label": "PLN Non-Taglis",
        "notices": [],
        "flowType": "INQUIRY_PAYMENT",
        "itemType": "SERVICE_OPTION",
        "sortOrder": 3,
        "inputSchema": {
          "fields": []
        },
        "requiresProductSelection": false
      }
    ],
    "pageTitle": "Beli Token atau Bayar Tagihan Listrik",
    "pageConfig": {
      "optionGroupLabel": "Jenis Produk Listrik",
      "defaultOptionCode": "PLN_PREPAID"
    },
    "availability": {
      "status": "AVAILABLE",
      "timezone": "Asia/Jakarta",
      "isAvailable": true
    },
    "sortOrder": null
  },
  "meta": {
    "requestId": "req_3eb1d58f-9aa5-4e31-b918-94d6b8774faf",
    "timestamp": "2026-06-12T08:02:53.379Z"
  },
  "success": true
}
```

**SDK Code**

```python PLN (200 - OK)
import requests

url = "https://c-dev-api.rajabiller.com/catalog/categories/BPJS"

response = requests.get(url)

print(response.json())
```

```javascript PLN (200 - OK)
const url = 'https://c-dev-api.rajabiller.com/catalog/categories/BPJS';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go PLN (200 - OK)
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://c-dev-api.rajabiller.com/catalog/categories/BPJS"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby PLN (200 - OK)
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/catalog/categories/BPJS")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java PLN (200 - OK)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://c-dev-api.rajabiller.com/catalog/categories/BPJS")
  .asString();
```

```php PLN (200 - OK)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-dev-api.rajabiller.com/catalog/categories/BPJS');

echo $response->getBody();
```

```csharp PLN (200 - OK)
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/catalog/categories/BPJS");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift PLN (200 - OK)
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/catalog/categories/BPJS")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### BPJS (200 - OK)



**Response**

```json
{
  "data": {
    "code": "BPJS",
    "label": "BPJS",
    "notices": [],
    "options": [
      {
        "code": "BPJS_KESEHATAN",
        "label": "BPJS Kesehatan",
        "notices": [],
        "flowType": "INQUIRY_PAYMENT",
        "itemType": "SERVICE_OPTION",
        "sortOrder": 1,
        "inputSchema": {
          "fields": []
        },
        "requiresProductSelection": false
      },
      {
        "code": "BPJS_KETENAGAKERJAAN",
        "label": "BPJS Ketenagakerjaan",
        "notices": [],
        "flowType": "INQUIRY_PAYMENT",
        "itemType": "SERVICE_OPTION",
        "sortOrder": 2,
        "inputSchema": {
          "fields": []
        },
        "requiresProductSelection": false
      }
    ],
    "pageTitle": "Bayar BPJS Kesehatan dan Ketenagakerjaan Kamu di Sini",
    "pageConfig": {
      "optionGroupLabel": "Jenis BPJS",
      "defaultOptionCode": "BPJS_KESEHATAN"
    },
    "availability": {
      "status": "AVAILABLE",
      "timezone": "Asia/Jakarta",
      "isAvailable": true
    }
  },
  "meta": {
    "requestId": "req_cbd527cd-0436-40b3-bd65-d511b2826a10",
    "timestamp": "2026-06-12T07:36:54.159Z"
  },
  "success": true
}
```

**SDK Code**

```python BPJS (200 - OK)
import requests

url = "https://c-dev-api.rajabiller.com/catalog/categories/BPJS"

response = requests.get(url)

print(response.json())
```

```javascript BPJS (200 - OK)
const url = 'https://c-dev-api.rajabiller.com/catalog/categories/BPJS';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go BPJS (200 - OK)
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://c-dev-api.rajabiller.com/catalog/categories/BPJS"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby BPJS (200 - OK)
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/catalog/categories/BPJS")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java BPJS (200 - OK)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://c-dev-api.rajabiller.com/catalog/categories/BPJS")
  .asString();
```

```php BPJS (200 - OK)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-dev-api.rajabiller.com/catalog/categories/BPJS');

echo $response->getBody();
```

```csharp BPJS (200 - OK)
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/catalog/categories/BPJS");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift BPJS (200 - OK)
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/catalog/categories/BPJS")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```