POST api/v100/cardTypes/{cardTypeID}/encryptionKeys
Request a new key to encrypt data to send a card. The FEP shall forward the new key encryption request to the vault indicated by the CardTypeID / IssuerID combination of the table CardTypes.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cardTypeID |
Card Type In use. |
string |
Required |
Headers
| Name | Description | Type | Additional information |
|---|---|---|---|
| appkey |
Ej. abcdefghijk |
None. |
|
| session |
Ej. 1234567890 |
None. |
Body Parameters
None.
Response Information
Resource Description
EncryptionPublicKey| Name | Description | Type | Additional information |
|---|---|---|---|
| publicKey |
Public Key. |
string |
Required |
| type |
Encryption Type. |
integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"publicKey": "sample string 1",
"type": 2
}