charge.ts 397 B

12345678910111213
  1. export type PaymentMethodType = 'Card'|'VirtualAccount'|'Mobile'|'Transfer'|'NaverPay'|'KakaoPay'|'Payco';
  2. export type DanalCreateOrderRequest = {
  3. /** 충전할 포인트 (VAT 제외). PG 결제 총액은 서버에서 VAT 10% 별도 가산. */
  4. amount: number;
  5. paymentMethod: PaymentMethodType;
  6. };
  7. export type DanalConfirmRequest = {
  8. orderID: string;
  9. transactionID: string;
  10. method: string
  11. }