NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Credit Card Charge → Get record

AI-generated

Summary

Retrieve a specific Credit Card Charge record by its internal ID.

Inputs

  • isDebugMode — Include full request and response payloads in the output.
  • id (required) — Internal identifier of the Credit Card Charge record to fetch.
  • expandSubResources — When true, automatically expand all sublists, sublist lines, and subrecords on the returned record.
  • fields — Comma‑separated list of field and sublist names to return; if omitted, all fields are returned.
  • Prefer — Client preference, e.g. "respond-async" to execute the request asynchronously.
  • simpleEnumFormat — Return enumeration values as their internal ID only when true.
  • X-NetSuite-Idempotency-Key — Unique key for asynchronous requests to guarantee idempotency; ignored for synchronous calls.

Output shape

a single Credit Card Charge record in JSON form, optionally wrapped with request and response details if Debug Mode is enabled

The returned data exactly mirrors NetSuite's REST API response for a Credit Card Charge. Fields omitted or expanded based on the Additional Fields configuration. If Prefer is set to "respond-async", the API may return a status resource rather than the full record immediately.

Examples

Example 1: Retrieve a Credit Card Charge by ID

Set Id to 12345 and leave other options at default.

Example 2: Retrieve specific fields only

Set Id to 98765, Fields to "internalId, tranDate, amount".

Example 3: Enable debug mode for troubleshooting

Set Id to 54321 and enable Debug Mode.

Discussion