---
title: "Find payment by ID"
method: GET
path: "/v1/payments/{paymentId}"
tags: ["Card payments"]
---

# Find payment by ID

`GET /v1/payments/{paymentId}`

Return information about the payment The Authorisation token needs to be specified in the 'authorization' header as 'authorization: Bearer YOUR_API_KEY_HERE'

## Path parameters

- `paymentId` string, required

## Response `200`

OK

- GetPaymentResult
  - `amount` integer
  - `description` string
  - `reference` string
  - `language` 'en' | 'cy'
  - `metadata` object
  - `email` string
  - `state` PaymentState — A structure representing the current state of the payment in its lifecycle.
    - `status` string — Current progress of the payment in its lifecycle
    - `finished` boolean — Whether the payment has finished
    - `message` string — What went wrong with the Payment if it finished with an error - English message
    - `code` string — What went wrong with the Payment if it finished with an error - error code
  - `payment_id` string
  - `payment_provider` string
  - `created_date` string
  - `refund_summary` RefundSummary — A structure representing the refunds availability
    - `status` string — Availability status of the refund
    - `amount_available` integer — Amount available for refund in pence
    - `amount_submitted` integer — Amount submitted for refunds on this Payment in pence
  - `settlement_summary` PaymentSettlementSummary — A structure representing information about a settlement
    - `capture_submit_time` string — Date and time capture request has been submitted. May be null if capture request was not immediately acknowledged by payment gateway.
    - `captured_date` string — Date of the capture event.
    - `settled_date` string — The date that the transaction was paid into the service's account.
  - `card_details` CardDetails — A structure representing the payment card
    - `last_digits_card_number` string
    - `first_digits_card_number` string
    - `cardholder_name` string
    - `expiry_date` string — The expiry date of the card in MM/yy format
    - `billing_address` Address — A structure representing the billing address of a card
      - `line1` string
      - `line2` string
      - `postcode` string
      - `city` string
      - `country` string
    - `card_brand` string
    - `card_type` 'debit' | 'credit' | 'null' — The card type, `debit` or `credit` or `null` if not able to determine
  - `delayed_capture` boolean — delayed capture flag
  - `moto` boolean — Mail Order / Telephone Order (MOTO) payment flag
  - `corporate_card_surcharge` integer
  - `total_amount` integer
  - `fee` integer — processing fee taken by the GOV.UK Pay platform, in pence. Only available depending on payment service provider
  - `net_amount` integer — amount including all surcharges and less all fees, in pence. Only available depending on payment service provider
  - `provider_id` string
  - `return_url` string
  - `_links` PaymentLinks — links for payment
    - `self` Link — A link related to a payment
      - `href` string
      - `method` string
    - `next_url` Link — A link related to a payment
      - `href` string
      - `method` string
    - `next_url_post` PostLink — A POST link related to a payment
      - `type` string
      - `params` object
      - `href` string
      - `method` string
    - `events` Link — A link related to a payment
      - `href` string
      - `method` string
    - `refunds` Link — A link related to a payment
      - `href` string
      - `method` string
    - `cancel` PostLink — A POST link related to a payment
      - `type` string
      - `params` object
      - `href` string
      - `method` string
    - `capture` PostLink — A POST link related to a payment
      - `type` string
      - `params` object
      - `href` string
      - `method` string
  - `card_brand` string — Card Brand

## Other responses

- `401` — Credentials are required to access this resource
- `404` — Not found
- `429` — Too many requests
- `500` — Downstream system error

---

[API](https://skmtc.net/alphagov/apis/gov-uk-pay-api.md) · [All operations](https://skmtc.net/alphagov/apis/gov-uk-pay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alphagov/gov-uk-pay-api/revisions/262275a01170/schema)
