post https://sandbox.bluesnap.com/services/2/wallets/visa/apikeys
Definition
Payment API: https://sandbox.bluesnap.com/services/2/wallets/visa/apikeys
Documentation
The Create Visa Checkout API Keys request enables you to obtain the API key and encryption key you will need in order to support the Visa Checkout payment type. For more information, see Implementing Visa Checkout.
Retrieve Visa Checkout API Keys
The first time you send this request, a unique Visa Checkout API Key and encryption key will be created for your account. If you send this request again later, the existing two keys will be retrieved and sent in the response.
Request Content
Send the POST request to the web service URL.There is no content in the request.
Response Details
The Visa Checkout API key and encryption key will both be returned in the body of the response. See below for an example.
Examples
Request Examples
curl -v -X POST https://sandbox.bluesnap.com/services/2/wallets/visa/apikeys \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
Response Examples
{
"apiKeys": [
{
"key": "XOT8J51R9AQQ9N1EVVBN21mD1tP9Rgz3b9AGREbrBxjl94LHM",
"keyUsage": "INBOUND_AUTHENTICATION"
},
{
"key": "LQK23JXFCDPJLVMDSD6413sWoeY-D4O0q-qzZ7RH8PtDBDyzY",
"keyUsage": "ENCRYPTION"
}
]
}
Back to Top