Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

payjp

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

payjp - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

36

built/index.d.ts

@@ -84,3 +84,3 @@ import Accounts from './account';

term?: string;
type?: "sales" | "service_fee" | "transfer_fee";
type?: "sales" | "service_fee" | "transfer_fee" | "misc";
}

@@ -399,17 +399,17 @@ export interface TermListOptions extends PaginationOptions {

export interface Statement {
created: number;
object: "statement";
livemode: boolean;
id: string;
livemode: boolean;
object: "statement";
title: string;
tenant_id: string;
type: "sales" | "service_fee" | "transfer_fee";
net: number;
type: "sales" | "service_fee" | "transfer_fee" | "misc";
created: number;
updated: number;
tenant_id: string | null;
term: Term | null;
balance_id: string;
balance_id: string | null;
items: StatementItems[];
updated: number;
net: number;
}
export interface StatementItems {
subject: "gross_sales" | "fee" | "platform_fee" | "gross_refund" | "refund_fee_offset" | "refund_platform_fee_offset" | "chargeback" | "chargeback_fee_offset" | "chargeback_platform_fee_offset" | "proplan" | "transfer_fee";
subject: "gross_sales" | "fee" | "platform_fee" | "gross_refund" | "refund_fee_offset" | "refund_platform_fee_offset" | "chargeback" | "chargeback_fee_offset" | "chargeback_platform_fee_offset" | "proplan" | "plan_fee" | "transfer_fee" | "other";
amount: number;

@@ -443,10 +443,11 @@ name: string;

export interface Term {
object: "term";
id: string;
livemode: boolean;
object: "term";
start_at: number | null;
end_at: number | null;
closed: boolean;
charge_count: number;
refund_count: number;
dispute_count: number;
end_at: number;
start_at: number;
}

@@ -462,12 +463,13 @@ export interface BankInfo {

export interface Balance {
created: number;
object: "balance";
id: string;
livemode: boolean;
created: number;
tenant_id: string | null;
net: number;
object: "balance";
statements: Statement[];
state: "collecting" | "transfer" | "claim";
statements: Statement[];
closed: boolean;
closed_date: number | null;
due_date: null | number;
tenant_id: string;
bank_info: null | BankInfo;

@@ -474,0 +476,0 @@ }

{
"name": "payjp",
"version": "2.2.1",
"version": "2.2.2",
"description": "PAY.JP node.js bindings",

@@ -5,0 +5,0 @@ "main": "built/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc