Qoinhub will provide the following during the credential exchange process:

  • ClientID
  • ClientSecret
  • Public Key

Qoinhub will provide the credentials in separate emails.


The Partner must provide the following:

  • ClientID (Generated in Web Merchant. read here)
  • ClientSecret (Generated in Web Merchant. read here)
  • Public Key (must be in PKCS8 format and PEM encoded)

Example Public Key Generation

--generate private-public key pair in PKCS8 format and PEM encoded
openssl genpkey -algorithm rsa -out private-key.pem -outform PEM -pkeyopt rsa_keygen_bits:\<minimum 2048>  
openssl rsa -in private-key.pem -outform PEM -pubout -out public-key.pem

--alternatively if partner system can only consume PKCS1 private key, then partner can convert the public key from PKCS1 to PKCS8
openssl rsa -RSAPublicKey_in -in publicKeyPKCS1.pem -pubout -out publicKeyPKCS8.pem

Example Public Key

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApRoMR1Ho9YMqnOzEWuAI
buP4Im84IE/EiDlzNynIByWJ/eRDFss6IYb1ShKWwLSXI5LdZen1U5Y/vSyN+ehB
IhJ4kLmX/Gy8XcR+D6KxWVRMJ55scZdNGCdswCNYMC2Y9El0NQjlKgCfdCXzoquJ
kx/D8ngLRR6ue6PP7ZcIYJAAZ9aTJVZwruMxO8jgk2v79yT9czOpFTx931oo6pMN
emcWmyf8F5u9ofzq1Enf0L7RefKxse7yAVkMPwo4LmobctkF7doOES9zspiueUz8
W1uBVswk7nz3yWQ5ZYwyLOpDDNoke1HCvPM+PHMEWG+RDXXuAo7YDMjGi6HWT7ab
ewIDAQAB
-----END PUBLIC KEY-----

📘

Public Key must be fill in Web Merchant. read here