Stripe.Contents

Stripe.Contents

Makes a call to the Stripe API, with the option to limit number of API calls made.

function (method as text, optional query as nullable record, optional pageLimit as nullable any) as table

Description

Makes a call to the Stripe API at https://api.stripe.com/v1/method, with optional record query passed as additional parameters and optional pageLimit as a limit on the number of API requests. Most recent data is returned first. If pageLimit is not specified, all data is returned. Stripe Version 2015-10-16 is used.

Category

Accessing data

Examples

Returns all charges data

Stripe.Contents("charges")

A table with all charges data for the current Stripe account

Returns one page of charges data

Stripe.Contents("charges", [], 1)

A table with the most recent charges data for the current Stripe account