---
title: "Fetch PSP Credentials"
method: GET
path: "/api/merchant/{key}/pay-channel/{pckey}"
tags: ["Payment APIs"]
---

# Fetch PSP Credentials

`GET /api/merchant/{key}/pay-channel/{pckey}`

Fetch the credentials of Payment Channel configured in the PortOne. In response you'll get the maskedData of the credentials.

## Path parameters

- `key` string, required
- `pckey` string, required

## Query parameters

- `environment` string, required
- `payType` string, required

## Headers

- `X-Portone-Client-Key` string
- `Authorization` string

## Response `200`

Successful response

- object
  - `content` PSPCredsMetaContent[]
    - `key` string — The key of the Payment Channel. Refer PortOne docs for more details.
    - `type` string — The type of the PSP. Where PSP is Gateway, Bank or Digital Wallet.
    - `logo` string — The URL of the payment channel logo
    - `creds` object — The JSON object of the masked PSP credentials configured in the PortOne.
    - `is_enabled` boolean — The boolean flag indicating whether Payment Channel is enabled or not.
    - `country` string — The country code of the Payment Channel.
    - `pay_type` string — The type of Payment Channel. Is can be either PAYIN or PAYOUT. Refer PortOne docs.
    - `is_va_flow` string — The boolean flag indicating whether the Virtual Account flow if present in PSP configuration.
  - `message` string — The description of the API request execution result
  - `status_code` string — The status_code for API request execution result
  - `status_reason` string — The status_reason for API request execution result

## Other responses

- `401` — Failure response

---

[API](https://skmtc.net/portone/apis/payment-apis.md) · [All operations](https://skmtc.net/portone/apis/payment-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portone/payment-apis/versions/f3ccea652555/schema)
