View Public Key

This endpoint retrieves the public key associated with your company account. The public key is a unique identifier that allows your company to be recognized in client-side integrations. It is primarily used in the Pay Button plugin, where it authenticates your company when rendering payment buttons on your website or application.

The public key is designed to be safely embedded in front-end code, including HTML pages, JavaScript bundles, and mobile applications. It provides read-only access to public resources tied to your company and does not allow any write operations or access to sensitive data. This makes it suitable for use in environments where the source code is visible to end users.

GET/developer/public_key
Sandbox: https://api.payiano.dev/v1/developer/public_key
Live: https://api.payiano.com/v1/developer/public_key
Security
  • Authorization header with access token is required to access this endpoint: Bearer ACCESS-TOKEN
  • Your access token should be associated to this permission developer.public_key.view
Response
200
Response schema:
application/json
Response body:
public_key
Type: string

This attribute contains the company's public key. The public key identifies the company in client-side integrations such as the Pay Button plugin and other front-end components. It is safe to embed in browser-facing code because it only provides read-only access to public resources associated with the company.

Response sample:
JSON
1
{
2 "public_key": "pk_sandbox_company_egzaW5M3iJkl24CKhHiiwTQoRpUuWJEz" 3}