# Bank Card Application

### POST Bank Card Application

POST /api/mastercard/masterCardApply.html

Bank card application

> Request Body Example

```
```

```json
{
  "address": "Laisvés pr. 60",
  "cardChannel": 3,
  "cardType": 2,
  "contactMobile": "+8613501167215",
  "contactName": "John Doe",
  "countryCode": "LT",
  "holderId": "100085",
  "orderNo": "12345678901",
  "postCode": "05120",
  "randomStr": "abcdef12345saas67890",
  "town": "Vilnius"
}
```

#### Request Parameters

| Name          | Type    | Required | Base64 Encoding | Field Name                | Description                                              |
| ------------- | ------- | -------- | --------------- | ------------------------- | -------------------------------------------------------- |
| orderNo       | string  | true     | none            | Order number              | Card application order number                            |
| holderId      | string  | true     | none            | Cardholder ID             | Cardholder ID                                            |
| cardChannel   | integer | false    | none            | Card channel              | 3 - MasterCard (default: 3)                              |
| cardType      | integer | true     | none            | Card type                 | 2 - Personal physical card                               |
| countryCode   | string  | true     | none            | Country Code              | Shipping address, country code (two-letter country code) |
| town          | string  | true     | Y               | European region           | Shipping address, city name (in English)                 |
| address       | string  | false    | Y               | European detailed address | Shipping address, detailed address (in English)          |
| postCode      | string  | true     | none            | Postal code               | Shipping address, postal code                            |
| contactName   | string  | true     | none            | Contact person            | Shipping address, recipient's name                       |
| contactMobile | string  | true     | none            | Contact person mobile     | Shipping address, recipient's mobile number              |
| randomStr     | string  | true     | none            | Randomstr                 | A random string of 32 characters                         |

> Example Response
>
> 200 Response

```
```

```json
{
    "applyStatus": 0,
    "errMsg": "string"
}
```

#### Response Fields

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