Skip to main content

List API Key

https://api-sandbox.letpay.io/access-key

Get Access Key

This API endpoint is used to retrieve a list of public keys. The request is sent to https://api-sandbox.letpay.io/access-key using an HTTP GET method.

Resquest Body

The request payload for this endpoint is of form-data type.

Response

The response will contain an array of objects with the following keys:

  • api_key: The access key
  • created_at: The timestamp when the access key was created
  • last_access: The timestamp of the last access

Purpose

The purpose of this API endpoint is to provide access to the created API keys.

AUTHORIZATIONAPI Key
KeyX-Auth-Token
ValueMY_ACCESS_TOKEN

Example Request

Example Request

200 - Authenticated
  curl --location 'https://api-sandbox.letpay.io/access-key' \
--header 'X-Auth-Token: MY_ACCESS_TOKEN'

Example Response

Header
  Content-Type: application/json
Body
    [
{
"api_key": "MY_API_KEY",
"created_at": "2023-06-15T18:29:12.227+0000",
"last_access": "2023-06-15T18:38:12.713+0000"
}
]