---
title: "gets the latest payment request status"
method: GET
path: "/payment_requests/{id}"
---

# gets the latest payment request status

`GET /payment_requests/{id}`

## Request

- Base URL: `//api.cryptoqr.net/scanner/v1` (relative, and the document’s source URL is not known)
- URL: `//api.cryptoqr.net/scanner/v1/payment_requests/{id}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required

## Response `200`

payment request status has been successfully retrieved

- PaymentRequest
  - `id` string: A unique ID that we assign to the payment request.
  - `created_at` string, date-time: ISO8601 timestamp at which the payment request was created
  - `amount_cents` integer: The amount of the payment request in the currency base unit (e.g. cents or sats)
  - `currency` string: The currency of the payment request that the receiver expects to receive
  - `status` 'REQUESTED' | 'AUTHORIZED' | 'CONFIRMED' | 'EXPIRED' | 'CANCELLED' | 'ERRORED': The current status of the payment request
  - `payment_methods` object: list of payment method types with payment instruction data the client can use to complete payment
  - `expiry_time` string: ISO8601 timestamp at which the payment request will expire
  - `merchant_name` string: Merchant name
  - `merchant_code` string: Merchant code
  - `merchant_category_code` string: Merchant category code
  - `order_description` string: Optional merchant provided order description
  - `notification_url` unknown
  - `merchant_info` object: Additional merchant information, structure depends on specific merchant.

## Other responses

- `401`: unauthorized
- `404`: payment request ID was not found

---

[API](https://skmtc.dev/moneybadger/apis/moneybadger-wallet-qr-scanner-api.md) - [All operations](https://skmtc.dev/moneybadger/apis/moneybadger-wallet-qr-scanner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moneybadger/apis/moneybadger-wallet-qr-scanner-api/revisions/e306b7643b61?raw)
