Hey I'm working on creating a customer deposit via...
# general
j
Hey I'm working on creating a customer deposit via the REST API. I'm able to do that successfully, but I can't get the payment method field to set. I've tried passing in "paymentOption"{id"1"} and other variantions of the same thing as the docs suggest but keep getting an error that the field doesn't exist. When I pull the swagger for the record I can see the field and it should be able to be written to, however, when I pull up a record that has the field set in the UI via a GET call, the field is not found. Any ideas?
r
The field is paymentMethod, not paymentOption I think
j
I've tried both with the same issues
I filed a ticket with Netsuite and come to find out it's a limitation in the REST api. The only way to do it is to enable payment instruments in your account and then you can set the payment option field. No timeline for a fix.
oof 1