Run an action on a remittance
POST
https://api.nicer.travel/commerce/remittances/{remittanceId}/actions
Runs one action on posted money: ALLOCATE a line's unallocated money to commission items, REVERSE_ALLOCATION (all or part; the earnings and journals reverse with it), MARK_DUPLICATE or VOID (every allocation is reversed and the deposit's journal mirrored), UNMARK_DUPLICATE, or APPROVE_CLAIM / REJECT_CLAIM a member's claim. Allocating answers 409 COMMISSION_ALLOCATION_EXCEEDS_LINE past the line and 409 COMMISSION_ALLOCATION_WRONG_RECEIVER for money owed to another company. Reversing, voiding and duplicates are finance staff only.
Authorization
Path parameters
Header parameters
Request body JSON required
One of the following:
- object
- object
- object
- object
- object
- 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))$