Increase Check Transfer (increase_check_transfer_v1
)
Replicate Increase Check Transfers into your database.
To get set up, run this code from the WebhookDB CLI:
webhookdb integrations create increase_check_transfer_v1
Source documentation for this API: https://increase.com/documentation/api
Features
- Supports Webhooks
- ✅
- Supports Backfilling
- ✅
Schema
Tables replicated from Increase Check Transfers have this schema. Note that the data types listed are for Postgres; when replicating to other databases, other data types maybe used.
Column | Type | Indexed |
pk | bigint | |
increase_id | text | |
account_id | text | ✅ |
address_line1 | text | |
address_city | text | |
address_state | text | |
address_zip | text | ✅ |
amount | integer | ✅ |
created_at | timestamptz | ✅ |
mailed_at | timestamptz | |
recipient_name | text | |
status | text | |
submitted_at | timestamptz | ✅ |
template_id | text | |
transaction_id | text | ✅ |
updated_at | timestamptz | ✅ |
data * | jsonb |
* The data
column contains the raw payload from the webhook or API. In many cases there is no canonical form, like if a webhook and API request return two different versions of the same resource. In that case we try to keep the most coherent and detailed resource.”
Table definition
This definition can also be generated through webhookdb fixture increase_check_transfer_v1
.
CREATE TABLE public.increase_check_transfer_v1_fixture (
pk bigserial PRIMARY KEY,
increase_id text UNIQUE NOT NULL,
account_id text,
address_line1 text,
address_city text,
address_state text,
address_zip text,
amount integer,
created_at timestamptz,
mailed_at timestamptz,
recipient_name text,
status text,
submitted_at timestamptz,
template_id text,
transaction_id text,
updated_at timestamptz,
data jsonb NOT NULL
);
CREATE INDEX IF NOT EXISTS svi_fixture_account_id_idx ON public.increase_check_transfer_v1_fixture (account_id);
CREATE INDEX IF NOT EXISTS svi_fixture_address_zip_idx ON public.increase_check_transfer_v1_fixture (address_zip);
CREATE INDEX IF NOT EXISTS svi_fixture_amount_idx ON public.increase_check_transfer_v1_fixture (amount);
CREATE INDEX IF NOT EXISTS svi_fixture_created_at_idx ON public.increase_check_transfer_v1_fixture (created_at);
CREATE INDEX IF NOT EXISTS svi_fixture_submitted_at_idx ON public.increase_check_transfer_v1_fixture (submitted_at);
CREATE INDEX IF NOT EXISTS svi_fixture_transaction_id_idx ON public.increase_check_transfer_v1_fixture (transaction_id);
CREATE INDEX IF NOT EXISTS svi_fixture_updated_at_idx ON public.increase_check_transfer_v1_fixture (updated_at);