POST api/ResendActivationCode
Used to trigger the process of generating and sending a new Activation Code (for a specific token) to the cardholder via the requested Activation Method. When successful, a new Activation Code Expiration Date Time period will begin, and a new Activation Code will be sent to the issuer using the Activation Code Notification (ACN) pre-digitization network message. It can only be used to do this for Activation Methods that involve the external distribution of an Activation Code to the cardholder. For example, via email or SMS. It cannot be used to send a new activation code via the "Mobile Application" activation method, for instance. A new Activation Code can be sent even if the previous code has not expired. A new Activation Code can also be sent even after the previous code has expired; however, it can only be done up to 30 days after the token was created (the number of days is subject to change at the discretion of Mastercard). ///
Request Information
URI Parameters
None.
Body Parameters
ResendActivationCodeRequest
ResendActivationCodeRequestName | Description | Type | Additional information |
---|---|---|---|
TokenUniqueReference |
The TokenUniqueReference of the token. Length - 48 Characters Example: DWSPMC00000000010906a349d9ca4eb1a4d53e3c90a11d9c |
string |
Required |
ActivationMethodId |
Identifier of the activation method. Example: 123123122 |
string |
None. |
AuditInfo |
Audit Info - See AuditInfo Object Documentation |
AuditInfo |
Required |
Request Formats
application/json, text/json
{ "tokenUniqueReference": "sample string 1", "activationMethodId": "sample string 2", "auditInfo": { "userId": "sample string 1", "userName": "sample string 2", "organization": "sample string 3", "phone": "sample string 4" } }
application/xml, text/xml
<ResendActivationCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDES.CustomerService.Models"> <ActivationMethodId>sample string 2</ActivationMethodId> <AuditInfo> <Organization>sample string 3</Organization> <Phone>sample string 4</Phone> <UserId>sample string 1</UserId> <UserName>sample string 2</UserName> </AuditInfo> <TokenUniqueReference>sample string 1</TokenUniqueReference> </ResendActivationCodeRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
TokenResponse with Token object - Only the TokenUniqueReference will be populated
TokenResponseName | Description | Type | Additional information |
---|---|---|---|
token |
Token - See Token Object Documentation |
Token |
None. |
Response Formats
application/json, text/json
{ "token": { "tokenUniqueReference": "sample string 1", "primaryAccountNumberUniqueReference": "sample string 2", "tokenSuffix": "sample string 3", "expirationDate": "sample string 4", "accountPanSequenceNumber": "sample string 5", "activationCodeExpirationDateTime": "sample string 6", "correlationId": "sample string 7", "currentStatusCode": "sample string 8", "currentStatusDescription": "sample string 9", "currentStatusDateTime": "sample string 10", "digitizationRequestDateTime": "sample string 11", "finalTokenizationDecision": "sample string 12", "lastCommentId": "sample string 13", "paymentAppInstanceId": "sample string 14", "provisioningStatusCode": "sample string 15", "provisioningStatusDescription": "sample string 16", "storageTechnology": "sample string 17", "suspender": [ { "suspendedBy": "sample string 1" }, { "suspendedBy": "sample string 1" } ], "tokenActivatedDateTime": "sample string 18", "tokenAssuranceLevel": "sample string 19", "tokenRequestorId": "sample string 20", "tokenRequestorName": "sample string 21", "tokenType": "sample string 22", "walletId": "sample string 23", "devices": [ { "deviceId": "sample string 1", "deviceName": "sample string 2", "deviceType": "sample string 3", "secureElementId": "sample string 4" }, { "deviceId": "sample string 1", "deviceName": "sample string 2", "deviceType": "sample string 3", "secureElementId": "sample string 4" } ], "tokenDeletedFromConsumerApp": "sample string 24", "tokenRequestorConsumerFacingEntityName": "sample string 25" } }
application/xml, text/xml
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDES.CustomerService.Models"> <token> <AccountPanSequenceNumber>sample string 5</AccountPanSequenceNumber> <ActivationCodeExpirationDateTime>sample string 6</ActivationCodeExpirationDateTime> <CorrelationId>sample string 7</CorrelationId> <CurrentStatusCode>sample string 8</CurrentStatusCode> <CurrentStatusDateTime>sample string 10</CurrentStatusDateTime> <CurrentStatusDescription>sample string 9</CurrentStatusDescription> <Devices> <Device> <DeviceId>sample string 1</DeviceId> <DeviceName>sample string 2</DeviceName> <DeviceType>sample string 3</DeviceType> <SecureElementId>sample string 4</SecureElementId> </Device> <Device> <DeviceId>sample string 1</DeviceId> <DeviceName>sample string 2</DeviceName> <DeviceType>sample string 3</DeviceType> <SecureElementId>sample string 4</SecureElementId> </Device> </Devices> <DigitizationRequestDateTime>sample string 11</DigitizationRequestDateTime> <ExpirationDate>sample string 4</ExpirationDate> <FinalTokenizationDecision>sample string 12</FinalTokenizationDecision> <LastCommentId>sample string 13</LastCommentId> <PaymentAppInstanceId>sample string 14</PaymentAppInstanceId> <PrimaryAccountNumberUniqueReference>sample string 2</PrimaryAccountNumberUniqueReference> <ProvisioningStatusCode>sample string 15</ProvisioningStatusCode> <ProvisioningStatusDescription>sample string 16</ProvisioningStatusDescription> <StorageTechnology>sample string 17</StorageTechnology> <Suspender> <Suspender> <SuspendedBy>sample string 1</SuspendedBy> </Suspender> <Suspender> <SuspendedBy>sample string 1</SuspendedBy> </Suspender> </Suspender> <TokenActivatedDateTime>sample string 18</TokenActivatedDateTime> <TokenAssuranceLevel>sample string 19</TokenAssuranceLevel> <TokenDeletedFromConsumerApp>sample string 24</TokenDeletedFromConsumerApp> <TokenRequestorConsumerFacingEntityName>sample string 25</TokenRequestorConsumerFacingEntityName> <TokenRequestorId>sample string 20</TokenRequestorId> <TokenRequestorName>sample string 21</TokenRequestorName> <TokenSuffix>sample string 3</TokenSuffix> <TokenType>sample string 22</TokenType> <TokenUniqueReference>sample string 1</TokenUniqueReference> <WalletId>sample string 23</WalletId> </token> </TokenResponse>