Skip to content

OrderPaymentStatusChangedEvent — @gj-kit/toss-payments

A public interface from @gj-kit/toss-payments/webhook. The signature below is taken directly from the 0.6.1 release declaration.

import { OrderPaymentStatusChangedEvent } from '@gj-kit/toss-payments/webhook';
/** 링크페이(Link Pay) 주문 결제 상태 통지. */
interface OrderPaymentStatusChangedEvent {
readonly envelope: 'legacy';
readonly eventType: 'ORDER_PAYMENT_STATUS_CHANGED';
readonly createdAt: string;
readonly data: {
readonly orderKey: string;
readonly amount: number;
readonly currency: string;
readonly customerName: string | null;
readonly customerPhoneNumber: string | null;
readonly payment: Payment;
readonly orderItems: readonly unknown[];
};
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/toss-payments
  • Version: 0.6.1
  • Public entry: ./webhook
  • Source: GitHub