NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Payment Method → Insert record

AI-generated

Summary

Insert a new Payment Method record in NetSuite with customizable fields and options.

Inputs

  • Additional Fields — Optional parameters to specify detailed properties for the payment method, including account references, card brands, merchant accounts, flags such as debit card status, online display, inactive status, custom IDs, method type, visuals, and more.
  • Custom Fields — An array of custom field entries to include in the record, each specifying the field name, type, and value to set.
  • Debug Mode — Set to true to include full request and response information in the output for debugging purposes.

Output shape

a single record representing the created Payment Method, including standard and custom fields as per the NetSuite API response.

The operation supports asynchronous execution if the 'Prefer' header is set to 'respond-async', and includes optional headers to control idempotency and validation strictness of property names and values. Custom fields must match those loaded via the node's loadOptions methods. Errors are returned if required inputs are missing or invalid.

Discussion