Test mode: Fail an OutboundPayment Test helper
POST / v1 / test_helpers / treasury / outbound_payments /:id / fail
Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.
Parameters
No parameters.
Returns
Returns the OutboundPayment object in the failed state. Returns an error if the OutboundPayment has already been failed or cannot be failed.
Response
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
