Get Payment Method icon

Get Payment Method

Send parameter to get payment method via PEAK API

Get Payment Method

AI-generated

Summary

Retrieve payment method details from the PEAK API using either a PaymentMethod ID or PaymentMethod code, optionally overriding the client token for authentication.

Inputs

  • Server Environment (required) — Select the target server environment to send the request to, with options 'UAT' or 'PaymentMethodion'.
  • PaymentMethod ID — Specify the PaymentMethod ID to retrieve information for.
  • PaymentMethod Code — Specify the PaymentMethod code to retrieve information for.
  • Client Token (override) — Optionally provide a client token to override the one in credentials, useful if tokens refresh every 24 hours.

Output shape

a single item containing a JSON object with 'success', 'statusCode', 'data', and 'headers' fields on success; or an 'error' field on failure

The operation makes an authenticated GET request to the PEAK API to retrieve payment method details. Credentials (PEAKApi) are required for authentication unless overridden by the client token input. The response includes the API data along with request headers used. Errors are captured and output per item if 'Continue On Fail' is enabled.

Discussion