> ## Documentation Index
> Fetch the complete documentation index at: https://curlec.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate a DuitNow Proxy

> Create a contact and a fund account and validate a fund account of type DuitNow via a single API.

Available in
🇲🇾 Malaysia

> [!NOTE]
>
> RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, [contact our Support team](https://curlec.com/docs/payments/dashboard/support.md).

Use this endpoint to create a contact and a fund account and validate a DuitNow proxy in a single API call. The validation is a proxy lookup with DuitNow. No amount is credited to the beneficiary and the request has no `amount` parameter.

```bash Curl theme={null}
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
-X POST https://api.razorpay.com/v1/fund_accounts/validations \
-H "Content-Type: application/json" \
-d '{
  "account_number": "8181810000000000",
  "fund_account": {
    "account_type": "duitnow",
    "duitnow": {
      "proxy_type": "MBNO",
      "proxy_value": "+60123456789",
      "name": "Aishah Binti Rahman"
    },
    "contact": {
      "name": "Aishah Binti Rahman",
      "type": "customer",
      "reference_id": "Acme Contact ID 12345"
    }
  },
  "reference_id": "VAL-1042",
  "notes": {
    "purpose": "beneficiary check"
  }
}'
```

```json Created theme={null}
{
  "id": "fav_F681qyH4gUwP2j",
  "entity": "fund_account.validation",
  "fund_account": {
    "id": "fa_F681qr6Bqy1Je8",
    "entity": "fund_account",
    "contact_id": "cont_F681qmU11CfPDl",
    "account_type": "duitnow",
    "duitnow": {
      "proxy_type": "MBNO",
      "proxy_value": "+60*****6789",
      "name": "Aishah Binti Rahman"
    },
    "active": true,
    "created_at": 1795089601
  },
  "status": "created",
  "validation_results": {
    "account_status": null,
    "registered_name": null,
    "details": null,
    "name_match_score": null
  },
  "status_details": {
    "description": "Validation request is created",
    "source": "internal",
    "reason": "validation_request_created"
  },
  "reference_id": "VAL-1042",
  "notes": {
    "purpose": "beneficiary check"
  },
  "created_at": 1795089601
}
```

```json Completed theme={null}
{
  "id": "fav_F681qyH4gUwP2j",
  "entity": "fund_account.validation",
  "fund_account": {
    "id": "fa_F681qr6Bqy1Je8",
    "entity": "fund_account",
    "contact_id": "cont_F681qmU11CfPDl",
    "account_type": "duitnow",
    "duitnow": {
      "proxy_type": "MBNO",
      "proxy_value": "+60*****6789",
      "name": "Aishah Binti Rahman"
    },
    "active": true,
    "created_at": 1795089601
  },
  "status": "completed",
  "validation_results": {
    "account_status": "active",
    "registered_name": "AISHAH BINTI RAHMAN",
    "details": "The beneficiary account is valid.",
    "name_match_score": 100
  },
  "status_details": {
    "description": "Validation request is completed",
    "source": "beneficiary_bank",
    "reason": "validation_completed"
  },
  "reference_id": "VAL-1042",
  "notes": {
    "purpose": "beneficiary check"
  },
  "created_at": 1795089601
}
```

## Request Parameters

**account\_number** `string` *required*

Your RazorpayX account number. It has 16 digits and starts with `818181`. For example, `8181810000000000`.

> [!WARNING]
>
> **Watch Out!**
>
> This is not the beneficiary's bank account number. It is the account number of your RazorpayX account, shown on the RazorpayX Dashboard.

**fund\_account** `object` *required*

The details of the fund account you want to validate.

**fund\_account.account\_type** `string` *required*

The fund account type. Here it is `duitnow`.

**fund\_account.duitnow** `object` *required*

The beneficiary's DuitNow proxy details.

**fund\_account.duitnow\.proxy\_type** `string` *required*

The type of DuitNow proxy. Possible values:

* `MBNO`: Mobile number
* `NRIC`: NRIC number
* `PSPT`: Passport number
* `BREG`: Business registration number
* `ARMN`: Army or police number

**fund\_account.duitnow\.proxy\_value** `string` *required*

The proxy value, up to 255 characters. For example, `+60123456789`.

* For `MBNO`, you can send the mobile number starting with `0`, `60` or `+60`.
* For `NRIC`, you can send the number with dashes and spaces.

**fund\_account.duitnow\.name** `string` *required*

The beneficiary's name, 3 to 120 characters. For example, `Aishah Binti Rahman`.

**fund\_account.duitnow\.passport\_issuing\_country** `string`

The three-letter code of the country that issued the passport. Required when `proxy_type` is `PSPT`. It is used for `PSPT` only.

**fund\_account.contact** `object` *required*

The beneficiary's contact details.

**fund\_account.contact.name** `string` *required*

The beneficiary's name. For example, `Aishah Binti Rahman`.

**fund\_account.contact.type** `string`

A classification for the contact. For example, `vendor`, `customer` or `employee`.

**fund\_account.contact.reference\_id** `string`

Your reference for the beneficiary. For example, `Acme Contact ID 12345`.

**reference\_id** `string`

Your reference for the validation. It is returned in the response. For example, `VAL-1042`.

**notes** `object`

Key-value pairs that you can use to store additional information for your own use. You can send up to 15 key-value pairs. For example, `"purpose": "beneficiary check"`.

## Response Parameters

> [!NOTE]
>
> **Handy Tips**
>
> The result is also sent by the `fund_account.validation.completed` or `fund_account.validation.failed` webhook. To set up webhooks, refer to [Subscribe to webhooks](https://curlec.com/docs/x/apis/subscribe.md). You can also [fetch the validation with its id](https://curlec.com/docs/api/x/composite-account-validation/fetch-transactions-with-id.md).

**id** `string`

The unique identifier of the fund account validation. For example, `fav_F681qyH4gUwP2j`.

**entity** `string`

Here it is `fund_account.validation`.

**status** `string`

The status of the validation. Possible values:

* `created`: The check is in progress.
* `completed`: The check is complete. Read the outcome in `validation_results`.
* `failed`: The check could not be completed.

**validation\_results** `object`

The outcome of the validation.

**validation\_results.account\_status** `string`

Shows whether the account is valid. It is `null` until the check completes. Possible values:

* `active`
* `invalid`

**validation\_results.registered\_name** `string`

The name registered with DuitNow for the proxy. For example, `AISHAH BINTI RAHMAN`. It is `null` until the check completes.

**validation\_results.name\_match\_score** `integer`

The score for the match between the name you sent and the name registered with the bank.

**validation\_results.details** `string`

Additional details about the validation result.

**status\_details** `object`

Details about the status of the validation.

**status\_details.reason** `string`

The reason for the status of the validation.

**status\_details.description** `string`

A description of the reason.

**status\_details.source** `string`

The source of the status.

**reference\_id** `string`

Your reference for the validation, as sent in the request. For example, `VAL-1042`.

**fund\_account** `object`

The fund account that was validated. You can use its `id` in later payouts.

**fund\_account.id** `string`

The unique identifier of the fund account. For example, `fa_F681qr6Bqy1Je7`.

**fund\_account.entity** `string`

Here it is `fund_account`.

**fund\_account.contact\_id** `string`

The unique identifier of the contact that the fund account belongs to. For example, `cont_F681qmU11CfPDl`.

**fund\_account.account\_type** `string`

The fund account type. Here it is `duitnow`.

**fund\_account.duitnow** `object`

The DuitNow proxy details. Returned when `account_type` is `duitnow`.

**fund\_account.duitnow\.proxy\_type** `string`

The type of DuitNow proxy. Possible values:

* `MBNO`: Mobile number
* `NRIC`: NRIC number
* `PSPT`: Passport number
* `BREG`: Business registration number
* `ARMN`: Army or police number

**fund\_account.duitnow\.proxy\_value** `string`

The proxy value, masked to the last four characters. For example, `+60*****6789`.

**fund\_account.duitnow\.name** `string`

The beneficiary's name, as you sent it. For example, `Aishah Binti Rahman`.

**fund\_account.active** `boolean`

The status of the fund account. Possible values:

* `true`: active
* `false`: inactive

**fund\_account.created\_at** `integer`

Unix timestamp of when the fund account was created. For example, `1795089601`.

**notes** `object`

The key-value pairs you sent with the request.

**created\_at** `integer`

Unix timestamp of when the validation was created. For example, `1795089601`.
