SftpConfigExport
SFTP destination for scheduled exports, shown on Settings > SFTP Reports. MONEI runs the scheduled
exports every day at 06:00 UTC, for each destination with enabled set to true.
A CSV destination receives the live charges of the previous day in timezone: sales, captures,
refunds and payouts (not failed or canceled charges). The file name is
MONEI_Payments_<YYYY-MM-DD>_<id>.csv. No file is sent for a day without charges. A C60
destination receives the Cuaderno 60 files, see ExportType.
type SftpConfigExport {
id: ID!
host: String!
port: Int!
username: String!
path: String!
columns: [String!]
timezone: String
exportType: ExportType
enabled: Boolean
}
Fields
SftpConfigExport.id ● ID! non-null scalar
Config ID.
SftpConfigExport.host ● String! non-null scalar
SFTP server hostname. The dashboard shows it as Host.
SftpConfigExport.port ● Int! non-null scalar
SFTP server port. The dashboard shows it as Port.
SftpConfigExport.username ● String! non-null scalar
SFTP username. The dashboard shows it as Username.
SftpConfigExport.path ● String! non-null scalar
Directory on the SFTP server where MONEI writes the files. The dashboard shows it as Path.
SftpConfigExport.columns ● [String!] list scalar
Columns of a CSV file, with or without the object. prefix. The file keeps a fixed column order,
whatever the order of this list. When null, the file has every column.
SftpConfigExport.timezone ● String scalar
IANA time zone (for example, Europe/Madrid) of the date columns, of the previous day that a
CSV file covers, and of the date in its file name. Defaults to UTC. The dashboard shows it as
Timezone.
SftpConfigExport.exportType ● ExportType enum
Format of the files this destination receives. Defaults to CSV.
SftpConfigExport.enabled ● Boolean scalar
Whether the scheduled export runs. The dashboard shows it as Enabled. A config with false or null is kept and skipped.
Returned By
createExportSftpConfig mutation ● exportSftpConfig query ● updateExportSftpConfig mutation
Member Of
SftpConfigExportsConnection object