Cancel an OutboundPayment
POST / v1 / treasury / outbound_payments /:id / cancel
Cancel an OutboundPayment.
Parameters
No parameters.
Returns
Returns the OutboundPayment object if the cancellation succeeded. Returns an error if the OutboundPayment has already been canceled or cannot be canceled.
Response
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
