Production Key Configuration
WARNING
Merchant private key: keep it private. Do not share it with the payment platform. Merchant public key: submit it to the platform so the platform can verify the sign on merchant requests.
- For sandbox keys, use Sandbox Configuration directly.
Key Specification
- Type: RSA public/private key pair
- Key size: 2048-bit
- Key format: PKCS#8
Generating Merchant Keys
- Online generator:
http://www.metools.info/code/c80.html(choose PKCS#8, 2048-bit) - Offline generation: OpenSSL
Usage
- Merchant private key: sign request parameters and put the signature into
sign, then submit with the request. See Signature & Verification. - Merchant public key: submit it in the merchant console under Account Management → Application Configuration → Merchant Public Key, then save.