> 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-payment4
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-pdam/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-payment4:
    post:
      operationId: bill-payment
      summary: Bill Payment
      tags:
        - >-
          subpackage_02ProviderMitraBukalapak.subpackage_02ProviderMitraBukalapak/02ProviderMitraBukalapakInquiryPayment.subpackage_02ProviderMitraBukalapak/02ProviderMitraBukalapakInquiryPayment/02ProviderMitraBukalapak02ProviderMitraBukalapakInquiryPaymentPdam
      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
                  > PDAM_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:
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataNormalizedResult:
      type: object
      properties:
        message:
          type: string
        rootKey:
          type: string
        responseCode:
          type: string
        resultStatus:
          type: string
      required:
        - message
        - rootKey
        - responseCode
        - resultStatus
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataNormalizedResult
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataProviderRequestBody:
      type: object
      properties:
        order_id:
          type: string
        product_code:
          type: string
        customer_number:
          type: string
      required:
        - order_id
        - product_code
        - customer_number
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataProviderRequestBody
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransactionBillsItems:
      type: object
      properties:
        usage:
          type: string
        waste:
          type: string
        amount:
          type: string
        period:
          type: string
          format: date
        cubication:
          type: string
        stamp_duty:
          type: string
        penalty_fee:
          type: string
        biller_paid_number:
          type: string
      required:
        - usage
        - waste
        - amount
        - period
        - cubication
        - stamp_duty
        - penalty_fee
        - biller_paid_number
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransactionBillsItems
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransactionOperator:
      type: object
      properties:
        name:
          type: string
        terms_and_conditions:
          type: string
      required:
        - name
        - terms_and_conditions
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransactionOperator
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransaction:
      type: object
      properties:
        bills:
          type: array
          items:
            $ref: >-
              #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransactionBillsItems
        usage:
          type: string
        address:
          type: string
        message:
          type: string
        currency:
          type: string
        operator:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransactionOperator
        bill_count:
          type: string
        biller_ref:
          type: string
        penalty_fee:
          type: string
        sub_segment:
          type: string
        total_price:
          type: string
        admin_charge:
          type: string
        customer_name:
          type: string
        response_code:
          type: string
        customer_number:
          type: string
        end_bill_period:
          type: string
          format: date
        end_usage_meter:
          type: string
        reference_number:
          type: string
        start_bill_period:
          type: string
          format: date
        start_usage_meter:
          type: string
      required:
        - bills
        - usage
        - address
        - message
        - currency
        - operator
        - bill_count
        - biller_ref
        - penalty_fee
        - sub_segment
        - total_price
        - admin_charge
        - customer_name
        - response_code
        - customer_number
        - end_bill_period
        - end_usage_meter
        - reference_number
        - start_bill_period
        - start_usage_meter
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransaction
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponse:
      type: object
      properties:
        water_bill_transaction:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponseWaterBillTransaction
      required:
        - water_bill_transaction
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponse
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        operation:
          type: string
        providerCode:
          type: string
        providerType:
          type: string
        normalizedResult:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataNormalizedResult
        providerRequestBody:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataProviderRequestBody
        rawProviderResponse:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaDataRawProviderResponse
      required:
        - operation
        - providerCode
        - providerType
        - normalizedResult
        - providerRequestBody
        - rawProviderResponse
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaData
    InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaMeta:
      type: object
      properties:
        requestId:
          type: string
        timestamp:
          type: string
          format: date-time
      required:
        - requestId
        - timestamp
      title: >-
        InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaMeta
    02 Provider - Mitra Bukalapak_02 Provider - Mitra Bukalapak > Inquiry + Payment_02 Provider - Mitra Bukalapak > 02 Provider - Mitra Bukalapak > Inquiry + Payment > PDAM_Bill Payment_Response_201:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaData
        meta:
          $ref: >-
            #/components/schemas/InternalProvidersMitraBukalapakBillPaymentPostInternalProvidersMitraBukalapakBillPayment4PostResponsesContentApplicationJsonSchemaMeta
        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 > PDAM_Bill Payment_Response_201

```

## Examples

### 0000 - Success Single Bills



**Request**

```json
undefined
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "water-bill",
    "normalizedResult": {
      "message": "successful",
      "rootKey": "water_bill_transaction",
      "responseCode": "0000",
      "resultStatus": "SUCCESS"
    },
    "providerRequestBody": {
      "order_id": "manual-pdam-0000-1780395419",
      "product_code": "sandbox-pdam",
      "customer_number": "1998900000001"
    },
    "rawProviderResponse": {
      "water_bill_transaction": {
        "bills": [
          {
            "usage": "56",
            "waste": "",
            "amount": "1110",
            "period": "2012-01-01",
            "cubication": "402-458",
            "stamp_duty": "",
            "penalty_fee": "0",
            "biller_paid_number": ""
          }
        ],
        "usage": "56",
        "address": "Jalan Ampera Raya No. 22",
        "message": "successful",
        "currency": "IDR",
        "operator": {
          "name": "PDAM",
          "terms_and_conditions": ""
        },
        "bill_count": "1",
        "biller_ref": "",
        "penalty_fee": "0",
        "sub_segment": "",
        "total_price": "3610",
        "admin_charge": "2500",
        "customer_name": "JUNAIDI XX001",
        "response_code": "0000",
        "customer_number": "1998900000001",
        "end_bill_period": "2012-01-01",
        "end_usage_meter": "458",
        "reference_number": "",
        "start_bill_period": "2012-01-01",
        "start_usage_meter": "402"
      }
    }
  },
  "meta": {
    "requestId": "req_3e3e7c5e-9729-4f81-a4c2-c1630518b77d",
    "timestamp": "2026-06-02T10:16:59.829Z"
  },
  "success": true
}
```

**SDK Code**

```python 0000 - Success Single Bills
import requests

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

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

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

print(response.json())
```

```javascript 0000 - Success Single Bills
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4';
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 Single Bills
package main

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

func main() {

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

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

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

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 Single Bills
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-payment4")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .asString();
```

```php 0000 - Success Single Bills
<?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-payment4', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 0000 - Success Single Bills
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4");
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 Single Bills
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-payment4")! 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()
```

### 0000 - Success Multiple Bills



**Request**

```json
undefined
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "water-bill",
    "normalizedResult": {
      "message": "successful",
      "rootKey": "water_bill_transaction",
      "responseCode": "0000",
      "resultStatus": "SUCCESS"
    },
    "providerRequestBody": {
      "order_id": "manual-pdam-multi-1780395447",
      "product_code": "sandbox-pdam",
      "customer_number": "1998900000002"
    },
    "rawProviderResponse": {
      "water_bill_transaction": {
        "bills": [
          {
            "usage": "56",
            "waste": "",
            "amount": "1110",
            "period": "2012-01-01",
            "cubication": "402-458",
            "stamp_duty": "",
            "penalty_fee": "0",
            "biller_paid_number": ""
          },
          {
            "usage": "56",
            "waste": "",
            "amount": "1110",
            "period": "2012-02-01",
            "cubication": "458-514",
            "stamp_duty": "",
            "penalty_fee": "0",
            "biller_paid_number": ""
          }
        ],
        "usage": "112",
        "address": "Jalan Ampera Raya No. 22",
        "message": "successful",
        "currency": "IDR",
        "operator": {
          "name": "PDAM",
          "terms_and_conditions": ""
        },
        "bill_count": "2",
        "biller_ref": "",
        "penalty_fee": "0",
        "sub_segment": "",
        "total_price": "7220",
        "admin_charge": "5000",
        "customer_name": "JUNAIDI XX001",
        "response_code": "0000",
        "customer_number": "1998900000002",
        "end_bill_period": "2012-02-01",
        "end_usage_meter": "514",
        "reference_number": "",
        "start_bill_period": "2012-01-01",
        "start_usage_meter": "402"
      }
    }
  },
  "meta": {
    "requestId": "req_8b92eb7e-5b51-47e3-b79a-2b2af87c68b1",
    "timestamp": "2026-06-02T10:17:28.268Z"
  },
  "success": true
}
```

**SDK Code**

```python 0000 - Success Multiple Bills
import requests

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

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

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

print(response.json())
```

```javascript 0000 - Success Multiple Bills
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4';
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 Multiple Bills
package main

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

func main() {

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

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

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

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 Multiple Bills
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-payment4")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .asString();
```

```php 0000 - Success Multiple Bills
<?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-payment4', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 0000 - Success Multiple Bills
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4");
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 Multiple Bills
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-payment4")! 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 then Advice Success



**Request**

```json
undefined
```

**Response**

```json
{
  "data": {
    "operation": "BILL_PAYMENT",
    "providerCode": "mitra_bukalapak",
    "providerType": "water-bill",
    "normalizedResult": {
      "message": "pending",
      "rootKey": "water_bill_transaction",
      "responseCode": "0068",
      "resultStatus": "PENDING"
    },
    "providerRequestBody": {
      "order_id": "manual-pdam-0068-1780395475",
      "product_code": "sandbox-pdam",
      "customer_number": "1998900006801"
    },
    "rawProviderResponse": {
      "water_bill_transaction": {
        "bills": [
          {
            "usage": "56",
            "waste": "",
            "amount": "1110",
            "period": "2012-01-01",
            "cubication": "402-458",
            "stamp_duty": "",
            "penalty_fee": "0",
            "biller_paid_number": ""
          }
        ],
        "usage": "56",
        "address": "Jalan Ampera Raya No. 22",
        "message": "pending",
        "currency": "IDR",
        "operator": {
          "name": "PDAM",
          "terms_and_conditions": ""
        },
        "bill_count": "1",
        "biller_ref": "",
        "penalty_fee": "0",
        "sub_segment": "",
        "total_price": "3610",
        "admin_charge": "2500",
        "customer_name": "JUNAIDI XX001",
        "response_code": "0068",
        "customer_number": "1998900006801",
        "end_bill_period": "2012-01-01",
        "end_usage_meter": "458",
        "reference_number": "",
        "start_bill_period": "2012-01-01",
        "start_usage_meter": "402"
      }
    }
  },
  "meta": {
    "requestId": "req_2456fb16-b4b7-4d79-aa42-47f3385df0ac",
    "timestamp": "2026-06-02T10:17:55.734Z"
  },
  "success": true
}
```

**SDK Code**

```python 0068 - Pending then Advice Success
import requests

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

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

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

print(response.json())
```

```javascript 0068 - Pending then Advice Success
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4';
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 then Advice 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-payment4"

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

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

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 then Advice 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-payment4")
  .header("x-api-key", "{{internal_api_key}}")
  .header("Content-Type", "application/json")
  .asString();
```

```php 0068 - Pending then Advice 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-payment4', [
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{internal_api_key}}',
  ],
]);

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

```csharp 0068 - Pending then Advice Success
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4");
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 then Advice 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-payment4")! 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 > PDAM_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": "water-bill",
    "normalizedResult": {
      "message": "successful",
      "rootKey": "water_bill_transaction",
      "responseCode": "0000",
      "resultStatus": "SUCCESS"
    },
    "providerRequestBody": {
      "order_id": "manual-pdam-0000-1780395419",
      "product_code": "sandbox-pdam",
      "customer_number": "1998900000001"
    },
    "rawProviderResponse": {
      "water_bill_transaction": {
        "bills": [
          {
            "usage": "56",
            "waste": "",
            "amount": "1110",
            "period": "2012-01-01",
            "cubication": "402-458",
            "stamp_duty": "",
            "penalty_fee": "0",
            "biller_paid_number": ""
          }
        ],
        "usage": "56",
        "address": "Jalan Ampera Raya No. 22",
        "message": "successful",
        "currency": "IDR",
        "operator": {
          "name": "PDAM",
          "terms_and_conditions": ""
        },
        "bill_count": "1",
        "biller_ref": "",
        "penalty_fee": "0",
        "sub_segment": "",
        "total_price": "3610",
        "admin_charge": "2500",
        "customer_name": "JUNAIDI XX001",
        "response_code": "0000",
        "customer_number": "1998900000001",
        "end_bill_period": "2012-01-01",
        "end_usage_meter": "458",
        "reference_number": "",
        "start_bill_period": "2012-01-01",
        "start_usage_meter": "402"
      }
    }
  },
  "meta": {
    "requestId": "req_3e3e7c5e-9729-4f81-a4c2-c1630518b77d",
    "timestamp": "2026-06-02T10:16:59.829Z"
  },
  "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 > PDAM_Bill Payment_example
import requests

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

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 > PDAM_Bill Payment_example
const url = 'https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4';
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 > PDAM_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-payment4"

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

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

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 > PDAM_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-payment4")
  .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 > PDAM_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-payment4', [
  '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 > PDAM_Bill Payment_example
using RestSharp;

var client = new RestClient("https://c-dev-api.rajabiller.com/internal/providers/mitra-bukalapak/bill-payment#postInternalProvidersMitra-bukalapakBill-payment4");
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 > PDAM_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-payment4")! 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()
```