# Create Card Contact

### **Request** URI <a href="#payin-by-creditcard" id="payin-by-creditcard"></a>

`POST` `/issuing/card/create-contact`

### **Request Body**

**Refer to :** [**common**](https://docs.pagsmile.com/issuing-card-api/common)

**Biz\_data :**

<table><thead><tr><th width="173.1328125">Name</th><th width="99.23046875">Type</th><th>Description</th></tr></thead><tbody><tr><td>first_name<mark style="color:red;">*</mark></td><td>string(64)</td><td>First Name</td></tr><tr><td>last_name<mark style="color:red;">*</mark></td><td>string(64)</td><td>Last Name</td></tr><tr><td>mobile<mark style="color:red;">*</mark></td><td>string</td><td>Mobile</td></tr><tr><td>email<mark style="color:red;">*</mark></td><td>string</td><td>Email</td></tr><tr><td>language</td><td>string</td><td>Language  </td></tr></tbody></table>

{% hint style="info" %}
Default currency: USD&#x20;
{% endhint %}

### **Request** Example <a href="#example" id="example"></a>

```
{
    "app_id": "00000000000000000",
    "partner_id": "00000000000000000",
    "request_id": "b1c8bCBE-5471-f646-2057-9c0F0eFe",
    "timestamp": "2025-04-07 13:56:46",
    "format": "JSON",
    "version": "2.0",
    "random_key": "<generated_key>",
    "sign_type": "RSA",
    "biz_data": {
        "first_name": "xxe",
        "last_name": "xxxx",
        "mobile": "+861234789999",
        "email": "122@12.com"
    }
}
// The biz_data in this example needs to be encrypted!
```

### Response <a href="#example" id="example"></a>

| Name        | Type | Description     |
| ----------- | ---- | --------------- |
| contact\_id | long | Card Contact ID |

{% tabs %}
{% tab title="200:OK" %}

```
{
    "code": "10000",
    "msg": "Success",
    "total": 1,
    "random_key": "<random key used for decryption>",
    "sign_type": "RSA",
    "app_id": "00000000000000000",
    "data": {
        "contact_id": 100848
    }
}
// The data in this example has already been decrypted.
```

{% endtab %}

{% tab title="400: invalid-signature" %}

```
{
    "code": "40002",
    "msg": "Business Failed",
    "sub_code": "invalid-signature",
    "sub_msg": "invalid signature"
}
```

{% endtab %}
{% endtabs %}
