HppSessionDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
Output DTO representing an HPP session for management display. Pre-filled field values are redacted: only the field key names are exposed to prevent accidental PII/sensitive data leakage via management APIs.
Values
Fields
| Field | Type | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id
required |
string (uuid) |
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
hostedPageId
required |
string (uuid) | The HPP configuration ID this session targets.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
merchantId
required |
string (uuid) | The merchant that owns the HPP configuration.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
status
required |
HppSessionStatus HppSessionStatus | Current lifecycle status of the session.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
prefilledFieldKeys
required |
array of string array of | The names of the pre-filled fields (values are redacted for security).
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
prefilledFieldCount
required |
integer (int32) | Number of pre-filled fields in the session.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
timeToLive
required |
integer (int32) | The session's lifetime in seconds, as the caller asked for it; it decides when the session
expires. `null` for a permanent link, which has no lifetime.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
createdAt
required |
string (date-time) | UTC timestamp when the session was created.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
expiresAt
required |
string (date-time) | UTC timestamp when the session expires, or `null` for a permanent link that never
expires on its own.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
linkLifetime
required |
HppLinkLifetime HppLinkLifetime | How long this link was minted to stay payable.
`Session` on every session created before lifetimes existed and
on every one that named none.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
consumedByTransactionId
required |
string (uuid) | The transaction ID that consumed this session, if any.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
consumedAt
required |
string (date-time) | UTC timestamp when the session was consumed.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
declineRetryMode
required |
HppDeclineRetryMode HppDeclineRetryMode | What this session does with its payment link when a payment is declined.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
declineReleaseCount
required |
integer (int32) | How many times this link has already been reopened after a declined payment.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
lastDeclinedTransactionId
required |
string (uuid) | The transaction that most recently declined against this session and reopened its link.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
lastDeclineReleasedAt
required |
string (date-time) | When this link was most recently reopened after a declined payment.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
correlationId
required |
string | Optional merchant-supplied correlation ID for tracing/debugging.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
label
required |
string | Optional human-readable label for identifying this session.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
cancelUrl
required |
string | The address this session's Back link returns the payer to, when the session was created with
one. `null` means the page's own `PageActions.Cancel` slot, if enabled, applies.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
campaignSource
required |
string | The per-channel source tag this link carries (`email`, `sms`, `qr`,
`social`), normalized to lower case, or `null` when it carries none. Surfaced so an
operator picking a link to send or to render as a QR code can tell their per-channel links
apart.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
consumedPromotionCode
required |
string | The promotion code the payer applied to the submit that consumed this link, or `null`
when they applied none. `null` on every session written before promotions existed.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
catalogOrder
required |
HppCatalogOrder HppCatalogOrder | The catalog order this link sells, at the prices snapshotted when it was created and the
quantities it starts at, or `null` on a link off a page that sells no products (every
link created before products existed). The subtotal for those quantities is the link's locked
`base_amount`.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
Fields of HppCatalogOrder:
This body has no documented fields. | ||||||||||||||||
consumedOrder
required |
HppCatalogOrder HppCatalogOrder | The order the payer actually bought, resolved and priced by the platform when they paid, or
`null` until then (and always on a link that sells no products). On a reusable link each
payer's own completion carries their order; the parent carries none.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
Fields of HppCatalogOrder:
This body has no documented fields. | ||||||||||||||||
currency
required |
string | The ISO 4217 currency this session is denominated in, upper-cased, as resolved and frozen at
create time. `null` on a session created before the field existed, and on one whose
merchant had no currency configured; the payment page falls back to the merchant's current
currency at render in that case, exactly as it always has.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
shortToken
required |
string | Short URL token for friendly payment links.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
lastSentTo
required |
string | The address this session's payment link was most recently sent to, masked. `null` when
the link has never been sent.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
lastSentAtUtc
required |
string (date-time) | When this session's payment link was most recently sent, in UTC, or `null` when it has
never been sent.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
boundCustomerId
required |
string (uuid) | The customer this session is bound to, or `null` when it is bound to none.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
amountMode
required |
HppSessionAmountMode HppSessionAmountMode | How this session treats the payment amount: the cardholder types it, it is pre-filled but
editable, or it is pre-filled and read-only.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
taxAmountMode
required |
HppSessionAmountMode HppSessionAmountMode | The mode the tax line runs under, resolved: the session's own tax amount mode when it declared
one, otherwise `amountMode`.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
shippingAmountMode
required |
HppSessionAmountMode HppSessionAmountMode | The mode the shipping amount runs under, resolved: the session's own shipping amount mode when
it declared one, otherwise `amountMode`.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
lockShippingAddress
required |
boolean | Whether this session shows its prefilled shipping address display-only and records that
address on the transaction whatever the payer submits.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
baseAmount
required |
number (double) | The base amount this session was minted with, when it carries one, in the session's
`currency`.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
derivedState
required |
HppSessionDerivedState HppSessionDerivedState | The state a reader should see for this session, with a terminal status winning over the
clock: usable, expired, consumed, revoked or cancelled.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
requestedCredentialStorage
required |
StoredCredentialUsage StoredCredentialUsage | When non-null, the session is configured to capture stored-credential consent on its
resulting transaction. Shown on admin screens so operators can see which sessions were
set up to require cardholder consent. Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
tokenizeOnPayment
required |
boolean | `true` when the session is configured to vault the cardholder's card as a reusable
payment token on a successful payment (the effective value after the merchant default is
resolved). Shown on admin screens so operators can see which sessions tokenize. A
tokenizing session always also has a non-null `requestedCredentialStorage`.
.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
saveCardOnly
required |
boolean | `true` when the session saves the card via a zero-dollar verification instead of
charging it ("save card now, charge later"). <b>Currently always `false` in
practice</b>: save-card-only is fail-closed at session creation until the no-charge
verification routing is wired end to end, so no persisted session carries it set. Once
the path lands it will always also tokenize and capture consent. Shown on admin screens.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
purpose
required |
HppSessionPurpose HppSessionPurpose | Classifies the calling context that produced this session.
`CheckoutLink` is the historical merchant-facing
pay-link behavior; non-default values were created by system-initiated flows (e.g.
invoice send) and carry longer TTL windows. Read-only on admin screens.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
reusable
required |
boolean | Whether this link accepts many payers rather than one.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
maxCompletions
required |
integer (int32) | How many payments a reusable link accepts before it closes, or `null` for a link that
keeps accepting payers. Always `null` on a single-use link.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
completionCount
required |
integer (int32) | How many payments a reusable link has taken. Always `0` on a single-use link, which
records its one payment through `consumedByTransactionId` instead.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
isExpired
required |
boolean | Returns `true` if the session has passed its expiry time. Always `false` for a
permanent link, which has no expiry time to pass.
read only
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
isUsable
required |
boolean | Returns `true` if the session is still pending and has not expired.
read only
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
isPaused
required |
boolean | Whether the merchant has paused this link. A paused link accepts no payer until it is
resumed, and loses nothing in the meantime: its expiry, cap, prefill and completion history
are untouched.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
pausedAt
required |
string (date-time) | The UTC instant of the most recent pause, or `null` if this link has never been paused.
Left in place by a resume, so it still reads as the record of a pause that has ended.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
inactiveMessage
required |
string | The plain-text message a payer sees instead of the generic out-of-service copy when they open
this link while it is paused, or after a reusable link has filled its completion cap.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||
This model has no documented fields.