interface StripeNodeParameters {
additionalFields?:
| {
description?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
receipt_email?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
}[];
};
}
| {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
description?: string;
email?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
phone?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
phone?: string;
}[];
};
}
| {
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
statement_descriptor?: string;
};
amount?: number;
amountOff?: number;
cardId?: string;
chargeId?: string;
currency?: string;
customerId?: string;
cvc?: string;
duration?: "once"
| "forever";
expirationMonth?: string;
expirationYear?: string;
filters?: { email?: string };
limit?: number;
name?: string;
number?: string;
operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete";
percentOff?: number;
resource?: | "charge"
| "customer"
| "balance"
| "coupon"
| "token"
| "customerCard"
| "source";
returnAll?: boolean;
source?: string;
sourceId?: string;
token?: string;
type?: | "percent"
| "fixedAmount"
| "wechat"
| "cardToken";
updateFields?: | {
description?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
receipt_email?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
}[];
};
}
| {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
description?: string;
email?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
name?: string;
phone?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
phone?: string;
}[];
};
};
}
Properties§
Source§readonly additional Fields?:
| {
description?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
receipt_email?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
}[];
};
}
| {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
description?: string;
email?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
phone?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
phone?: string;
}[];
};
}
| {
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
statement_descriptor?: string;
}
readonly additional Fields?:
| {
description?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
receipt_email?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
}[];
};
}
| {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
description?: string;
email?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
phone?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
phone?: string;
}[];
};
}
| {
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
statement_descriptor?: string;
}
Source§readonly amount?: number
readonly amount?: number
Amount in cents to be collected for this charge, e.g. enter 100
for $1.00
Type options: {"minValue":0,"maxValue":99999999}
Source§readonly amount Off?: number
readonly amount Off?: number
Amount in cents to subtract from an invoice total, e.g. enter 100
for $1.00
Type options: {"minValue":0,"maxValue":99999999}
Source§readonly currency?: string
readonly currency?: string
Three-letter ISO currency code, e.g. USD
or EUR
. It must be a Stripe-supported currency. Choose from the list, or specify an ID using an expression.
Type options: {"loadOptionsMethod":"getCurrencies"}
Source§readonly duration?: "once" | "forever"
readonly duration?: "once" | "forever"
How long the discount will be in effect Default: "once"
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"
Default: "get"
Source§readonly percent Off?: number
readonly percent Off?: number
Percentage to apply with the coupon Default: 1 Type options: {"minValue":1,"maxValue":100}
Source§readonly resource?:
| "charge"
| "customer"
| "balance"
| "coupon"
| "token"
| "customerCard"
| "source"
readonly resource?:
| "charge"
| "customer"
| "balance"
| "coupon"
| "token"
| "customerCard"
| "source"
Default: "balance"
Source§readonly token?: string
readonly token?: string
Token representing sensitive card information Type options: {"password":true}
Source§readonly type?: "percent" | "fixedAmount" | "wechat" | "cardToken"
readonly type?: "percent" | "fixedAmount" | "wechat" | "cardToken"
Whether the coupon discount is a percentage or a fixed amount Default: "percent"
Source§readonly update Fields?:
| {
description?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
receipt_email?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
}[];
};
}
| {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
description?: string;
email?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
name?: string;
phone?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
phone?: string;
}[];
};
}
readonly update Fields?:
| {
description?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
receipt_email?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
}[];
};
}
| {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
description?: string;
email?: string;
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
name?: string;
phone?: string;
shipping?: {
shippingProperties: {
address?: {
details: {
city?: string;
country?: string;
line1?: string;
line2?: string;
postal_code?: string;
state?: string;
};
};
name?: string;
phone?: string;
}[];
};
}
Default: {}
Default: {}