v50

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-169377194.1 KB
Tasks

Expunge charges and refunds in terminal state

Task to expunge charges and refunds on terminal or expungeable state from connector.<br>This task checks parity of charge/refund with ledger transaction and expunges only if the fields matches. If parity check fails, new events are emitted for charge/refunds and the record is marked with latest parity check status.

post/v1/tasks/expunge

Query parameters

number_of_charges_to_expungeinteger

Number of charges to expunge. Defaults to EXPUNGE_NO_OF_CHARGES_PER_TASK_RUN environment variable or configuration default

number_of_refunds_to_expungeinteger

Number of refunds to expunge. Defaults to EXPUNGE_NO_OF_REFUNDS_PER_TASK_RUN environment variable or configuration default

Response

OK