---
title: "Returns the payment authorization"
method: GET
path: "/api/v1/payments"
tags: ["payment"]
---

# Returns the payment authorization

`GET /api/v1/payments`

Return the payment authorization for the specified order

## Query parameters

- `orderId` string, required

## Response `200`

For successful fetch.

- Authorization
  - `orderId` string — Order Identification
  - `time` string, date-time — Timestamp when this authorization was created
  - `authorized` boolean — Flat that specify whether the payment is authorized
  - `message` string — Approavl or rejection message
  - `error` string — Processing error description, if any

---

[API](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app.md) · [All operations](https://skmtc.dev/packtpublishing/apis/sample-ecommerce-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/packtpublishing/sample-ecommerce-app/revisions/51a26ae44206/schema)
