Przejdź do głównej zawartości

OrderPayment

Dla: Programista

Typ obiektowyOrderPayment

A payment received for an order, as recorded in Prynt.

Pola

PoleTypOpis
amountFloat!

Amount paid, in currency.

Wymaga zakresu prices:read.

amountHomeFloat

amount converted to the print shop's home currency at exchangeRate, rounded to 0.01. Null only for payments recorded before Prynt kept home-currency amounts.

Wymaga zakresu prices:read.

createdAtDateTime!

When the payment was recorded in Prynt.

currencyString!

ISO 4217 code of the payment currency, for example PLN: the order currency.

exchangeRateFloat

Exchange rate from currency to the print shop's home currency on the payment date (1 for the home currency). Null only for payments recorded before Prynt kept rates.

Wymaga zakresu prices:read.

idID!

Identifier of the payment (UUID).

methodPaymentMethod!

How the client paid.

notesString

Free-text note; null when none.

orderIdID!

Identifier of the order the payment is for.

paidAtDateTime

When the payment was received. Null only for older payments recorded without a date; a payment recorded through the API always has one.

referenceString

Reference of the payment, for example the transfer title or a transaction number; null when none.

Używane w