Skip to main content
The Stripe plugin syncs data locally. Use corsair.stripe.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Balance

Path: stripe.db.balance.search
const rows = await corsair.stripe.db.balance.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
livemodebooleanequals
createdAtdateequals, before, after, between
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Charges

Path: stripe.db.charges.search
const rows = await corsair.stripe.db.charges.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
amountnumberequals, gt, gte, lt, lte, in
currencystringequals, contains, startsWith, endsWith, in
statusstringequals, contains, startsWith, endsWith, in
customerstringequals, contains, startsWith, endsWith, in
descriptionstringequals, contains, startsWith, endsWith, in
paidbooleanequals
refundedbooleanequals
creatednumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
payment_intentstringequals, contains, startsWith, endsWith, in
failure_codestringequals, contains, startsWith, endsWith, in
failure_messagestringequals, contains, startsWith, endsWith, in
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Coupons

Path: stripe.db.coupons.search
const rows = await corsair.stripe.db.coupons.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
namestringequals, contains, startsWith, endsWith, in
amount_offnumberequals, gt, gte, lt, lte, in
percent_offnumberequals, gt, gte, lt, lte, in
currencystringequals, contains, startsWith, endsWith, in
durationstringequals, contains, startsWith, endsWith, in
duration_in_monthsnumberequals, gt, gte, lt, lte, in
max_redemptionsnumberequals, gt, gte, lt, lte, in
times_redeemednumberequals, gt, gte, lt, lte, in
validbooleanequals
creatednumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
livemodebooleanequals
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Customers

Path: stripe.db.customers.search
const rows = await corsair.stripe.db.customers.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
emailstringequals, contains, startsWith, endsWith, in
namestringequals, contains, startsWith, endsWith, in
phonestringequals, contains, startsWith, endsWith, in
descriptionstringequals, contains, startsWith, endsWith, in
currencystringequals, contains, startsWith, endsWith, in
balancenumberequals, gt, gte, lt, lte, in
creatednumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
livemodebooleanequals
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Payment Intents

Path: stripe.db.paymentIntents.search
const rows = await corsair.stripe.db.paymentIntents.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
amountnumberequals, gt, gte, lt, lte, in
currencystringequals, contains, startsWith, endsWith, in
statusstringequals, contains, startsWith, endsWith, in
customerstringequals, contains, startsWith, endsWith, in
descriptionstringequals, contains, startsWith, endsWith, in
creatednumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
payment_methodstringequals, contains, startsWith, endsWith, in
client_secretstringequals, contains, startsWith, endsWith, in
canceled_atnumberequals, gt, gte, lt, lte, in
cancellation_reasonstringequals, contains, startsWith, endsWith, in
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Prices

Path: stripe.db.prices.search
const rows = await corsair.stripe.db.prices.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
activebooleanequals
currencystringequals, contains, startsWith, endsWith, in
unit_amountnumberequals, gt, gte, lt, lte, in
nicknamestringequals, contains, startsWith, endsWith, in
productstringequals, contains, startsWith, endsWith, in
typestringequals, contains, startsWith, endsWith, in
creatednumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
livemodebooleanequals
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.

Sources

Path: stripe.db.sources.search
const rows = await corsair.stripe.db.sources.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
idstringequals, contains, startsWith, endsWith, in
typestringequals, contains, startsWith, endsWith, in
amountnumberequals, gt, gte, lt, lte, in
currencystringequals, contains, startsWith, endsWith, in
statusstringequals, contains, startsWith, endsWith, in
creatednumberequals, gt, gte, lt, lte, in
createdAtdateequals, before, after, between
livemodebooleanequals
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.