Preview
ConsentTerms is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.
Currently-published consent terms for a scope in the caller-requested locale only.
The locale field echoes the GraphQL argument; markdown is never returned for a
substitute locale when AppTerms would cascade. Mirrors com.appdirect.payment.consent.ConsentTerms.
Fields
| providerDocumentSlug: String! | Provider-side document slug (e.g. AppTerms document slug).
|
| providerVersionId: ID! | Provider-side opaque version identifier.
|
| versionLabel: String! | Human-readable version label assigned by the provider (e.g. "2.1").
|
| publishedAt: DateTime! | Provider publication timestamp (ISO-8601 / RFC-3339).
|
| locale: String! | IETF BCP 47 locale tag the caller requested for this terms payload.
|
| contentMarkdown: String! | Published terms body as Markdown (from AppTerms current_version.content).
|
Parent objects of ConsentTerms
| ConsentStatusResult PREVIEW | Status of a consenter's acceptance for a scope, plus the optional current
terms. Mirrors com.appdirect.payment.consent.ConsentStatusResult.
|
Queries for ConsentTerms
| paymentMethodConsentStatus PREVIEW | Returns the consent status for the owner of a payment method.
The consenter identity is resolved from the payment method record, not the caller.
A blank locale value returns a bad request.
Terms for the requested locale follow the same strict locale contract as
paymentMethodConsentTerms: cascade fallback to another locale yields
NO_PUBLISHED_VERSION with null currentTerms.
|
| paymentMethodConsentTerms PREVIEW | Returns the currently-published consent terms for the caller-requested
locale. A blank locale value returns a bad request.
When AppTerms has no document for that locale, or would serve a different
locale via cascade fallback (X-Locale-Resolved differs from the request),
the query fails with not-found — substitute-locale content is never returned.
Any authenticated user in the tenant may call this query; it does not
require ownership of a payment method because it returns marketplace-wide
published terms, not a specific consenter's acceptance state.
|