When establishing a business relationship with DCM platform, the Merchant must generate a cryptographic key pair consisting of a private and public key.
The private key is used to sign Orders.
The public key is provided to DCM platform to verify Orders received from the Merchant.
Key Generation Procedure and Public Key Format Requirements:
Generate the key pair using an appropriate cryptographic tool.
Copy the public key.
Open the key conversion tool at .
Paste the public key into the field labeled "PEM encoded key or certificate".
In the "Key ID" field, specify the "kid" value (one of the private key parameters).
In the "Key algorithm" field, select "RS256".
In the "Key use" field, select "Signature".
Click "Generate".
Copy the data from the "PEM Generation Results" field.
Host the generated public key data at a corresponding jwks_url containing a "keys" object and the information copied from "PEM Generation Results". Example - https://api-hyncmh.develop.dcmapis.com/api/v1/.well-known/jwks.json
Provide the link to DCM platform. Example - https://api-hyncmh.develop.dcmapis.com/api/v1/.well-known/jwks.json