> For the complete documentation index, see [llms.txt](https://prepaidify.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prepaidify.gitbook.io/docs/physical-card/api-integration/bank-card-activation.md).

# Bank Card Activation

### POST Bank Card Activation

POST /api/mastercard/masterCardBind.html

Bank card activation: Activation status: 1 - Success, 2 - Failure

> Request Body

```
```

```json
{
  "cardId": "card123456",
  "cardNo": "1234567890",
  "holderId": "holder123456",
  "randomStr": "abcdef1234567890"
}
```

#### Request Parameters

| Name      | Type   | Required | Base64 Encoding | Field Name    | Description                              |
| --------- | ------ | -------- | --------------- | ------------- | ---------------------------------------- |
| cardId    | string | false    | none            | Card token    | Either cardId or cardNo must be provided |
| cardNo    | string | false    | none            | Card number   | Either cardId or cardNo must be provided |
| holderId  | string | true     | none            | Cardholder ID | Cardholder ID                            |
| randomStr | string | true     | none            | Randomstr     | A random string of 32 characters         |

> Example Response
>
> 200 Response

```
```

```json
{
    "activeStatus": 1,
    "errMsg": "Activation successful, 1: Success, 2: Failure"
  
}
```

#### Response Fields

| Name         | Type    | Required | Constraints | Description                                 |
| ------------ | ------- | -------- | ----------- | ------------------------------------------- |
| activeStatus | integer | true     | none        | Activation status: 1 - Success, 2 - Failure |
| errMsg       | string  | true     | none        | Status description                          |
