action velopayments_withdraw_payment {
label: "Withdraw a Payment"
description: "
withdraw a payment
\nThere are a variety of reasons why this can fail
\n\n - the payment must be in a state of 'accepted' or 'unfunded'
\n - the payout must not be in a state of 'instructed'
\n
\n"
provider: velopayments
method: POST
path: "/v1/payments/{paymentId}/withdraw"
encoding: json
input: {
type: "object"
properties: {
paymentId: {
type: "string"
format: "uuid"
}
reason: {
type: "string"
description: "Reason for withdrawal"
}
}
required: ["paymentId", "reason"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}