CreatePointOfSaleInput
Input for createPointOfSale.
input CreatePointOfSaleInput {
storeId: ID
name: String
description: String
manualAmount: Boolean
requireEmail: Boolean
requireTaxId: Boolean
fixedAmount: Int
fixedCurrency: Currencies
enabled: Boolean
includeQRCode: Boolean
qrCodeText: String
paymentCallbackUrl: String
type: PointOfSaleType!
transactionType: TransactionTypes
paymentMethods: [PaymentMethods!]
deviceId: String
c60Emisora: String
c60AllowedModalities: [Modality!]
}
Fields
CreatePointOfSaleInput.storeId ● ID scalar
ID of a store of the account. Omit for a point of sale without a store. An unknown store ID fails with the error Store not found.
CreatePointOfSaleInput.name ● String scalar
Name. Defaults to <account name> POS <number>.
CreatePointOfSaleInput.description ● String scalar
Description of the point of sale.
CreatePointOfSaleInput.manualAmount ● Boolean scalar
Payment flow of a QR_CODE point of sale: true for "Manual Amount", false for "Fixed Amount". See PointOfSale.manualAmount.
CreatePointOfSaleInput.requireEmail ● Boolean scalar
Ask the customer for an email address on the payment page.
CreatePointOfSaleInput.requireTaxId ● Boolean scalar
Ask the customer for a tax ID on the payment page.
CreatePointOfSaleInput.fixedAmount ● Int scalar
Fixed amount in the smallest currency unit. See PointOfSale.fixedAmount.
CreatePointOfSaleInput.fixedCurrency ● Currencies enum
Currency of fixedAmount. ISO 4217. Defaults to EUR.
CreatePointOfSaleInput.enabled ● Boolean scalar
Ignored: a new point of sale is always enabled. Use updatePointOfSale to disable it.
CreatePointOfSaleInput.includeQRCode ● Boolean scalar
Add a QR code of the order ID to the receipt email. See PointOfSale.includeQRCode.
CreatePointOfSaleInput.qrCodeText ● String scalar
Text next to the order QR code in the receipt email.
CreatePointOfSaleInput.paymentCallbackUrl ● String scalar
Callback URL for the payments of this point of sale. Must be a valid URL. See PointOfSale.paymentCallbackUrl.
CreatePointOfSaleInput.type ● PointOfSaleType! non-null enum
Type of the point of sale. See PointOfSaleType.
CreatePointOfSaleInput.transactionType ● TransactionTypes enum
Transaction type of the payments that a fixed-amount scan creates. Defaults to SALE. See PointOfSale.transactionType.
CreatePointOfSaleInput.paymentMethods ● [PaymentMethods!] list enum
Payment methods offered on the payments that a fixed-amount scan creates. Null means all payment methods of the account.
CreatePointOfSaleInput.deviceId ● String scalar
Device ID. Required when type is MONEI_POD. A device ID that another point of sale holds fails with the error Device ID already in use.
CreatePointOfSaleInput.c60Emisora ● String scalar
AEB Cuaderno 60 Emisora code: 6 digits, the last one a module-11 control digit. Required when type is C60, rejected for other types.
CreatePointOfSaleInput.c60AllowedModalities ● [Modality!] list enum
AEB Cuaderno 60 modalities to accept, at least one. Required when type is C60, rejected for other types.
Member Of
createPointOfSale mutation