API Endpoints
API Endpoints
Development environment
The development environment is accessible at https://merchant.a.krofort.dev.
Production environment
The production environment is accessible at https://merchant.a.krofort.com.
Validating the Certificate
Here is a basic example of how to interact with the API using mutual TLS (mTLS) and curl:
$ curl --cacert krofort-root-ca.pem \
--cert your-certificate.crt \
--key private.key \
-XGET "https://merchant.a.krofort.com/validate"Explanation of the Parameters
--cacert krofort-root-ca.pem: Specifies the Root CA certificate used to verify the server’s identity. You can get it from the Krofort Root CA page.
--cert your-certificate.crt: Your client certificate used for authentication. This is the certificate you generate from the backoffice and is unique to your merchant.
--key private.key: Your private key corresponding to the client certificate.
"https://merchant.a.krofort.com/validate": The API endpoint for validating your certificate.