Key generation
Key Retrieval Process:
You need to go to the key generation page.
Generate a key pair.
Save the
private_keyportion on your side.Send the
public_keyportion to the bank employee.After the bank employee completes the registration, all necessary data for working with signing will be sent to you.
The following parameters will be provided:
merchantId- internal terminal identifier (used in requests).
kid- key identifier.
payment_public_key- public payment key (used for encrypting card data). You can learn more at this link: https://docs.merchant.alb.ua/kriptuvannya-danikh#zapit-kriptuvannya-nomeru-kartki (This link leads to the Ukrainian documentation on card number encryption).
Key Parameters for Signing
The keys are generated using the following parameters:
kty:"EC"(Elliptic Curve)crv:"P-256"- (ES256) - the most common curve, supported by most frameworks and browsers, and provides a sufficient level of security.use:"sig"- indicates that the key is used for signature.alg:"ES256".
They are displayed in X.509 PEM Format.
Example Key Appearance:
Last updated