# 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                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prepaidify.gitbook.io/docs/physical-card/api-integration/bank-card-activation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
