Skip to main content

crawler_stripe

Creates, updates, deletes, gets or lists a crawler_stripe resource.

Overview

Namecrawler_stripe
TypeResource
Idcloudflare.billing.crawler_stripe

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
stripe_account_idstring
connect_statusstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idGets the stripe config for a crawler.
pay_per_crawl_crawler_create_stripe_configinsertaccount_idCreates the stripe config for a crawler.
pay_per_crawl_crawler_delete_stripe_configdeleteaccount_idDeletes the stripe config for a crawler.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

SELECT examples

Gets the stripe config for a crawler.

SELECT
stripe_account_id,
connect_status
FROM cloudflare.billing.crawler_stripe
WHERE account_id = '{{ account_id }}' -- required
;

INSERT examples

Creates the stripe config for a crawler.

INSERT INTO cloudflare.billing.crawler_stripe (
account_id
)
SELECT
'{{ account_id }}'
RETURNING
errors,
messages,
result,
result_info,
success
;

DELETE examples

Deletes the stripe config for a crawler.

DELETE FROM cloudflare.billing.crawler_stripe
WHERE account_id = '{{ account_id }}' --required
;