# Binding

Bind (register) a customer for BRI Direct Debit as a funding source.

### Endpoint

| Environment | Method | URL                                                                                                                                                                                                                                                                                                                                                                                                        |
| ----------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Development | POST   | [https://devo.finnet.co.id/pg/payment/card/directdebit/bind](<https://devo.finnet.co.id/pg/payment/card/directdebit/bind&#xA;https://devo.finnet.co.id/pg/payment/card/directdebit/unbind&#xA;https://devo.finnet.co.id/pg/payment/card/directdebit/purchase&#xA;https://devo.finnet.co.id/pg/payment/card/directdebit/balance&#xA;https://devo.finnet.co.id/pg/payment/card/directdebit/balance/history>) |
| Production  | POST   | [https://live.finnet.co.id/pg/payment/card/directdebit/bind](https://devo.finnet.co.id/pg/payment/card/directdebit/bindhttps://devo.finnet.co.id/pg/payment/card/directdebit/unbindhttps://devo.finnet.co.id/pg/payment/card/directdebit/purchasehttps://devo.finnet.co.id/pg/payment/card/directdebit/balancehttps://devo.finnet.co.id/pg/payment/card/directdebit/balance/history)                       |

### Body Request

<table><thead><tr><th width="79" data-type="number">No</th><th>Name</th><th>Type</th><th>Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td>customer</td><td>object</td><td>M</td><td>Customer identity and contact details.</td></tr><tr><td>2</td><td>customer.id</td><td>string</td><td>M</td><td></td></tr><tr><td>3</td><td>customer.email</td><td>string</td><td>M</td><td></td></tr><tr><td>4</td><td>customer.firstName</td><td>string</td><td>M</td><td></td></tr><tr><td>5</td><td>customer.lastName</td><td>string</td><td>M</td><td></td></tr><tr><td>6</td><td>customer.mobilePhone</td><td>string</td><td>M</td><td>Use international format (example: <code>+628...</code>).</td></tr><tr><td>7</td><td>sourceOfFunds</td><td>object</td><td>M</td><td>Funding source configuration.</td></tr><tr><td>8</td><td>sourceOfFunds.type</td><td>string</td><td>M</td><td>Value for BRI Direct Debit: <code>ddbri</code>.</td></tr></tbody></table>

**Sample Request**

```json
{
  "customer": {
    "id": "finnet@finpay.id",
    "email": "finnet@finpay.id",
    "firstName": "Finnet",
    "lastName": "Finpay",
    "mobilePhone": "+628133560012"
  },
  "sourceOfFunds": {
    "type": "ddbri"
  }
}
```

### Body Response

| No | Name            | Type                                                              | Mandatory | Description      |
| -- | --------------- | ----------------------------------------------------------------- | --------- | ---------------- |
| 1  | responseCode    | [Enum](/api-reference/appendix/enumeration/response-code-list.md) | M         | Response Code    |
| 2  | responseMessage | String                                                            | M         | Response Message |
| 3  | redirecturl     | String                                                            | M         | Redirect URL     |
| 4  | processingTime  | Number                                                            | M         | Processing Time  |
| 5  | traceId         | String                                                            | M         | Trace ID         |

**Sample Response**

```json
{
  "responseCode": "2000000",
  "responseMessage": "Success",
  "redirecturl": "https://example.com/redirect",
  "processingTime": 0.018,
  "traceId": "3f9c1b2a-0d5a-4a3d-8d6d-9f1a2b3c4d5e"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finpay.id/api-reference/finpay-pg/copy-of-core-api/direct-debit/bri/binding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
