Test mode: Fail an InboundTransfer Test helper
POST / v1 / test_helpers / treasury / inbound_transfers /:id / fail
Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
Parameters
- failure _ details object Details about a failed InboundTransfer.
Returns
Returns the InboundTransfer object in the returned state. Returns an error if the InboundTransfer has already failed or cannot be failed.
Response
Test mode: Return an InboundTransfer Test helper
POST / v1 / test_helpers / treasury / inbound_transfers /:id / return
Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
Parameters
No parameters.
Returns
Returns the InboundTransfer object with returned set to true. Returns an error if the InboundTransfer has already been returned or cannot be returned.
Response
Test mode: Succeed an InboundTransfer Test helper
POST / v1 / test_helpers / treasury / inbound_transfers /:id / succeed
Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.
Parameters
No parameters.
Returns
Returns the InboundTransfer object in the succeeded state. Returns an error if the InboundTransfer has already succeeded or cannot be succeeded.
Response
