Skip to main content
Every dodopayments.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Customers

create

customers.create Create a Dodo customer Risk: write
Input Output

get

customers.get Fetch a Dodo customer by ID Risk: read
Input Output

Payments

create

payments.create Create a Dodo payment Risk: write
Input
Output

get

payments.get Fetch a Dodo payment by ID Risk: read
Input Output

list

payments.list List Dodo payments Risk: read
Input Output

Refunds

create

refunds.create Create a refund for a Dodo payment Risk: write
Input Output

Subscriptions

cancel

subscriptions.cancel Cancel a Dodo subscription Risk: write
Input Output

create

subscriptions.create Create a Dodo subscription Risk: write
Input Output

get

subscriptions.get Fetch a Dodo subscription by ID Risk: read
Input Output