Run a payout run action
POST
https://api.nicer.travel/commerce/payout-runs/{payoutRunId}/actions
One action on a payout run. RETRY (finance staff) sends its failed payouts again: the transfer already made for a payout is looked up before a new one is made, so nothing is paid twice. CANCEL (agency admins and finance staff) drops pending or failed payouts once the run is not being sent (409 COMMISSION_PAYOUT_RUN_BUSY while it is), leaving their statements approved for another run or for MARK_PAID on the statement. Returns the run.
Authorization
Path parameters
Header parameters
Request body JSON required
One of the following:
- object
- object
Returns
200
OK
JSON
- createdAtstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- updatedAtstringrequiredformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$