Skip to content

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? ​

ts
authorizationExpireDate?: string;

Defined in: src/operations/payment-details.ts:94

ISO 8601. Also observed on captured payments; absent from refund entries.


currency? ​

ts
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? ​

ts
events?: PromotionEvent[];

Defined in: src/operations/payment-details.ts:102


merchantName? ​

ts
merchantName?: string;

Defined in: src/operations/payment-details.ts:90


orderId? ​

ts
orderId?: string;

Defined in: src/operations/payment-details.ts:74


originalTransactionId? ​

ts
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? ​

ts
packages?: ResponsePackage[];

Defined in: src/operations/payment-details.ts:100


payInfo? ​

ts
payInfo?: PayInfo[];

Defined in: src/operations/payment-details.ts:95


paymentProvider? ​

ts
paymentProvider?: PaymentProvider;

Defined in: src/operations/payment-details.ts:104

Observed as "TSP" on sandbox payment and refund entries.


payStatus? ​

ts
payStatus?: OpenString<
  | "CAPTURE"
  | "AUTHORIZATION"
  | "VOIDED_AUTHORIZATION"
| "EXPIRED_AUTHORIZATION">;

Defined in: src/operations/payment-details.ts:83

  • CAPTURE: captured
  • AUTHORIZATION: authorized, not yet captured
  • VOIDED_AUTHORIZATION: authorization voided
  • EXPIRED_AUTHORIZATION: authorization expired

productName? ​

ts
productName?: string;

Defined in: src/operations/payment-details.ts:89


refundList? ​

ts
refundList?: RefundEntry[];

Defined in: src/operations/payment-details.ts:97

Refunds of the original transaction.


shipping? ​

ts
shipping?: SelectedShipping;

Defined in: src/operations/payment-details.ts:101


transactionDate? ​

ts
transactionDate?: string;

Defined in: src/operations/payment-details.ts:76

ISO 8601.


transactionId ​

ts
transactionId: string;

Defined in: src/operations/payment-details.ts:71

19 digits.


transactionType ​

ts
transactionType: OpenString<"PAYMENT_REFUND" | "PARTIAL_REFUND" | "PAYMENT">;

Defined in: src/operations/payment-details.ts:73

PAYMENT, PAYMENT_REFUND or PARTIAL_REFUND.

Released under the MIT License. An independent library, not made or endorsed by LINE Pay.