Options
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hello
I am trying to release a customer payment using POST
{{Url}}/v1/customerpayment/400407/action/release
and get the message "message": "Document type must be specified in the releaseActionDto ."
I also noticed that If I try to release the payment in the UI, the payment is released but not closed. and no errors
The payment was previoulsy created using the following json.
{
"referenceNumber": null,
"type": {
"value": "Payment"
},
"hold": null,
"applicationDate": null,
"applicationPeriod": null,
"paymentRef": {
"value": "PSRID INV 000870"
},
"customer": {
"value": "10002"
},
"location": null,
"paymentMethod": null,
"cashAccount": null,
"currency": null,
"paymentAmount": {
"value": 200.0
},
"invoiceText": null,
"branch": null,
"ordersToApply": null,
"paymentLines": null
}
Solved! Go to Solution.
1 REPLY 1
my bad, didn't include the document type
