> 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.

# Retrieve Product Detail

POST https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2
Content-Type: application/json

Reference: https://docs.ngapainrepot.space/biller/01-provider-raja-biller/01-provider-raja-biller-products/retrieve-product-detail

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api_json.php#postApi_json.php2:
    post:
      operationId: retrieve-product-detail
      summary: Retrieve Product Detail
      tags:
        - >-
          subpackage_01ProviderRajaBiller.subpackage_01ProviderRajaBiller/01ProviderRajaBillerProducts
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/01 Provider - RajaBiller_01 Provider -
                  RajaBiller > Products_Retrieve Product Detail_Response_200
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                pin:
                  type: string
                uid:
                  type: string
                method:
                  type: string
                produk:
                  type: string
              required:
                - pin
                - uid
                - method
                - produk
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:
    01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_Response_200:
      type: object
      properties:
        rc:
          type: string
        uid:
          type: string
        admin:
          type: string
        harga:
          type: string
        komisi:
          type: string
        produk:
          type: string
        status:
          type: string
        nama_produk:
          type: string
        status_produk:
          type: string
      required:
        - rc
        - uid
        - admin
        - harga
        - komisi
        - produk
        - status
        - nama_produk
        - status_produk
      title: >-
        01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve
        Product Detail_Response_200

```

## Examples



**Request**

```json
{
  "pin": "{{RAJABILLER_PIN}}",
  "uid": "{{RAJABILLER_UID}}",
  "method": "info",
  "produk": "TELKOMSEL"
}
```

**Response**

```json
{
  "rc": "00",
  "uid": "SP348019",
  "admin": "0",
  "harga": "0",
  "komisi": "0",
  "produk": "SDO10H",
  "status": "Sukses",
  "nama_produk": "TSEL DATA ORBIT 10GB 7 HR",
  "status_produk": "AKTIF (*Need Request)"
}
```

**SDK Code**

```python 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
import requests

url = "https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2"

payload = {
    "pin": "{{RAJABILLER_PIN}}",
    "uid": "{{RAJABILLER_UID}}",
    "method": "info",
    "produk": "TELKOMSEL"
}
headers = {
    "x-api-key": "{{internal_api_key}}",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
const url = 'https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2';
const options = {
  method: 'POST',
  headers: {'x-api-key': '{{internal_api_key}}', 'Content-Type': 'application/json'},
  body: '{"pin":"{{RAJABILLER_PIN}}","uid":"{{RAJABILLER_UID}}","method":"info","produk":"TELKOMSEL"}'
};

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

```go 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2"

	payload := strings.NewReader("{\n  \"pin\": \"{{RAJABILLER_PIN}}\",\n  \"uid\": \"{{RAJABILLER_UID}}\",\n  \"method\": \"info\",\n  \"produk\": \"TELKOMSEL\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "{{internal_api_key}}")
	req.Header.Add("Content-Type", "application/json")

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

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

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

}
```

```ruby 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2")

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

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '{{internal_api_key}}'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"pin\": \"{{RAJABILLER_PIN}}\",\n  \"uid\": \"{{RAJABILLER_UID}}\",\n  \"method\": \"info\",\n  \"produk\": \"TELKOMSEL\"\n}"

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

```java 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .body("{\n  \"pin\": \"{{RAJABILLER_PIN}}\",\n  \"uid\": \"{{RAJABILLER_UID}}\",\n  \"method\": \"info\",\n  \"produk\": \"TELKOMSEL\"\n}")
  .asString();
```

```php 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2', [
  'body' => '{
  "pin": "{{RAJABILLER_PIN}}",
  "uid": "{{RAJABILLER_UID}}",
  "method": "info",
  "produk": "TELKOMSEL"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "{{internal_api_key}}");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"pin\": \"{{RAJABILLER_PIN}}\",\n  \"uid\": \"{{RAJABILLER_UID}}\",\n  \"method\": \"info\",\n  \"produk\": \"TELKOMSEL\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift 01 Provider - RajaBiller_01 Provider - RajaBiller > Products_Retrieve Product Detail_example
import Foundation

let headers = [
  "x-api-key": "{{internal_api_key}}",
  "Content-Type": "application/json"
]
let parameters = [
  "pin": "{{RAJABILLER_PIN}}",
  "uid": "{{RAJABILLER_UID}}",
  "method": "info",
  "produk": "TELKOMSEL"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/api_json.php#postApi_json.php2")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```