Credential Exchange

Paycloud will provide the following during the credential exchange process:

  • ClientID
  • ClientSecret
  • Public Key

Paycloud will provide the credentials in separate emails.



Partner must provide the following:

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


--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

-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3T1QeWFZNCWv+MqhuYdYujv0b
j+ponQ2Ywbd0Na3XCkM1mxEW5WmIohzA5TejmfgH1cA263vFLwq6GevPVumOAyH9
X7ocmS0T+Q29RsPg/dErE5/ZCSd8Nl50oKe34BzL82IILybup45kmCgaTaK6cikH
RdbsrdYCc0cc2RtYRwIDAQAB
-----END PUBLIC KEY-----