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;
}[];
};
}
| {
customPayload?: {
properties: { key?: string; value?: string }[];
};
identifier?: string;
timestamp?: 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";
eventName?: string;
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"
| "token"
| "balance"
| "coupon"
| "customerCard"
| "meterEvent"
| "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;
}[];
};
};
value?: number;
}Properties§
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;
}[];
};
}
| {
customPayload?: {
properties: { key?: string; value?: string }[];
};
identifier?: string;
timestamp?: string;
}
| {
metadata?: {
metadataProperties: {
key?: string;
value?: string;
}[];
};
statement_descriptor?: string;
}readonly amount?: numberAmount in cents to be collected for this charge, e.g. enter 100 for $1.00
Type options: {"minValue":0,"maxValue":99999999}
readonly amount Off?: numberAmount in cents to subtract from an invoice total, e.g. enter 100 for $1.00
Type options: {"minValue":0,"maxValue":99999999}
readonly card Id?: stringID of the card to remove
readonly charge Id?: stringID of the charge to retrieve
readonly currency?: stringThree-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"}
readonly customer Id?: stringID of the customer to be associated with this card
readonly cvc?: stringSecurity code printed on the back of the card
readonly duration?: "once" | "forever"How long the discount will be in effect Default: "once"
readonly event Name?: stringThe name of the meter event. Corresponds with the event_name field on a meter.
readonly expiration Month?: stringNumber of the month when the card will expire
readonly expiration Year?: stringYear when the card will expire
readonly filters?: { ... }Default: {}
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
readonly name?: stringFull name or business name of the customer to create
readonly number?: string§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "add"
| "remove"
| "delete"Default: "get"
readonly percent Off?: numberPercentage to apply with the coupon Default: 1 Type options: {"minValue":1,"maxValue":100}
readonly resource?:
| "charge"
| "customer"
| "token"
| "balance"
| "coupon"
| "customerCard"
| "meterEvent"
| "source"Default: "balance"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly source?: stringID of the customer's payment source to be charged
readonly source Id?: stringID of the source to retrieve
readonly token?: stringToken representing sensitive card information Type options: {"password":true}
readonly type?: "percent" | "fixedAmount" | "wechat" | "cardToken"Whether the coupon discount is a percentage or a fixed amount Default: "percent"
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: {}
readonly value?: numberThe value of the meter event. Must be an integer. Can be positive or negative. Default: 1
Default: {}