---
title: "Retrieve a payment intent"
method: GET
path: "/v1/payment_intents/{id}"
tags: ["Payment Intents"]
---

# Retrieve a payment intent

`GET /v1/payment_intents/{id}`

## Request

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

Returns one payment intent. Served by core-api or payments-api depending on the organization's rollout, in the same response shape either way. This is the only way back to `next_action` once the attach response that carried it is lost.

## Path parameters

- `id` string, required

## Response `200`

OK

- PaymentIntentResponse
  - `data` object
    - `attributes` PaymentIntentAttributes
      - `amount` integer
      - `capture_type` string
      - `client_key` string
      - `created_at` integer
      - `currency` string
      - `description` string
      - `last_payment_error` unknown
      - `livemode` boolean
      - `metadata` object
      - `next_action` object: Relayed from the method service as received; its shape is theirs.
      - `original_amount` integer
      - `payment_method_allowed` string[]: Never null: legacy builds both with .map.
      - `payment_method_options` unknown
      - `payments` unknown[]
        - unknown
      - `setup_future_usage` unknown
      - `statement_descriptor` string
      - `status` string
      - `updated_at` integer
    - `id` string
    - `type` string

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `default`

---

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