crawler_stripe
Creates, updates, deletes, gets or lists a crawler_stripe resource.
Overview
| Name | crawler_stripe |
| Type | Resource |
| Id | cloudflare.billing.crawler_stripe |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
stripe_account_id | string | |
connect_status | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Gets the stripe config for a crawler. | |
pay_per_crawl_crawler_create_stripe_config | insert | account_id | Creates the stripe config for a crawler. | |
pay_per_crawl_crawler_delete_stripe_config | delete | account_id | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
SELECT examples
- list
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
- pay_per_crawl_crawler_create_stripe_config
- Manifest
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
;
# Description fields are for documentation purposes
- name: crawler_stripe
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the crawler_stripe resource.
DELETE examples
- pay_per_crawl_crawler_delete_stripe_config
Deletes the stripe config for a crawler.
DELETE FROM cloudflare.billing.crawler_stripe
WHERE account_id = '{{ account_id }}' --required
;