> 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 List - Direct

GET https://c-dev-api.rajabiller.com/v1/user-products

Retrieve Product List - Direct

Reference: https://docs.ngapainrepot.space/biller/02-provider-mitra-bukalapak/retrieve-product-list-direct

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: biller
  version: 1.0.0
paths:
  /v1/user-products:
    get:
      operationId: retrieve-product-list-direct
      summary: Retrieve Product List - Direct
      description: Retrieve Product List - Direct
      tags:
        - subpackage_02ProviderMitraBukalapak
      responses:
        '200':
          description: >-
            E-Wallet (200 - OK) / Prepaid Phone Plan (200 - OK) / Game Vouchers
            (200 - OK) / ALL
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/02 Provider - Mitra
                  Bukalapak_retrieveProductListDirect_Response_200
servers:
  - url: https://c-dev-api.rajabiller.com
    description: https://c-dev-api.rajabiller.com
  - url: '{{base_url}}'
    description: '{{base_url}}'
  - url: https://api.stg.servermitra.com
    description: https://api.stg.servermitra.com
components:
  schemas:
    V1UserProductsGetResponsesContentApplicationJsonSchemaMetaOffsetPagination:
      type: object
      properties:
        limit:
          type: number
          format: double
        offset:
          type: number
          format: double
        total:
          type: number
          format: double
      title: >-
        V1UserProductsGetResponsesContentApplicationJsonSchemaMetaOffsetPagination
    V1UserProductsGetResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        cursor_pagination:
          oneOf:
            - description: Any type
            - type: 'null'
        offset_pagination:
          $ref: >-
            #/components/schemas/V1UserProductsGetResponsesContentApplicationJsonSchemaMetaOffsetPagination
      title: V1UserProductsGetResponsesContentApplicationJsonSchemaMeta
    V1UserProductsGetResponsesContentApplicationJsonSchemaUserProductsItems:
      type: object
      properties:
        base_price:
          type: string
        currency:
          type: string
        discount:
          type: string
        name:
          type: string
        price:
          type: string
        product_code:
          type: string
        status:
          type: string
        type:
          type: string
      title: V1UserProductsGetResponsesContentApplicationJsonSchemaUserProductsItems
    02 Provider - Mitra Bukalapak_retrieveProductListDirect_Response_200:
      type: object
      properties:
        meta:
          $ref: >-
            #/components/schemas/V1UserProductsGetResponsesContentApplicationJsonSchemaMeta
        user_products:
          type: array
          items:
            $ref: >-
              #/components/schemas/V1UserProductsGetResponsesContentApplicationJsonSchemaUserProductsItems
      title: 02 Provider - Mitra Bukalapak_retrieveProductListDirect_Response_200

```

## Examples

### ALL



**Response**

```json
{
  "meta": {
    "cursor_pagination": null,
    "offset_pagination": {
      "limit": 100,
      "offset": 0,
      "total": 16
    }
  },
  "user_products": [
    {
      "base_price": "51000",
      "currency": "IDR",
      "discount": "0",
      "name": "UAT Token 50000",
      "price": "51000",
      "product_code": "token-pln-50000",
      "status": "available",
      "type": "prepaid-electricity"
    },
    {
      "base_price": "52590",
      "currency": "IDR",
      "discount": "100",
      "name": "UAT Pulsa Telkomsel 50000",
      "price": "52490",
      "product_code": "topup-telkomsel-50000",
      "status": "available",
      "type": "prepaid-phone-topup"
    },
    {
      "base_price": "10500",
      "currency": "IDR",
      "discount": "0",
      "name": "Prepaid Phone Plan Rp10.000",
      "price": "10500",
      "product_code": "prepaid-phone-plan-10000",
      "status": "available",
      "type": "prepaid-phone-plan"
    },
    {
      "base_price": "10253",
      "currency": "IDR",
      "discount": "0",
      "name": "UAT DONT DELETE E Wallet Test",
      "price": "10253",
      "product_code": "ovo-10000",
      "status": "available",
      "type": "e-wallet"
    },
    {
      "base_price": "1500",
      "currency": "IDR",
      "discount": "0",
      "name": "Postpaid Electricity",
      "price": "1500",
      "product_code": "listrik-pascabayar",
      "status": "available",
      "type": "postpaid-electricity"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0000",
      "price": "5000",
      "product_code": "game-voucher-test-000000",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0030",
      "price": "5000",
      "product_code": "game-voucher-test-000030",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0033",
      "price": "5000",
      "product_code": "game-voucher-test-000033",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0068 Advice RC 0000",
      "price": "5000",
      "product_code": "game-voucher-test-000068",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "3500",
      "currency": "IDR",
      "discount": "0",
      "name": "UAT: In Game Topup",
      "price": "3500",
      "product_code": "ML100000",
      "status": "available",
      "type": "in-game-topup"
    },
    {
      "base_price": "2500",
      "currency": "IDR",
      "discount": "0",
      "name": "PDAM",
      "price": "2500",
      "product_code": "sandbox-pdam",
      "status": "available",
      "type": "water-bill"
    },
    {
      "base_price": "10001",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox cable-tv",
      "price": "10001",
      "product_code": "sandbox-cable-tv",
      "status": "available",
      "type": "cable-tv"
    },
    {
      "base_price": "100",
      "currency": "IDR",
      "discount": "0",
      "name": "DANA Open Amount",
      "price": "100",
      "product_code": "dana-open",
      "status": "available",
      "type": "e-wallet-open-amount"
    },
    {
      "base_price": "100",
      "currency": "IDR",
      "discount": "0",
      "name": "Gopay Open Amount",
      "price": "100",
      "product_code": "gopay-open",
      "status": "available",
      "type": "e-wallet-open-amount"
    },
    {
      "base_price": "100",
      "currency": "IDR",
      "discount": "0",
      "name": "open-amount-ewallet",
      "price": "100",
      "product_code": "ovo-open",
      "status": "available",
      "type": "e-wallet-open-amount"
    },
    {
      "base_price": "1500",
      "currency": "IDR",
      "discount": "0",
      "name": "UAT Multifinance",
      "price": "1500",
      "product_code": "mf-10000",
      "status": "available",
      "type": "multifinance"
    }
  ]
}
```

**SDK Code**

```python ALL
import requests

url = "https://c-dev-api.rajabiller.com/v1/user-products"

response = requests.get(url)

print(response.json())
```

```javascript ALL
const url = 'https://c-dev-api.rajabiller.com/v1/user-products';
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 ALL
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/v1/user-products"

	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 ALL
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/v1/user-products")

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 ALL
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

```php ALL
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-dev-api.rajabiller.com/v1/user-products');

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

```csharp ALL
using RestSharp;

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

```swift ALL
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/v1/user-products")! 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()
```

### E-Wallet (200 - OK)



**Response**

```json
{
  "meta": {
    "cursor_pagination": null,
    "offset_pagination": {
      "limit": 300,
      "offset": 0,
      "total": 1
    }
  },
  "user_products": [
    {
      "base_price": "10253",
      "currency": "IDR",
      "discount": "0",
      "name": "UAT DONT DELETE E Wallet Test",
      "price": "10253",
      "product_code": "ovo-10000",
      "status": "available",
      "type": "e-wallet"
    }
  ]
}
```

**SDK Code**

```python E-Wallet (200 - OK)
import requests

url = "https://c-dev-api.rajabiller.com/v1/user-products"

response = requests.get(url)

print(response.json())
```

```javascript E-Wallet (200 - OK)
const url = 'https://c-dev-api.rajabiller.com/v1/user-products';
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 E-Wallet (200 - OK)
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/v1/user-products"

	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 E-Wallet (200 - OK)
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/v1/user-products")

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 E-Wallet (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/v1/user-products")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-dev-api.rajabiller.com/v1/user-products');

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

```csharp E-Wallet (200 - OK)
using RestSharp;

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

```swift E-Wallet (200 - OK)
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/v1/user-products")! 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()
```

### Game Vouchers (200 - OK)



**Response**

```json
{
  "meta": {
    "cursor_pagination": null,
    "offset_pagination": {
      "limit": 300,
      "offset": 0,
      "total": 4
    }
  },
  "user_products": [
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0000",
      "price": "5000",
      "product_code": "game-voucher-test-000000",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0030",
      "price": "5000",
      "product_code": "game-voucher-test-000030",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0033",
      "price": "5000",
      "product_code": "game-voucher-test-000033",
      "status": "available",
      "type": "game-voucher"
    },
    {
      "base_price": "5000",
      "currency": "IDR",
      "discount": "0",
      "name": "Sandbox Game Voucher Purchase RC 0068 Advice RC 0000",
      "price": "5000",
      "product_code": "game-voucher-test-000068",
      "status": "available",
      "type": "game-voucher"
    }
  ]
}
```

**SDK Code**

```python Game Vouchers (200 - OK)
import requests

url = "https://c-dev-api.rajabiller.com/v1/user-products"

response = requests.get(url)

print(response.json())
```

```javascript Game Vouchers (200 - OK)
const url = 'https://c-dev-api.rajabiller.com/v1/user-products';
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 Game Vouchers (200 - OK)
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/v1/user-products"

	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 Game Vouchers (200 - OK)
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/v1/user-products")

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 Game Vouchers (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/v1/user-products")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-dev-api.rajabiller.com/v1/user-products');

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

```csharp Game Vouchers (200 - OK)
using RestSharp;

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

```swift Game Vouchers (200 - OK)
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/v1/user-products")! 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()
```

### Prepaid Phone Plan (200 - OK)



**Response**

```json
{
  "meta": {
    "cursor_pagination": null,
    "offset_pagination": {
      "limit": 300,
      "offset": 0,
      "total": 1
    }
  },
  "user_products": [
    {
      "base_price": "10500",
      "currency": "IDR",
      "discount": "0",
      "name": "Prepaid Phone Plan Rp10.000",
      "price": "10500",
      "product_code": "prepaid-phone-plan-10000",
      "status": "available",
      "type": "prepaid-phone-plan"
    }
  ]
}
```

**SDK Code**

```python Prepaid Phone Plan (200 - OK)
import requests

url = "https://c-dev-api.rajabiller.com/v1/user-products"

response = requests.get(url)

print(response.json())
```

```javascript Prepaid Phone Plan (200 - OK)
const url = 'https://c-dev-api.rajabiller.com/v1/user-products';
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 Prepaid Phone Plan (200 - OK)
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/v1/user-products"

	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 Prepaid Phone Plan (200 - OK)
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/v1/user-products")

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 Prepaid Phone Plan (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/v1/user-products")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-dev-api.rajabiller.com/v1/user-products');

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

```csharp Prepaid Phone Plan (200 - OK)
using RestSharp;

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

```swift Prepaid Phone Plan (200 - OK)
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/v1/user-products")! 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()
```