NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Payment → Insert record

AI-generated

Summary

Insert a new customer payment record into NetSuite. Posting date defaults to today and can be overridden via tranDate. NetSuite auto-generates the transaction ID (tranId). Authentication defaults to OAuth1.

Inputs

  • isDebugMode — Whether to include full request and response info in the output
  • authMethod — Authentication method: OAuth1 or OAuth2. Defaults to OAuth1.
  • externalId — External identifier for the payment
  • tranDate — NetSuite inserts today's date for the posting date. Override to set a different date
  • payment — Enter the currency amount of the payment here
  • customer — Customer identifier (id or externalId)
  • currency — Currency identifier
  • paymentOperation — Transaction type: SALE or CAPTURE
  • memo — Optional memo describing the payment
  • customFields — List of custom field name-value pairs
  • replace — Names of sublists on this record. All sublist lines will be replaced with lines specified in the request

Output shape

The operation creates a new customer payment record in NetSuite. The auto-generated transaction ID (tranId) is assigned by NetSuite and returned as part of the response.

HTTP method: POST to /customerPayment. Credentials selected via authMethod (OAuth1/OAuth2). Debug mode controlled by isDebugMode.

Links

Discussion