Radial Integration | 2016
A Public Key call retrieves the public key used for a specific store and encryption algorithm.
Action | URI Template | URI Example | Non-URI Request | Response |
---|---|---|---|---|
POST | /vM.m/stores/[StoreId]/payments/publickey/lookup.xml | /vM.m/stores/TMSUS/ payments/publickey/lookup.xml |
XML | XML Response containing public key configured for the requested store and algorithm version |
The request is a PublicKeyRequest message.
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyRequest xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
<AlgorithmVersion>bt4</AlgorithmVersion>
</PublicKeyRequest>
Element | Required | Description | Type | Restriction |
---|---|---|---|---|
AlgorithmVersion | Yes | The algorithm version of the public key requested | String | 3-8 Characters |
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyRequest xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
<AlgorithmVersion>bt4</AlgorithmVersion>
</PublicKeyRequest>
The response is a PublicKeyReply message.
<?xml version="1.0" encoding="UTF-8"?>
<PublicKeyReply xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
<PublicKey>{PublicKey}</PublicKey>
</PublicKeyReply>
Element | Required | Description | Type | Restriction |
---|---|---|---|---|
PublicKey | Yes | The public key for the requested StoreId and algorithm version | String | 2000 Characters |
<?xml version="1.0" encoding="UTF-8"?>
<ProtectPanReply xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
<Token>4111110PASeK1111</Token>
</ProtectPanReply>
Copyright © 2017 Radial. All rights reserved.