Openapi
Undo the matches of a transaction. Invoice payments are refunded.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidtransactionId*stringuuidReturns the result.
application/jsonaccountId*stringuuidamount*minorUnitsbookedOn*isoDatedatecounterpartyIban*string|nullcounterpartyName*string|nullcurrency*stringid*stringuuidmatches*array<>remittance*string|nullstatus*bankTransactionStatusSchema"unmatched""matched""ignored"structuredReference*string|nullcurl -X POST 'https://app.localhost/api/v1/organizations/123/bank-transactions/123e4567-e89b-12d3-a456-426614174000/unmatch'{ "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "amount": 0, "bookedOn": "2019-08-24", "counterpartyIban": "string", "counterpartyName": "string", "currency": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "matches": [ { "amount": 0, "targetId": "string", "targetType": "invoice" } ], "remittance": "string", "status": "unmatched", "structuredReference": "string"}