<Back to the list

Key pair generation and validation

Merchants can use Alipay API Tool to generate key pairs, and validate whether the public key and private matches.

Watch the following video to have a quick overview of how to generate and validate key pairs:

Key pair generation

Complete the following steps to generate a key pair:

  1. Download Alipay API Tool.
  2. Extract AlipayApiTool.zip.
  3. Depending on your operating system, execute Run_Windows.bat or Run_Mac.
  4. Click New to generate a key pair.

Key pair validation

Complete the following steps to validate your key pair:

  1. Depending on your operating system, execute Run_Windows.bat or Run_Mac.
  2. Enter your private key and public key in the fields.
  3. Click Validate to see whether the private key and public key matches.

Upload the public key

Contact Global Merchant Technical Support to upload the public key. Please sign with the matching private key in the key pair.

客服小机器人

NEED HELP ?