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

# सिंगापुर क्रेडिट ब्यूरो API: ID मिलान

> Didit के साथ सिंगापुर क्रेडिट ब्यूरो का आधिकारिक डेटाबेस सत्यापन। प्रति कॉल $4.35 से, कोई अनुबंध नहीं, कोई न्यूनतम नहीं।

यह सेवा सिंगापुर के एक क्रेडिट ब्यूरो से प्राप्त क्रेडिट हेडर डेटा के विरुद्ध इनपुट डेटा का सत्यापन करती है। Didit इस सेवा को `POST /v3/database-validation/` के माध्यम से उपलब्ध कराता है, ताकि आप सबमिट किए गए डेटा का प्रामाणिक स्रोत से मिलान कर सकें और सामान्यीकृत मिलान परिणाम प्राप्त कर सकें।

## कवरेज

* **कवरेज:** सार्वजनिक नहीं किया गया
* **देश:** सिंगापुर
* **सेवा ID:** `sgp_credit_bureau`
* **डेटा डोमेन:** वित्तीय
* **श्रेणी:** CreditBureau

## इनपुट

| फ़ील्ड | आवश्यक | उदाहरण |
| - | -: | - |
| `full_name` | हाँ | `John Doe` |
| `date_of_birth` | हाँ | `1990-01-01` |
| `address.street_1` | हाँ | `123 Sample Street` |
| `address.postal_code` | हाँ | `10001` |
| `national_id` | हाँ | `SAMPLE-NID-12345` |
| `address.street_2` | नहीं | `Unit 4` |
| `address.city` | नहीं | `Sample City` |
| `address.region` | नहीं | `Sample State` |
| `vendor_data` | नहीं | `user-1234` |

* **आवश्यक इनपुट:** `full_name`, `date_of_birth`, `address.street_1`, `address.postal_code`, `national_id`
* **वैकल्पिक इनपुट:** `address.street_2`, `address.city`, `address.region`, `vendor_data`
* **सहमति:** आवश्यक
* **वर्कफ़्लो उपलब्धता:** वर्कफ़्लो में उपलब्ध
* **कवरेज:** सार्वजनिक नहीं किया गया
* **कीमत:** प्रति सफल क्वेरी \$4.35

## बॉडी पैरामीटर

**issuing\_state** `string` *required* (default: SGP)

इस डेटाबेस सेवा के लिए ISO 3166-1 alpha-3 देश कोड।

उदाहरण: `SGP`

**services** `string` *required* (default: sgp\_credit\_bureau)

इस सेवा ID वाला एक ऐरे। सेवा को पिन करने से अनुरोध इसी सटीक डेटाबेस तक सीमित रहता है।

उदाहरण: `sgp_credit_bureau`

**consent** `boolean` *required* (default: true)

इस सेवा के लिए अंतिम उपयोगकर्ता की स्पष्ट सहमति।

उदाहरण: `true`

**full\_name** `string` *required* (default: John Doe)

सत्यापित किया जाने वाला पूरा कानूनी नाम।

उदाहरण: `John Doe`

**date\_of\_birth** `string` *required* (default: 1990-01-01)

`YYYY-MM-DD` प्रारूप में जन्म तिथि।

उदाहरण: `1990-01-01`

**address** `object` *required* (default: \{"street\_1":"123 Sample Street","street\_2":"Unit 4","city":"Sample City","region":"Sample State","postal\_code":"10001","country":"US"})

संरचित आवासीय पता ऑब्जेक्ट। `street_1`, `street_2`, `city`, `region`, `postal_code` और `country` का उपयोग करें। पूरा लेगेसी पता स्ट्रिंग अब भी स्वीकार किया जाता है, लेकिन इसकी अनुशंसा नहीं की जाती।

उदाहरण: `{"street_1":"123 Sample Street","street_2":"Unit 4","city":"Sample City","region":"Sample State","postal_code":"10001","country":"US"}`

**national\_id** `string` *required* (default: SAMPLE-NID-12345)

इस सेवा के लिए राष्ट्रीय पहचान संख्या।

उदाहरण: `SAMPLE-NID-12345`

**vendor\_data** `string` (default: user-1234)

इस व्यक्ति के लिए आपका स्थिर उपयोगकर्ता संदर्भ, जैसे आपकी आंतरिक उपयोगकर्ता ID। Didit इसका उपयोग स्वतंत्र जाँचों को उसी अंतिम उपयोगकर्ता से जोड़ने और डुप्लिकेट पहचान संबंधी शोर को कम करने के लिए करता है।

उदाहरण: `user-1234`

## इनपुट नियम और सत्यापन नोट्स

* पता-आधारित सेवाओं के लिए, जहाँ संभव हो, एक ही `address` स्ट्रिंग के बजाय संरचित पता फ़ील्ड भेजें।
* `address.street_1` सड़क का पता है, जिसमें सड़क संख्या और सड़क का प्रकार शामिल है।
* `address.street_2` अपार्टमेंट, यूनिट, भवन, मंज़िल या कोई अतिरिक्त पता पंक्ति है। इसे केवल तभी भेजें जब आपके पास हो।
* `address.city` शहर, उपनगर, ज़िला, इलाका या मोहल्ला है।
* `address.region` राज्य, प्रांत, क्षेत्र या कस्बा है।
* `address.postal_code` पिनकोड या डाक कोड है।
* पता-आधारित डेटाबेस सेवाओं के लिए कम से कम सड़क का पता और डाक कोड आवश्यक हैं; स्रोत खोज से पहले अस्वीकार किए गए अनुरोधों पर शुल्क नहीं लगता।

## इसे कैसे कॉल करें

```bash cURL theme={null}
curl -X POST "https://verification.didit.me/v3/database-validation/" \
  -H "x-api-key: YOUR_API_KEY" \
  -F "issuing_state=SGP" \
  -F "services=sgp_credit_bureau" \
  -F "vendor_data=user-1234" \
  -F "consent=true" \
  -F "full_name=John Doe" \
  -F "date_of_birth=1990-01-01" \
  -F 'address={"street_1":"123 Sample Street","street_2":"Unit 4","city":"Sample City","region":"Sample State","postal_code":"10001","country":"US"}' \
  -F "national_id=SAMPLE-NID-12345"
```

```python Python theme={null}
from didit import Didit

# Reads DIDIT_API_KEY.
client = Didit()

result = client.database_validation.validate(
    issuing_state="SGP",
    services=["sgp_credit_bureau"],
    consent=True,
    full_name="John Doe",
    date_of_birth="1990-01-01",
    address={"street_1": "123 Sample Street", "street_2": "Unit 4", "city": "Sample City", "region": "Sample State", "postal_code": "10001", "country": "US"},
    national_id="SAMPLE-NID-12345",
    vendor_data="user-1234",
)
print(result)
```

```javascript Node.js theme={null}
import Didit from "@didit-protocol/sdk-node";

// Reads DIDIT_API_KEY.
const didit = new Didit();

const result = await didit.databaseValidation.validate({
  issuing_state: "SGP",
  services: ["sgp_credit_bureau"],
  consent: true,
  full_name: "John Doe",
  date_of_birth: "1990-01-01",
  address: { street_1: "123 Sample Street", street_2: "Unit 4", city: "Sample City", region: "Sample State", postal_code: "10001", country: "US" },
  national_id: "SAMPLE-NID-12345",
  vendor_data: "user-1234",
});
console.log(result);
```

```go Go theme={null}
ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()

result, err := client.DatabaseValidation.Validate(ctx, didit.DatabaseValidationValidateParams{
	IssuingState: "SGP",
	Services:     didit.Some([]string{"sgp_credit_bureau"}),
	Consent:      didit.Bool(true),
	FullName:     didit.String("John Doe"),
	DateOfBirth:  didit.String("1990-01-01"),
	Address:      didit.Some[any](map[string]any{"street_1": "123 Sample Street", "street_2": "Unit 4", "city": "Sample City", "region": "Sample State", "postal_code": "10001", "country": "US"}),
	NationalID:   didit.String("SAMPLE-NID-12345"),
	VendorData:   didit.String("user-1234"),
})
if err != nil {
	log.Fatal(err)
}
fmt.Printf("%+v\n", result)
```

```java Java theme={null}
import java.time.LocalDate;
import java.util.List;
import me.didit.Didit;
import me.didit.types.DatabaseValidationValidateParams;

// Reads DIDIT_API_KEY.
Didit client = new Didit();

var result = client.databaseValidation().validate(DatabaseValidationValidateParams.builder()
        .issuingState("SGP")
        .services(List.of("sgp_credit_bureau"))
        .consent(true)
        .fullName("John Doe")
        .dateOfBirth(LocalDate.parse("1990-01-01"))
        .address(DatabaseValidationValidateParams.Address.ofVariant1(DatabaseValidationValidateParams.Address.Variant1.builder()
                .street1("123 Sample Street")
                .street2("Unit 4")
                .city("Sample City")
                .region("Sample State")
                .postalCode("10001")
                .country("US")
                .build()))
        .nationalId("SAMPLE-NID-12345")
        .vendorData("user-1234")
        .build());
System.out.println(result);
```

```php PHP theme={null}
<?php

require 'vendor/autoload.php';

use Didit\DiditClient;

// Reads DIDIT_API_KEY.
$didit = new DiditClient();

$result = $didit->databaseValidation->validate([
    'issuing_state' => 'SGP',
    'services' => ['sgp_credit_bureau'],
    'consent' => true,
    'full_name' => 'John Doe',
    'date_of_birth' => '1990-01-01',
    'address' => ['street_1' => '123 Sample Street', 'street_2' => 'Unit 4', 'city' => 'Sample City', 'region' => 'Sample State', 'postal_code' => '10001', 'country' => 'US'],
    'national_id' => 'SAMPLE-NID-12345',
    'vendor_data' => 'user-1234',
]);
print_r($result->toArray());
```

```ruby Ruby theme={null}
require "didit"

# Reads DIDIT_API_KEY.
didit = Didit::Client.new

result = didit.database_validation.validate(
  issuing_state: "SGP",
  services: ["sgp_credit_bureau"],
  consent: true,
  full_name: "John Doe",
  date_of_birth: "1990-01-01",
  address: { street_1: "123 Sample Street", street_2: "Unit 4", city: "Sample City", region: "Sample State", postal_code: "10001", country: "US" },
  national_id: "SAMPLE-NID-12345",
  vendor_data: "user-1234"
)
puts result.to_h
```

```csharp .NET theme={null}
using System;
using System.Collections.Generic;
using System.Text.Json;
using Didit;

// Reads DIDIT_API_KEY.
using var client = new DiditClient();

var result = await client.DatabaseValidation.ValidateAsync(new DatabaseValidationValidateParams
{
    IssuingState = "SGP",
    Services = new string[] { "sgp_credit_bureau" },
    Consent = true,
    FullName = "John Doe",
    DateOfBirth = "1990-01-01",
    Address = new Dictionary<string, object> { ["street_1"] = "123 Sample Street", ["street_2"] = "Unit 4", ["city"] = "Sample City", ["region"] = "Sample State", ["postal_code"] = "10001", ["country"] = "US" },
    NationalId = "SAMPLE-NID-12345",
    VendorData = "user-1234",
});
Console.WriteLine(JsonSerializer.Serialize(result));
```

हर सफल कॉल HTTP `200` लौटाता है। **`outcome_code`** फ़ील्ड बताता है कि वास्तव में क्या हुआ: उदाहरण के लिए, वास्तविक बायोमेट्रिक मिलान न होने (`BIOMETRIC_NO_MATCH`) को उस सेल्फ़ी से अलग करता है जिसे पढ़ा नहीं जा सका (`BIOMETRIC_IMAGE_UNUSABLE`)। दिखाया गया `status` डिफ़ॉल्ट सुविधा की स्थिति है; आपकी कॉन्फ़िगर की गई [आंशिक मिलान / कोई मिलान नहीं कार्रवाइयाँ](https://docs.didit.me/hi/core-technology/database-validation/database-validation-warnings.md) इसे ओवरराइड कर सकती हैं।

**`MATCH`**: रजिस्ट्री ने पहचान की पुष्टि की और जाँचे गए हर फ़ील्ड का मिलान हुआ।

```json 200 OK — MATCH theme={null}
{
  "request_id": "req_01H…",
  "status": "Approved",
  "issuing_state": "SGP",
  "match_type": "full_match",
  "validations": [
    {
      "outcome_code": "MATCH",
      "service_id": "sgp_credit_bureau",
      "service_name": "Singapore Credit Bureau",
      "source_data": {
        "address": "123 Sample Street",
        "address_match_score": "1.000",
        "city": "Sample City",
        "date_of_birth": "1990-01-01",
        "identification_number": "SAMPLE-ID-12345",
        "postal_code": "10001",
        "street": "sample_value",
        "verifications": {
          "address": true,
          "date_of_birth": true,
          "full_name": true,
          "identification_number": true
        }
      },
      "validation": {
        "address": "full_match",
        "date_of_birth": "full_match",
        "full_name": "full_match",
        "identification_number": "full_match"
      }
    }
  ]
}
```

**`PARTIAL_MATCH`**: पहचान संख्या मिल गई, लेकिन एक या अधिक व्यक्तिगत फ़ील्ड (आमतौर पर नाम या जन्म तिथि) पूरी तरह मेल नहीं खाए।

```json 200 OK — PARTIAL_MATCH theme={null}
{
  "request_id": "req_01H…",
  "status": "In Review",
  "issuing_state": "SGP",
  "match_type": "partial_match",
  "validations": [
    {
      "outcome_code": "PARTIAL_MATCH",
      "service_id": "sgp_credit_bureau",
      "service_name": "Singapore Credit Bureau",
      "source_data": {
        "address": "123 Sample Street",
        "address_match_score": "1.000",
        "city": "Sample City",
        "date_of_birth": "1990-01-01",
        "identification_number": "SAMPLE-ID-12345",
        "postal_code": "10001",
        "street": "sample_value",
        "verifications": {
          "address": true,
          "date_of_birth": true,
          "full_name": false,
          "identification_number": true
        }
      },
      "validation": {
        "address": "full_match",
        "date_of_birth": "full_match",
        "full_name": "no_match",
        "identification_number": "full_match"
      }
    }
  ]
}
```

**`NO_MATCH`**: रजिस्ट्री ने भेजे गए डेटा के लिए कोई मिलान नहीं लौटाया।

```json 200 OK — NO_MATCH theme={null}
{
  "request_id": "req_01H…",
  "status": "Declined",
  "issuing_state": "SGP",
  "match_type": "no_match",
  "validations": [
    {
      "outcome_code": "NO_MATCH",
      "service_id": "sgp_credit_bureau",
      "service_name": "Singapore Credit Bureau",
      "source_data": {
        "address": "NO_MATCH",
        "date_of_birth": "NO_MATCH",
        "full_name": "NO_MATCH",
        "identification_number": "NO_MATCH"
      },
      "validation": {
        "address": "no_match",
        "date_of_birth": "no_match",
        "full_name": "no_match",
        "identification_number": "no_match"
      }
    }
  ]
}
```

## रिटर्न किया गया डेटा

`source_data` में कौन-से सटीक फ़ील्ड आएँगे, यह इस पर निर्भर करता है कि रजिस्ट्री क्या लौटाती है। स्वतः जनरेट किए गए `sgp_credit_bureau` उदाहरण में अभी यह सामान्यीकृत संरचना दर्ज है:

* `address`
* `address_match_score`
* `city`
* `date_of_birth`
* `identification_number`
* `postal_code`
* `street`

## मूल्य निर्धारण और SLA

Singapore Credit Bureau की क्वेरी के लिए बिलिंग तभी होती है जब Didit को सत्यापन स्रोत से निर्णायक परिणाम मिलता है।

* **प्रति कॉल कीमत:** \$4.35 USD।
* **बिलिंग:** प्रति सफल क्वेरी। जब रजिस्ट्री पहुँच से बाहर हो, आवश्यक फ़ील्ड गायब हों, या अनुरोध स्रोत तक पहुँचने से पहले अस्वीकार हो जाए, तब आपसे शुल्क नहीं लिया जाता।
* **विलंबता:** सामान्य p95 2 s से कम।
* **उपलब्धता:** Didit की ओर से प्रति तिमाही 99.9%; डाउनस्ट्रीम स्रोत की उपलब्धता देश और डेटासेट के अनुसार बदलती है।

## आगे पढ़ें

* [सिंगापुर डेटाबेस सत्यापन का अवलोकन](https://docs.didit.me/api-reference/database-validation/singapore.md)
* [डेटाबेस सत्यापन का अवलोकन](https://docs.didit.me/hi/core-technology/database-validation/overview.md)
* [परिणाम कोड](https://docs.didit.me/hi/core-technology/database-validation/database-validation-outcome-codes.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.