---
title: "Get payment from checkout session"
method: GET
path: "/v1/checkout_sessions/{id}/payment"
tags: ["Checkout Sessions"]
---

# Get payment from checkout session

`GET /v1/checkout_sessions/{id}/payment`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/checkout_sessions/{id}/payment`
- Auth: HTTP basic

Retrieves the paid payment from a checkout session by ID. This is a superuser-only endpoint.

## Path parameters

- `id` string, required

## Response `200`

Payment retrieved successfully

- WrappedPaymentDTO
  - `data` PaymentDTO
    - `attributes` PaymentAttributesDTO
      - `access_url` string
      - `amount` integer
      - `available_at` integer
      - `balance_transaction_id` string
      - `billing` BillingDTO
        - `address` AddressDTO
          - `city` string
          - `country` string
          - `line1` string
          - `line2` string
          - `postal_code` string
          - `state` string
        - `email` string
        - `name` string
        - `phone` string
      - `checkout_session_id` string
      - `created_at` integer
      - `credited_at` integer
      - `currency` string
      - `description` string
      - `digital_withholding_vat_amount` integer
      - `disputed` boolean
      - `external_reference_number` string
      - `fee` integer
      - `foreign_fee` integer
      - `instant_settlement` unknown
      - `livemode` boolean
      - `metadata` object
      - `net_amount` integer
      - `origin` string
      - `paid_at` integer
      - `payment_intent_id` string
      - `payout` unknown
      - `promotion` unknown
      - `refunds` unknown[]
        - unknown
      - `source` unknown
      - `statement_descriptor` string
      - `status` string
      - `tax_amount` integer
      - `taxes` unknown[]
        - unknown
      - `updated_at` integer
    - `id` string
    - `type` string
  - `has_more` boolean

## Other responses

- `401`: Unauthorized
- `404`: Checkout session or payment not found
- `500`: Internal server error

---

[API](https://skmtc.dev/paymongo/apis/checkout.md) - [All operations](https://skmtc.dev/paymongo/apis/checkout/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/checkout/revisions/7cff8bcd246d?raw)
