openapi: 3.0.0
info:
title: eBay Account Advertising_eligibility Signing_key API
description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.
For details on the availability of the methods in this API, see Account API requirements and restrictions.
contact:
name: eBay Inc,
license:
name: eBay API License Agreement
url: https://go.developer.ebay.com/api-license-agreement
version: v1.9.2
servers:
- url: https://api.ebay.com{basePath}
description: Production
variables:
basePath:
default: /sell/account/v1
tags:
- name: Signing_key
paths:
/signing_key:
get:
tags:
- Signing_key
description: This method returns the Public Key, Public Key as JWE, and metadata for all keypairs associated with the application key making the call.
Note: It is important to note that privateKey values are not returned. In order to further ensure the security of confidential client information, eBay does not store privateKey values in any system. If a developer loses their privateKey they must generate new keypairs set using the createSigningKey method.
operationId: getSigningKeys
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/QuerySigningKeysResponse'
'400':
description: Bad Request
x-response-codes:
errors:
'210005':
domain: API_KEYS
category: REQUEST
description: You must request with a token having valid application client id.
'401':
description: Unauthorized
'403':
description: Forbidden
'500':
description: Internal Server Error
x-response-codes:
errors:
'210000':
domain: API_KEYS
category: APPLICATION
description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance.
security:
- api_auth:
- https://api.ebay.com/oauth/api_scope
post:
tags:
- Signing_key
description: This method creates keypairs using one of the following ciphers:
getSigningKey and getSigningKeys methods, in order to further ensure the security of confidential client information, eBay does not store the Private Key value in any system. If a developer loses their Private Key they must generate new keypairs using the createSigningKey method.signingKeyId associated with the application key making the call.privateKey value is not returned. In order to further ensure the security of confidential client information, eBay does not store the privateKey value in any system. If a developer loses their privateKey they must generate new keypairs using the createSigningKey method.
operationId: getSigningKey
parameters:
- name: signing_key_id
in: path
description: The system-generated eBay ID of the keypairs being requested.
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/SigningKey'
'400':
description: Bad Request
x-response-codes:
errors:
'210005':
domain: API_KEYS
category: REQUEST
description: You must request with a token having valid application client id.
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not found
x-response-codes:
errors:
'210002':
domain: API_KEYS
category: REQUEST
description: The signing key with id {signingKeyId} was not found.
'500':
description: Internal Server Error
x-response-codes:
errors:
'210000':
domain: API_KEYS
category: APPLICATION
description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance.
security:
- api_auth:
- https://api.ebay.com/oauth/api_scope
components:
schemas:
SigningKey:
type: object
properties:
creationTime:
type: integer
description: The UNIX timestamp when the SigningKey was created. This time is represented as the number of seconds from "1970-01-01T00:00:00Z", as measured in UTC, until the date and time the SigningKey was created.
format: int32
expirationTime:
type: integer
description: The UNIX timestamp when the SigningKey expires. This time is represented as the number of seconds from "1970-01-01T00:00:00Z", as measured in UTC, until the date and time the SigningKey expires.creationTime.
format: int32
jwe:
type: string
description: This is the JSON Web Encrypted (JWE) value for the publicKey.
privateKey:
type: string
description: This is the Private Key that has been generated using the specified signingKeyCipher.privateKey value will only be returned in the response payload of the createSigningKey method.getSigningKey or getSigningKeys methods.Developers are strongly advised to download their privateKey value as Privacy Enhance Mail (PEM) format and store it locally for future reference. In order to guarantee the security of confidential client information, eBay does not store privateKey values on any system.privateKey they must generate new keypairs set using the createSigningKey method.
publicKey:
type: string
description: This is the Public Key that has been generated using the specified signingKeyCipher.