Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Test mode: Post an OutboundPayment


Test mode: Post an OutboundPayment Test helper

POST / v1 / test_helpers / treasury / outbound_payments /:id / post

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

Parameters

No parameters.

Returns

Returns the OutboundPayment object in the posted state. Returns an error if the OutboundPayment has already been posted or cannot be posted.

Response

Test mode: Return an OutboundPayment Test helper

POST / v1 / test_helpers / treasury / outbound_payments /:id / return

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

Parameters

  • returned _ details object Optional hash to set the return code.

Returns

Returns the OutboundPayment object in the returned state. Returns an error if the OutboundPayment has already been returned or cannot be returned.

Response

Test mode: Update an OutboundPayment Test helper

POST / v1 / test_helpers / treasury / outbound_payments /:id

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

Parameters

  • tracking _ details object Required Details about network-specific tracking information.

Returns

Returns the OutboundPayment object with the updated tracking details. Returns an error if the OutboundPayment is in an invalid state or if tracking_details has already been set.

Response

Last verified 2026-09-24

Is this helpful?