Test mode: Fail an OutboundPayment

POST {{baseUrl}}/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.

Request Body

[{"name"=>"expand[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[1]", "value"=>"<string>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring