{
"opencollection": "1.0.0",
"info": {
"name": "eBay Account Advertising_eligibility Public_key API",
"version": "v1.9.2"
},
"items": [
{
"info": {
"name": "Public_key",
"type": "folder"
},
"items": [
{
"info": {
"name": "getPublicKey",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.ebay.com{basePath}/public_key/:public_key_id",
"params": [
{
"name": "public_key_id",
"value": "",
"type": "path",
"description": "The unique key ID that is used to retrieve the public key.
Note: This is retrieved from the X-EBAY-SIGNATURE header that is included with the push notification."
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.ebay.com/oauth2/authorize",
"accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This method allows users to retrieve a public key using a specified key ID. The public key that is returned in the response payload is used to process and validate eBay notifications.
The public key ID, which is a required request parameter for this method, is retrieved from the Base64-encoded X-EBAY-SIGNATURE header that is included in the eBay notification.