PEAK icon

PEAK

Interact with the PEAK Accounting API

Actions11

Payment Method → Get

AI-generated

Summary

Retrieve details of a specific payment method from the PEAK Accounting API by providing either its Payment Method ID or Payment Method Code.

Inputs

  • Server Environment (required) — Selects the PEAK server environment to use, either Production or UAT.
  • Payment Method ID — The unique identifier of the payment method to retrieve. Optional if Payment Method Code is provided.
  • Payment Method Code — The code of the payment method to retrieve. Optional if Payment Method ID is provided.
  • Client Token — An optional client token to authenticate the request. If omitted, the node requires a client token to be provided from a prior Create Client Token operation.

Output shape

a single record containing the details of the requested payment method.

You must provide either Payment Method ID or Payment Method Code to identify the payment method. The response returns the payment method data in JSON format. A valid client token is required, either by mapping one from a previous Create Client Token operation or setting override; if none provided, the node will raise an error.

Examples

Example 1: Retrieve payment method using ID

Set 'Payment Method ID' to the desired ID, select server environment, and provide a client token or have a valid token from previous steps.

Example 2: Retrieve payment method using Code

Set 'Payment Method Code' to the desired code, select server environment, and provide a client token or have a valid token from previous steps.

Links

Discussion