API Public Param & Merchant Key Configuration

# Unified request method

  • HTTP POST

# ContentType

  • Application/Json

# Bind google verification code

  • Log in to the merchant backend -> Personal Center -> Security Information, use Google Authenticator to scan the QR code on the page to bind your account.

# RSA key pair generation address

  • Key rule: 1024 length, PKCS#8 format
  • Address: https://emn178.github.io/online-tools/rsa/key-generator (opens new window)
  • Remove ------BEGIN PUBLIC KEY----- and ------END PUBLIC KEY-----. The same is true for the private key. Remove the head and tail and use it.
  • Remove the line break of the key with the head and tail removed: https://tool.hiofd.com/txt-trim-new-line-online

# Configure public key

config photo

  • Log in to the merchant backend, as shown in the figure above, click ① and ② in sequence to enter the Transaction Information Configuration interface
  • Fill in the generated public key of the key pair after removing spaces and line breaks into ③
  • Click ④ to submit the filled public key content.

# Merchant backend address