Stripe.Method

Stripe.Method

Makes a call to the Stripe API.

function (method as text, additionalParameters as record, ColumnNames as list) as table

Description

Makes a call to the Stripe API at https://api.stripe.com/v1/method, with record additionalParameters passed as additional parameters and list ColumnNames of expected column names. Stripe Version 2015-10-16 is used.

Category

Accessing data

Examples

Returns a table with events created after November 1, 2015

Stripe.Method("events", [#"created[gte]"=1446374329], {"id", "livemode", "created", "type", "data", "object", "pending_webhooks", "request", "api_version"})

A table with the specified events for the current Stripe account

Returns a table with all SKUs

Stripe.Method("skus", [], {"id", "created", "updated", "object", "livemode", "product", "image", "active", "price", "currency", "inventory", "attributes", "metadata", "package_dimensions"})

A table with all SKUs for the current Stripe account