Skip to main content

List API Key

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

This API endpoint is used to retrieve a list of public access keys.

Authorization

HeaderValue
X-Auth-TokenMY_ACCESS_TOKEN

Request Body

None.

Response Body

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

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"
}
]