How do I set a paymentOption via the rest api on a...
# ask-stanley-ai
j
How do I set a paymentOption via the rest api on a customer deposit?
c
AI generated answer (using internal Slack threads):
To set a paymentOption via the REST API on a customer deposit, you would typically need to use the internal ID of the payment option. The internal ID can be found by creating the payment in the UI and then loading it to see what internal IDs to use. Here's a general idea of how you might do this: 1. Create a payment in the NetSuite UI with the desired payment option. 2. Load the created payment and inspect the
paymentOption
field to find the internal ID. Unfortunately, the exact details of how to do this are not provided in the conversations. However, it's important to note that the payment options available may vary depending on the specific customer and the setup of your NetSuite account. Please note that this is a general approach and might need adjustments based on your specific use case and NetSuite setup. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828220069
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82088393
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818908036
Please provide your feedback on this answer.
j
I'm sending that with the internal id, but it's not setting even though I find the field in the swagger