NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Customer Payment → Transform to customerRefund

AI-generated

Summary

Transform a customer payment into a customer refund in NetSuite.

Inputs

  • id (required) — Internal identifier of the customer payment to transform.
  • isDebugMode — Whether to include full request and response info in the output. Default is false.
  • authMethod — Authentication method. Options: OAuth1, OAuth2. Default is OAuth1.
  • total — Refund amount. NetSuite updates this field based on Apply checkboxes at the bottom of the form. Default is null.

Output shape

Customer refund record as returned by the NetSuite REST API.

When isDebugMode is true, the full request and response details are included in the operation output.

Examples

Example 1: Transform payment ID 12345 to a refund with specified amount.

Set id to 12345, total to the desired refund amount, and set isDebugMode or authMethod as needed.

Links

Discussion