---
title: "Get Payment by ID"
method: GET
path: "/payments/{id}"
tags: ["Payments"]
---

# Get Payment by ID

`GET /payments/{id}`

## Request

- Base URL: `https://openapi.n3xt.io`
- URL: `https://openapi.n3xt.io/payments/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/n3xt/apis/n3xt-api-documentation/docs/payments/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the details of a specific payment by its ID.

## Path parameters

- `id` string, required

## Response `200`

The payment details were retrieved successfully.

- union
  - Payment
    - `id` string, required
    - `sender` string
    - `senderBusinessId` string
    - `senderBusinessName` string
    - `senderWalletAddress` string
    - `recipient` string
    - `recipientBusinessId` string
    - `recipientBusinessName` string
    - `recipientWalletAddress` string
    - `amount` union, required
      - string
      - number, double
    - `status` 'queued' | 'requested' | 'initiated' | 'lockbox' | 'released' | 'cancelled' | 'declined' | 'completed' | 'failed' | 'burned' | 'minted' | 'transferred' | 'confirmed' | 'reverted', required
    - `description` string
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `totalCount` number, double
    - `rowNum` number, double
  - ErrorResponse
    - `error` string, required

## Other responses

- `400`: Bad Request - Invalid request parameters.
- `401`: Unauthorized - Invalid or missing authentication token.
- `403`: Forbidden - Insufficient permissions to perform this action.
- `404`: Not Found - Requested resource was not found.
- `422`: Unprocessable Entity - Validation failed for the request body.
- `500`: Internal Server Error - An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/n3xt/apis/n3xt-api-documentation.md) - [All operations](https://skmtc.dev/n3xt/apis/n3xt-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/n3xt/apis/n3xt-api-documentation/revisions/c634c45cd5b4?raw)
