Sumit icon

Sumit

Interact with Sumit Accounting API

Payment Method → Set for Customer

AI-generated

Summary

Set a payment method for a specific customer in the Sumit Accounting system by specifying the customer's Sumit ID and the single-use token representing the payment method.

Inputs

  • Customer ID (required) — The Sumit customer ID to associate the payment method with.
  • Single Use Token — A single-use token representing the payment method to be stored for the customer.

Output shape

a list of JSON objects containing the API response for each item processed

Outputs the API response received from the Sumit Billing Payment Methods set operation. If multiple input items are processed, it returns a list of corresponding responses. Errors are returned per item if 'continue on fail' is enabled.

Examples

Example 1: Set a payment method for customer 12345 using a single-use token

Set resource to 'Payment Method', operation to 'Set for Customer', Customer ID to 12345, and Single Use Token to the token string.

Links

Discussion