Interface: PaymentDetailsInfo
Defined in: src/operations/payment-details.ts:69
One payment or refund in the payment details. Sandbox confirmed standalone refund entries have a refund transaction type, originalTransactionId and positive payInfo amounts; the original payment carries a refundList with negative refundAmount values. Other fields differ by entry type.
Properties
authorizationExpireDate?
authorizationExpireDate?: string;Defined in: src/operations/payment-details.ts:94
ISO 8601. Also observed on captured payments; absent from refund entries.
currency?
currency?: string;Defined in: src/operations/payment-details.ts:92
ISO 4217. Older transactions can be in a currency the library no longer lists.
events?
events?: PromotionEvent[];Defined in: src/operations/payment-details.ts:102
merchantName?
merchantName?: string;Defined in: src/operations/payment-details.ts:90
orderId?
orderId?: string;Defined in: src/operations/payment-details.ts:74
originalTransactionId?
originalTransactionId?: string;Defined in: src/operations/payment-details.ts:99
Set when this entry is a refund: the payment that was refunded (19 digits).
packages?
packages?: ResponsePackage[];Defined in: src/operations/payment-details.ts:100
payInfo?
payInfo?: PayInfo[];Defined in: src/operations/payment-details.ts:95
paymentProvider?
paymentProvider?: PaymentProvider;Defined in: src/operations/payment-details.ts:104
Observed as "TSP" on sandbox payment and refund entries.
payStatus?
payStatus?: OpenString<
| "CAPTURE"
| "AUTHORIZATION"
| "VOIDED_AUTHORIZATION"
| "EXPIRED_AUTHORIZATION">;Defined in: src/operations/payment-details.ts:83
CAPTURE: capturedAUTHORIZATION: authorized, not yet capturedVOIDED_AUTHORIZATION: authorization voidedEXPIRED_AUTHORIZATION: authorization expired
productName?
productName?: string;Defined in: src/operations/payment-details.ts:89
refundList?
refundList?: RefundEntry[];Defined in: src/operations/payment-details.ts:97
Refunds of the original transaction.
shipping?
shipping?: SelectedShipping;Defined in: src/operations/payment-details.ts:101
transactionDate?
transactionDate?: string;Defined in: src/operations/payment-details.ts:76
ISO 8601.
transactionId
transactionId: string;Defined in: src/operations/payment-details.ts:71
19 digits.
transactionType
transactionType: OpenString<"PAYMENT_REFUND" | "PARTIAL_REFUND" | "PAYMENT">;Defined in: src/operations/payment-details.ts:73
PAYMENT, PAYMENT_REFUND or PARTIAL_REFUND.