PaymentAcknowledgement
A consent the buyer can affirm before paying with this method (e.g. the Przelewy24 regulation declaration). Render statement as a checkbox label — the checkbox MUST NOT be pre-checked — with the <token>…</token> tagged words linked to the matching documents[].url. On submit, echo the accepted codes back via PaymentCreateInput.acknowledgements. When enforcement is GATEWAY_FALLBACK collecting it is optional (the gateway shows it otherwise); STOREFRONT_REQUIRED must be accepted or paymentCreate returns ACKNOWLEDGEMENT_REQUIRED.
type PaymentAcknowledgement {
code: String!
documents: [PaymentAcknowledgementDocument!]!
enforcement: PaymentAcknowledgementEnforcement!
statement: String!
}
Fields
PaymentAcknowledgement.code ● String! non-null scalar
Stable machine code identifying the acknowledgement (e.g. "PRZELEWY24_REGULATION"). Echo it back in PaymentAcknowledgementInput.code when the buyer accepts.
PaymentAcknowledgement.documents ● [PaymentAcknowledgementDocument!]! non-null object
Documents linked from statement, bound by token. Empty when the statement carries no links.
PaymentAcknowledgement.enforcement ● PaymentAcknowledgementEnforcement! non-null enum
Whether collecting this in the storefront is optional (GATEWAY_FALLBACK) or mandatory (STOREFRONT_REQUIRED).
PaymentAcknowledgement.statement ● String! non-null scalar
Localized statement to show next to the checkbox. Contains <token>…</token> tags marking the words that link to documents (e.g. "… <terms>regulaminem</terms> …"). Render the tagged words as anchors; never inject as raw HTML.
Member Of
PaymentMethod object