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

# Bill Payment

POST https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3
Content-Type: application/json

Reference: https://docs.ngapainrepot.space/biller/02-provider-mitra-bukalapak/02-provider-mitra-bukalapak-inquiry-payment/02-provider-mitra-bukalapak-02-provider-mitra-bukalapak-inquiry-payment-pln-postpaid/bill-payment

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3:
    post:
      operationId: bill-payment
      summary: Bill Payment
      tags:
        - >-
          subpackage_02ProviderMitraBukalapak.subpackage_02ProviderMitraBukalapak/02ProviderMitraBukalapakInquiryPayment.subpackage_02ProviderMitraBukalapak/02ProviderMitraBukalapakInquiryPayment/02ProviderMitraBukalapak02ProviderMitraBukalapakInquiryPaymentPlnPostpaid
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            type: string
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/02 Provider - Mitra Bukalapak_02 Provider
                  - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra
                  Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment
                  > PLN Postpaid_Bill Payment_Response_201
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                orderId:
                  type: string
                productCode:
                  type: string
                providerType:
                  type: string
                customerNumber:
                  type: string
              required:
                - orderId
                - productCode
                - providerType
                - customerNumber
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:
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataNormalizedResult:
      type: object
      properties:
        message:
          type: string
        rootKey:
          type: string
        responseCode:
          type: string
        resultStatus:
          type: string
      required:
        - message
        - rootKey
        - responseCode
        - resultStatus
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataNormalizedResult
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataProviderRequestBody:
      type: object
      properties:
        order_id:
          type: string
        product_code:
          type: string
        customer_number:
          type: string
      required:
        - order_id
        - product_code
        - customer_number
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataProviderRequestBody
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponsePostpaidElectricityTransactionBillsItems:
      type: object
      properties:
        amount:
          type: string
        period:
          type: string
          format: date
        penalty_fee:
          type: string
      required:
        - amount
        - period
        - penalty_fee
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponsePostpaidElectricityTransactionBillsItems
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponsePostpaidElectricityTransaction:
      type: object
      properties:
        bills:
          type: array
          items:
            $ref: >-
              #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponsePostpaidElectricityTransactionBillsItems
        power:
          type: integer
        period:
          type: array
          items:
            type: string
            format: date
        message:
          type: string
        currency:
          type: string
        order_id:
          type: string
        info_text:
          type: string
        penalty_fee:
          type: string
        stand_meter:
          type: string
        total_price:
          type: string
        unpaid_bill:
          type: integer
        admin_charge:
          type: string
        segmentation:
          type: string
        customer_name:
          type: string
        response_code:
          type: string
        customer_number:
          type: string
        outstanding_bill:
          type: integer
        reference_number:
          type: string
        remaining_billing_sheet:
          type: integer
      required:
        - bills
        - power
        - period
        - message
        - currency
        - order_id
        - info_text
        - penalty_fee
        - stand_meter
        - total_price
        - unpaid_bill
        - admin_charge
        - segmentation
        - customer_name
        - response_code
        - customer_number
        - outstanding_bill
        - reference_number
        - remaining_billing_sheet
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponsePostpaidElectricityTransaction
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponse:
      type: object
      properties:
        postpaid_electricity_transaction:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponsePostpaidElectricityTransaction
      required:
        - postpaid_electricity_transaction
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponse
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        operation:
          type: string
        providerCode:
          type: string
        providerType:
          type: string
        normalizedResult:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataNormalizedResult
        providerRequestBody:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataProviderRequestBody
        rawProviderResponse:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaDataRawProviderResponse
      required:
        - operation
        - providerCode
        - providerType
        - normalizedResult
        - providerRequestBody
        - rawProviderResponse
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaData
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        requestId:
          type: string
        timestamp:
          type: string
          format: date-time
      required:
        - requestId
        - timestamp
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaMeta
    02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_Response_201:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaData
        meta:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment3PostResponsesContentApplicationJsonSchemaMeta
        success:
          type: boolean
      required:
        - data
        - meta
        - success
      title: >-
        02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry +
        Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak >
        Inquiry + Payment > PLN Postpaid_Bill Payment_Response_201

```

## Examples

### 0000 - Success



**Request**

```json
undefined
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "postpaid-electricity",
    "normalizedResult": {
      "message": "successful",
      "rootKey": "postpaid_electricity_transaction",
      "responseCode": "0000",
      "resultStatus": "SUCCESS"
    },
    "providerRequestBody": {
      "order_id": "manual-pln-postpaid-0000-1780397392",
      "product_code": "listrik-pascabayar",
      "customer_number": "520000000000"
    },
    "rawProviderResponse": {
      "postpaid_electricity_transaction": {
        "bills": [
          {
            "amount": "85875",
            "period": "2022-12-01",
            "penalty_fee": "16000"
          },
          {
            "amount": "85875",
            "period": "2023-01-01",
            "penalty_fee": "16000"
          }
        ],
        "power": 1300,
        "period": [
          "2022-12-01",
          "2023-01-01"
        ],
        "message": "successful",
        "currency": "IDR",
        "order_id": "manual-pln-postpaid-0000-1780397392",
        "info_text": "Informasi Hubungi Call Center 123 Atau Hub PLN Terdekat",
        "penalty_fee": "32000",
        "stand_meter": "00470300 - 00475700",
        "total_price": "206750",
        "unpaid_bill": 0,
        "admin_charge": "3000",
        "segmentation": "R1",
        "customer_name": "John Doe",
        "response_code": "0000",
        "customer_number": "520000000000",
        "outstanding_bill": 2,
        "reference_number": "0ASM21VS134830C5EF153A962E9CCAB7",
        "remaining_billing_sheet": 0
      }
    }
  },
  "meta": {
    "requestId": "req_d7d13f0b-8d5c-45cf-9fd9-5901d4df79ec",
    "timestamp": "2026-06-02T10:49:53.124Z"
  },
  "success": true
}
```

**SDK Code**

```python 0000 - Success
import requests

url = "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

headers = {
    "x-api-key": "{{internal_api_key}}",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript 0000 - Success
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3';
const options = {
  method: 'POST',
  headers: {'x-api-key': '{{internal_api_key}}', 'Content-Type': 'application/json'},
  body: undefined
};

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

```go 0000 - Success
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

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

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

url = URI("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")

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'

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

```java 0000 - Success
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .asString();
```

```php 0000 - Success
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 0000 - Success
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "{{internal_api_key}}");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift 0000 - Success
import Foundation

let headers = [
  "x-api-key": "{{internal_api_key}}",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

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

### 0068 - Pending



**Request**

```json
undefined
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "postpaid-electricity",
    "normalizedResult": {
      "message": "pending",
      "rootKey": "postpaid_electricity_transaction",
      "responseCode": "0068",
      "resultStatus": "PENDING"
    },
    "providerRequestBody": {
      "order_id": "manual-pln-postpaid-0068-1780393807",
      "product_code": "listrik-pascabayar",
      "customer_number": "520000000068"
    },
    "rawProviderResponse": {
      "postpaid_electricity_transaction": {
        "bills": [
          {
            "amount": "85875",
            "period": "2022-12-01",
            "penalty_fee": "16000"
          },
          {
            "amount": "85875",
            "period": "2023-01-01",
            "penalty_fee": "16000"
          }
        ],
        "power": 1300,
        "period": [
          "2022-12-01",
          "2023-01-01"
        ],
        "message": "pending",
        "currency": "IDR",
        "order_id": "manual-pln-postpaid-0068-1780393807",
        "info_text": "Informasi Hubungi Call Center 123 Atau Hub PLN Terdekat",
        "penalty_fee": "32000",
        "stand_meter": "00470300 - 00475700",
        "total_price": "206750",
        "unpaid_bill": 0,
        "admin_charge": "3000",
        "segmentation": "R1",
        "customer_name": "John Doe",
        "response_code": "0068",
        "customer_number": "520000000068",
        "outstanding_bill": 2,
        "reference_number": "0ASM21VS134830C5EF153A962E9CCAB7",
        "remaining_billing_sheet": 0
      }
    }
  },
  "meta": {
    "requestId": "req_4752a8ed-fc1e-417f-9a91-232b6a4d8daf",
    "timestamp": "2026-06-02T09:50:07.653Z"
  },
  "success": true
}
```

**SDK Code**

```python 0068 - Pending
import requests

url = "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

headers = {
    "x-api-key": "{{internal_api_key}}",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript 0068 - Pending
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3';
const options = {
  method: 'POST',
  headers: {'x-api-key': '{{internal_api_key}}', 'Content-Type': 'application/json'},
  body: undefined
};

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

```go 0068 - Pending
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

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

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

url = URI("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")

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'

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

```java 0068 - Pending
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .asString();
```

```php 0068 - Pending
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 0068 - Pending
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "{{internal_api_key}}");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift 0068 - Pending
import Foundation

let headers = [
  "x-api-key": "{{internal_api_key}}",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

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

### 0014 - Unknown Customer



**Request**

```json
undefined
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "postpaid-electricity",
    "normalizedResult": {
      "message": "unknown customer number",
      "rootKey": "postpaid_electricity_transaction",
      "responseCode": "0014",
      "resultStatus": "FAILED"
    },
    "providerRequestBody": {
      "order_id": "manual-pln-postpaid-0014-1780397515",
      "product_code": "listrik-pascabayar",
      "customer_number": "520000000014"
    },
    "rawProviderResponse": {
      "postpaid_electricity_transaction": {
        "bills": [
          {
            "amount": "85875",
            "period": "2022-12-01",
            "penalty_fee": "16000"
          },
          {
            "amount": "85875",
            "period": "2023-01-01",
            "penalty_fee": "16000"
          }
        ],
        "power": 1300,
        "period": [
          "2022-12-01",
          "2023-01-01"
        ],
        "message": "unknown customer number",
        "currency": "IDR",
        "order_id": "manual-pln-postpaid-0014-1780397515",
        "info_text": "Informasi Hubungi Call Center 123 Atau Hub PLN Terdekat",
        "penalty_fee": "32000",
        "stand_meter": "00470300 - 00475700",
        "total_price": "206750",
        "unpaid_bill": 0,
        "admin_charge": "3000",
        "segmentation": "R1",
        "customer_name": "John Doe",
        "response_code": "0014",
        "customer_number": "520000000014",
        "outstanding_bill": 2,
        "reference_number": "0ASM21VS134830C5EF153A962E9CCAB7",
        "remaining_billing_sheet": 0
      }
    }
  },
  "meta": {
    "requestId": "req_9391f969-25c8-495f-8ae0-d93c592449f4",
    "timestamp": "2026-06-02T10:51:56.366Z"
  },
  "success": true
}
```

**SDK Code**

```python 0014 - Unknown Customer
import requests

url = "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

headers = {
    "x-api-key": "{{internal_api_key}}",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript 0014 - Unknown Customer
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3';
const options = {
  method: 'POST',
  headers: {'x-api-key': '{{internal_api_key}}', 'Content-Type': 'application/json'},
  body: undefined
};

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

```go 0014 - Unknown Customer
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

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

	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 0014 - Unknown Customer
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")

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'

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

```java 0014 - Unknown Customer
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .asString();
```

```php 0014 - Unknown Customer
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 0014 - Unknown Customer
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "{{internal_api_key}}");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift 0014 - Unknown Customer
import Foundation

let headers = [
  "x-api-key": "{{internal_api_key}}",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

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

### 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example



**Request**

```json
{
  "orderId": "manual-pln-postpaid-0000-{{$timestamp}}",
  "productCode": "listrik-pascabayar",
  "providerType": "postpaid-electricity",
  "customerNumber": "520000000000"
}
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "postpaid-electricity",
    "normalizedResult": {
      "message": "successful",
      "rootKey": "postpaid_electricity_transaction",
      "responseCode": "0000",
      "resultStatus": "SUCCESS"
    },
    "providerRequestBody": {
      "order_id": "manual-pln-postpaid-0000-1780397392",
      "product_code": "listrik-pascabayar",
      "customer_number": "520000000000"
    },
    "rawProviderResponse": {
      "postpaid_electricity_transaction": {
        "bills": [
          {
            "amount": "85875",
            "period": "2022-12-01",
            "penalty_fee": "16000"
          },
          {
            "amount": "85875",
            "period": "2023-01-01",
            "penalty_fee": "16000"
          }
        ],
        "power": 1300,
        "period": [
          "2022-12-01",
          "2023-01-01"
        ],
        "message": "successful",
        "currency": "IDR",
        "order_id": "manual-pln-postpaid-0000-1780397392",
        "info_text": "Informasi Hubungi Call Center 123 Atau Hub PLN Terdekat",
        "penalty_fee": "32000",
        "stand_meter": "00470300 - 00475700",
        "total_price": "206750",
        "unpaid_bill": 0,
        "admin_charge": "3000",
        "segmentation": "R1",
        "customer_name": "John Doe",
        "response_code": "0000",
        "customer_number": "520000000000",
        "outstanding_bill": 2,
        "reference_number": "0ASM21VS134830C5EF153A962E9CCAB7",
        "remaining_billing_sheet": 0
      }
    }
  },
  "meta": {
    "requestId": "req_d7d13f0b-8d5c-45cf-9fd9-5901d4df79ec",
    "timestamp": "2026-06-02T10:49:53.124Z"
  },
  "success": true
}
```

**SDK Code**

```python 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
import requests

url = "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

payload = {
    "orderId": "manual-pln-postpaid-0000-{{$timestamp}}",
    "productCode": "listrik-pascabayar",
    "providerType": "postpaid-electricity",
    "customerNumber": "520000000000"
}
headers = {
    "x-api-key": "{{internal_api_key}}",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3';
const options = {
  method: 'POST',
  headers: {'x-api-key': '{{internal_api_key}}', 'Content-Type': 'application/json'},
  body: '{"orderId":"manual-pln-postpaid-0000-{{$timestamp}}","productCode":"listrik-pascabayar","providerType":"postpaid-electricity","customerNumber":"520000000000"}'
};

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

```go 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
package main

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

func main() {

	url := "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3"

	payload := strings.NewReader("{\n  \"orderId\": \"manual-pln-postpaid-0000-{{$timestamp}}\",\n  \"productCode\": \"listrik-pascabayar\",\n  \"providerType\": \"postpaid-electricity\",\n  \"customerNumber\": \"520000000000\"\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 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
require 'uri'
require 'net/http'

url = URI("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")

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  \"orderId\": \"manual-pln-postpaid-0000-{{$timestamp}}\",\n  \"productCode\": \"listrik-pascabayar\",\n  \"providerType\": \"postpaid-electricity\",\n  \"customerNumber\": \"520000000000\"\n}"

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

```java 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .body("{\n  \"orderId\": \"manual-pln-postpaid-0000-{{$timestamp}}\",\n  \"productCode\": \"listrik-pascabayar\",\n  \"providerType\": \"postpaid-electricity\",\n  \"customerNumber\": \"520000000000\"\n}")
  .asString();
```

```php 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3', [
  'body' => '{
  "orderId": "manual-pln-postpaid-0000-{{$timestamp}}",
  "productCode": "listrik-pascabayar",
  "providerType": "postpaid-electricity",
  "customerNumber": "520000000000"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3");
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  \"orderId\": \"manual-pln-postpaid-0000-{{$timestamp}}\",\n  \"productCode\": \"listrik-pascabayar\",\n  \"providerType\": \"postpaid-electricity\",\n  \"customerNumber\": \"520000000000\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift 02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PLN Postpaid_Bill Payment_example
import Foundation

let headers = [
  "x-api-key": "{{internal_api_key}}",
  "Content-Type": "application/json"
]
let parameters = [
  "orderId": "manual-pln-postpaid-0000-{{$timestamp}}",
  "productCode": "listrik-pascabayar",
  "providerType": "postpaid-electricity",
  "customerNumber": "520000000000"
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment3")! 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()
```