Stripe.Method
Gọi tới API Stripe.
Syntax
Stripe.Method(
method as text,
additionalParameters as record,
ColumnNames as list
) as table
Remarks
Gọi tới API Stripe tại https://api.stripe.com/v1/method
, với bản ghi additionalParameters
được chấp nhận làm tham số bổ sung và danh sách ColumnNames
gồm các tên cột dự kiến. Stripe Phiên bản 2015-10-16 được sử dụng.
Examples
Example #1
Trả về bảng có các sự kiện được tạo sau ngày 1 tháng 11 năm 2015
Stripe.Method("events", [#"created[gte]"=1446374329], {"id", "livemode", "created", "type", "data", "object", "pending_webhooks", "request", "api_version"})
Result:
Một bảng có các sự kiện đã chỉ định cho tài khoản Stripe hiện tại
Example #2
Trả về bảng có tất cả SKU
Stripe.Method("skus", [], {"id", "created", "updated", "object", "livemode", "product", "image", "active", "price", "currency", "inventory", "attributes", "metadata", "package_dimensions"})
Result:
Một bảng có tất cả SKU cho tài khoản Stripe hiện tại