---
title: "Get order payin"
method: GET
path: "/orders/{id}/payin"
tags: ["Orders"]
---

# Get order payin

`GET /orders/{id}/payin`

Returns the payin associated with the order.

## Path parameters

- `id` integer, required

## Response `200`

Payin details

- Payin
  - `id` integer
  - `self` string
  - `reference` string, nullable — Provider's payment reference ID.
  - `type` string — Payment method type (e.g. `CARD`, `BANKWIRE`, `WALLET`).
  - `subtype` string, nullable
  - `status` 'CREATED' | 'AUTHORIZED' | 'CONFIRMED' | 'DENIED' | 'REFUNDED' | 'CANCELLED'
  - `provider` object — Raw provider response data.
  - `tag` string, nullable
  - `direct_link` string, uri, nullable — Payment page URL. Only present when status is `CREATED` or `AUTHORIZED`.
  - `created_at` string, date-time, nullable
  - `confirmed_at` string, date-time, nullable
  - `denied_at` string, date-time, nullable
  - `connections` Connections — Hypermedia links to related resources.

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.dev/truust-io/apis/truust-api.md) · [All operations](https://skmtc.dev/truust-io/apis/truust-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/truust-io/truust-api/revisions/cc81e28726b9/schema)
