Code
Permanent QR code that routes a customer to a Point of Sale checkout. Render the image via https://secure.monei.com/codes/{id}/qr?format=png|svg&size=100..1000 (defaults: png, 500).
type Code {
id: ID!
type: CodeTypes!
enabled: Boolean
pointOfSaleId: ID
}
Fields
Code.id ● ID! non-null scalar
Code ID. 8-character alphanumeric string used in the QR URL https://secure.monei.com/codes/{id}.
Code.type ● CodeTypes! non-null enum
Code type.
Code.enabled ● Boolean scalar
Whether the code is active. Disabled codes reject scans.
Code.pointOfSaleId ● ID scalar
Point of Sale this code routes to.
Returned By
code query ● codes query ● registerCode mutation ● updateCode mutation