---
title: "Retrieve information about a payment"
method: GET
path: "/payments/{paymentId}"
tags: ["Payments"]
---

# Retrieve information about a payment

`GET /payments/{paymentId}`

Given a `paymentId`, information about the corresponding payment will be returned.

## Path parameters

- `paymentId` string, required

## Response `200`

OK

- Payment
  - `paymentId` string
  - `createdAt` string, date-time — Creation date/time of the payment in ISO 8601 format (UTC)
  - `orderId` string, required
  - `currency` string, required
  - `totalAmount` number, required
  - `creditCard` CreditCard, required
    - `type` 'MASTERCARD' | 'VISA'
    - `number` string
    - `cvc` string
    - `expiryMonth` string
    - `expiryYear` string
    - `holderFirstName` string
    - `holderLastName` string
    - `address` string
    - `city` string
    - `zipCode` string
    - `countryCode` string — 2-letter ISO country code (alpha-2) as listed at https://en.wikipedia.org/wiki/ISO_3166-1

## Other responses

- `400` — Bad Request

## Changes

- **2021-07-20** `704267da2188` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/newpathfly/apis/virtual-interlining-api/changes/payments/:paymentId/get.md)

---

[API](https://skmtc.dev/newpathfly/apis/virtual-interlining-api.md) · [All operations](https://skmtc.dev/newpathfly/apis/virtual-interlining-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newpathfly/virtual-interlining-api/revisions/704267da2188/schema)
