---
title: "Get public key"
method: GET
path: "/corporate/v1/bulk-payments/keys/{id}"
tags: ["Bulk payment files"]
---

# Get public key

`GET /corporate/v1/bulk-payments/keys/{id}`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/corporate/v1/bulk-payments/keys/{id}`
- Auth: HTTP bearer

Get a public key by its ID.<br>

To understand how bulk file payment processing works, refer to the [Bulk file-based payment processing](doc:bulk-file-based-payment-processing) guide.

## Path parameters

- `id` string, required

## Response `200`

Get public key response

- GetPublicKeyResponse: Get public key response object
  - `id` string: ID of the public key. Only digits, letters, hyphens, and underscores are allowed, and cannot exceed 60 characters.
  - `key_material` string: Public-key encoded in DER and base64 formats
  - `expires_at` string, date-time: Expiration date and time of the public key. If not provided, it is set to 6 months from the date of submission.

## Other responses

- `401`: Access token is missing or invalid
- `403`: The request has been lost
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/pismo/apis/banking-transaction-banking.md) - [All operations](https://skmtc.dev/pismo/apis/banking-transaction-banking/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/banking-transaction-banking/revisions/1334306c9303?raw)
