---
title: "Load an authorization transaction for the consent page"
method: POST
path: "/oauth/partner/transaction"
tags: ["partner-oauth"]
---

# Load an authorization transaction for the consent page

`POST /oauth/partner/transaction`

Exchanges the opaque transaction secret for the data needed to render login and consent. Never returns the state parameter, the PKCE challenge, or the full redirect URI.

## Request body

- object
  - `locale` string
  - `transaction_id` string, required

## Response `200`

Transaction view

- PartnerOAuthTransactionView
  - `authenticated` boolean
  - `client` object
    - `client_id` string
    - `display_name` string
    - `homepage_url` string, nullable
    - `logo_url` string, nullable — Short-lived RxFood-signed URL. Never a partner-hosted URL.
    - `privacy_policy_url` string, nullable
  - `consent_statement` object — Consent copy to display verbatim; the identical text is frozen onto the grant.
    - `data_use_notice` string
    - `preamble` string
    - `privacy_link_text` string
    - `privacy_url` string
    - `withdrawal_notice` string
  - `consent_version` string
  - `expires_at` string
  - `mfa_pending` boolean
  - `patient` object, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
  - `redirect_uri_host` string, nullable
  - `scope_descriptions` PartnerOAuthScopeDescription[]
    - `description` string
    - `scope` string
    - `title` string
  - `scopes` string[]
  - `transaction_id` string — Rotated transaction secret, returned by /transaction and /transaction/login. Store it and use it for the next call; the one you presented is dead on return.

## Other responses

- `404` — transaction_invalid — unknown, expired or already used

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rxfoodapp/inneranalytics-mnt-server/revisions/0703cbbbefe8/schema)
