The Alipay API uses API keys and client ID to authenticate requests. You can obtain your API keys and client ID in Alipay Developer Center. After logging in to Alipay Developer Center, a client ID is assigned to you after creating an application. You can use the key management tool provided in Alipay Developer Center to generate and manage your public key.
To authenticate your requests, you need to upload your public key in Alipay Developer Center. When calling the API, include the client ID in the header of each API request and Alipay will use the corresponding public key for a specific client ID to perform the signature validation.
Sample of a request header