post
https://api.cybooks.com.cy/v1/bank-transactions//dividend-set-offs
Posts the set-off previewed with dividend.setOff.preview through the app's own set-off service: the same body, the preview's confirmation_token, the same Idempotency-Key and the bank line's ETag as If-Match; if the line, either dividend or the journal changed since the preview the answer is 412 (preview again). Then pay the rest of the dividend from the line as the app does. The answer is the set-off (id, undo_handle), the journal it posted and both dividends' figures after. Refusals are those of the preview. Undo it with dividend.setOff.reverse. Requires the dividends:action OAuth scope with update_bank_accounts, dividends.pay and dividends.view.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
