Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Cancel an InboundTransfer


Cancel an InboundTransfer

POST / v1 / treasury / inbound_transfers /:id / cancel

Cancels an InboundTransfer.

Parameters

No parameters.

Returns

Returns the InboundTransfer object if the cancellation succeeded. Returns an error if the InboundTransfer has already been canceled or cannot be canceled.

Response

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

Last verified 2026-09-24

Is this helpful?