Subscribing to an API
  • 22 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Subscribing to an API

  • Dark
    Light

Article summary

How to subscribe our APIs

You can subscribe to a sandbox to test the API in practice, and when you're ready, change your subscription to the live environment and let your app conquer the world.

Get in touch

To subscribe to an API and start using the product, click here.

Information required by the customer:

  • Interface: Which Pagonxt product will they use?

  • Environment: In which environment they need access?

  • Volumes: Which is the expected traffic?

KID, Issuer and public and private key (only public key will be shared with Payments Hub):

  • KID: The KID (key id) is the identifier of the key used to sign the token, we use this value in order to check the signature.

  • Issuer: The Issuer (iss field of a JWT) identifies the entity that issued the token. Can be a person, company, service, etc.

  • Public key and private key: A pair of keys related within them. They share with us only the public key because the private one is kept in secret and is used in the JWT token they generate to authenticate into our OAuth Server.

Public and private keys can be generated using the following command lines in order:

  • Public key: ssh-keygen -t rsa -m PEM -f kidName.key.

  • Private key: openssl rsa -in kidName.key -pubout -outform PEM -out kidName.key.pub

  • The result of these command lines are two text files with the key pairs.

Webhooks URLs: URLs where the PH will notify all the messages and their updated status (optional).


Was this article helpful?

What's Next