Summary
get_escrow_state(invoice_id) returns the current DisputeState (release_at, disputed, disputed_at) but there is no SDK method for it.
Method to add
async getEscrowState(invoiceId: number): Promise<{ releaseAt: number; disputed: boolean; disputedAt: number } | null>
Acceptance criteria
Summary
get_escrow_state(invoice_id)returns the currentDisputeState(release_at, disputed, disputed_at) but there is no SDK method for it.Method to add
Acceptance criteria
SharpyClientnullif no escrow state exists for the invoice