Skip to main content

payments

Using the {dataFormat} data format creator, you can export Payments and save it in the cloud. For further information on the properties of the format, see the following tables.

1. Technical specifications

See Table 1 for further information on the available properties and their corresponding values.

Table 1. Technical specifications of the format payments
Property Meaning Value Explanation

dataName

Name

payments

Name of the creator process and prefix of the created file.
File name: payments-xxx.csv.gz

fileFormat

File format

CSV, GZIP

The data is provided as a GZIP-compressed CSV file (RFC 1952).

defaultActive

Activated by default

no

The data is only exported automatically in the background after you have activated the creator in the Data » Raw data menu.

interval

Interval

daily

With this setting, all data that has been changed since the last run is exported once a day, usually during the night.

limitPage

Lines per request

up to 8,000

The maximum number of data rows that is written into a single file.

limitDay

Lines per day

up to 200,000

The maximum number of data rows that is written on one day in total.

earliestPossibleDataDate

Earliest point in time

01-Jan-2016

Point in time as of which the raw data can be collected. The data is filtered by the date saved in the dataUpdatedAtColumnName column.

dataUpdatedAtColumnName

Column header

p_imported_at

Name of the column that contains the time stamp of the last data update.

deleteRawDataAfterDaysMinimum

Minimum number of days until the data is deleted

1095

The minimum number of days until the generated raw data file is deleted from the cloud storage. Therefore, the data must be processed before this date. The exact duration can be defined in the Data » Raw data menu.

deleteRawDataAfterDaysMaximum

Maximum number of days until the data is deleted

1095

The maximum number of days until the generated raw data file is deleted from the cloud storage. Therefore, the data must be processed before this date. The exact duration can be defined in the Data » Raw data menu.

filterType

Filter type

lastUpdate

Data are filtered based on the last update.

2. Data columns

See {dataColumns} for further information on the {dataFormat} data columns included in the CSV file during raw data export.

Table 2. Data columns of the format payments
Column name Data type Full name Explanation

plenty_id

INTEGER NOT NULL

plenty id

ID of the plentymarkets system

p_id (Primary key)

VARCHAR NOT NULL

payment id

ID of the payment

p_amount

DECIMAL (17, 4) NOT NULL

payment amount

Amount of the payment

p_exchange_ratio

DECIMAL (12, 6) NOT NULL

payment exchange ratio

Exchange rate of the payment

p_parent_id

VARCHAR

payment parent id

ID of the parent payment, if available

p_deleted

SMALLINT

payment deleted

1 = deleted
0 = not deleted

p_unaccountable

SMALLINT

payment unaccountable

1 = accountable
0 = unaccountable

p_currency

VARCHAR NOT NULL

payment currency

Currency of the payment

p_is_system_currency

SMALLINT NOT NULL

payment is system currency

1 = Currency is the same as system currency
0 = Currency is not the same as system currency

p_type

VARCHAR NOT NULL

payment type

Type of the payment

mop_id

INTEGER

method of payment id

Payment method ID

p_imported_at

TIMESTAMPZ

payment imported at

Time stamp of the last update
Date format: MM/DD/YYYY HH:MI:SS TZ

To top