Cancel a cash-in
Cancels a cash-in that is still pending: the deposit code stops working and the cash-in becomes cancelled, announced by cashIn.statusChanged. The cancel takes effect only when the provider confirms it deleted the code. When the customer scans the code while the cancel is in flight, the cash-in becomes processing and the request fails with 409 CashInAlreadyScanned; when the code had already expired the cash-in becomes expired and the request fails with 409 CashInExpired. A cash-in that is processing or already final fails with 409 CashInNotCancellable and nothing changes. When the provider cannot be reached the cash-in stays pending and the request can be retried. Pass an Idempotency-Key header to safely retry.
Headers
Response
The request has succeeded.
A code-based cash deposit. The customer takes the issued code to a retail location and deposits cash, which OMS converts to crypto and delivers to the destination. Amounts start as estimates and are finalized once the cash is deposited.