Discussions
How to create a customer deposit with a payment event via API?
I’m trying to create a customer deposit via the REST API. However, the payment event in the Payment Option subtab of the created customer deposit is not showing any events.
I’m wondering if I’ve missed any required fields, or if there’s a way to create a payment event for a customer deposit via the API.
Below is the API I used.
{ "customer": "10058", "currency": 1, "customForm": "121", "exchangerate": 1.00, "tranid": "DE-SO-005", "payment": 227, "paymentMethod": 7, "trandate": "2025-04-10", "custbody_ebiz_payment_type": "7", "salesOrder": { "id": "589745" }, "undepFunds": true}