# Create Card Limit

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

`POST` `/issuing/card/create-limit`

### **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>card_token<mark style="color:red;">*</mark></td><td>string(48)</td><td>Card Token</td></tr><tr><td>daily_transactions<mark style="color:red;">*</mark></td><td>integer</td><td><p>Daily Transactions Quality </p><p>Cannot exceed the query default card limit configuration </p></td></tr><tr><td>single_amount<mark style="color:red;">*</mark></td><td>string</td><td><p>Single Amount</p><p>Cannot exceed the query default card limit configuration </p></td></tr><tr><td>daily_amount<mark style="color:red;">*</mark></td><td>string</td><td><p>Daily Amount</p><p>Cannot exceed the query default card limit configuration </p></td></tr><tr><td>monthly_amount<mark style="color:red;">*</mark></td><td>string</td><td><p>Monthly Amount</p><p>Cannot exceed the query default card limit configuration </p></td></tr><tr><td>total_amount</td><td>string</td><td>Total Amount.Designed for share card</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": {
        "card_token": 450620141926,
        "daily_transactions": "99999",
        "single_amount": "99999",
        "daily_amount": "99999",
        "monthly_amount": "99999",
        "total_amount": "99999"
    }
}
// The biz_data in this example needs to be encrypted!
```

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

| Name              | Type    | Description                                                                                                                   |
| ----------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------- |
| limit\_id         | long    | Card Limit ID                                                                                                                 |
| card\_token       | string  | Card Token                                                                                                                    |
| transaction\_type | integer | Transaction type.Refer to: [transactionType](https://docs.pagsmile.com/issuing-card-api/data/dictionary-item/transactiontype) |
| currency          | string  | Currency.Refer to: [currency](https://docs.pagsmile.com/issuing-card-api/data/dictionary-item/currency)                       |

{% 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": {
        "limit_id": 100848,
        "transaction_type": 151,
        "currency": "USD",
        "card_token": "450620141926"
    }
}
// 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 %}
