Adyen · Arazzo Workflow

Adyen Management Add Payment Method and Get Its Settings

Version 1.0.0

Add a payment method to a merchant account then read its settings back.

1 workflow 1 source API 1 provider
View Spec View on GitHub PaymentsFinancial-ServicesFintechArazzoWorkflows

Provider

adyen

Workflows

add-payment-method-and-get
Add a payment method to a merchant account and read its settings.
Adds a payment method of the supplied type to a merchant account, then retrieves the settings of the new payment method using its returned id.
2 steps inputs: countries, currencies, merchantId, type outputs: paymentMethodId, paymentMethodType
1
addPaymentMethod
Add a payment method of the supplied type to the merchant account, returning the new payment method id.
2
getPaymentMethod
Read the settings of the newly added payment method back by its id to confirm its configuration on the merchant account.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Adyen Management Add Payment Method and Get Its Settings
  summary: Add a payment method to a merchant account then read its settings back.
  description: >-
    Enabling a payment method for a merchant account and verifying its
    configuration is a two-step task in the Management API. This workflow adds a
    payment method of the supplied type to a merchant account, then reads the
    settings of the newly added payment method back by its id. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: merchantsApi
  url: ../openapi/adyen-merchants-api-openapi.yml
  type: openapi
workflows:
- workflowId: add-payment-method-and-get
  summary: Add a payment method to a merchant account and read its settings.
  description: >-
    Adds a payment method of the supplied type to a merchant account, then
    retrieves the settings of the new payment method using its returned id.
  inputs:
    type: object
    required:
    - merchantId
    - type
    properties:
      merchantId:
        type: string
        description: The unique identifier of the merchant account.
      type:
        type: string
        description: The payment method type to add (e.g. visa, mc, ideal).
      currencies:
        type: array
        description: The currencies the payment method supports.
      countries:
        type: array
        description: The countries the payment method is available in.
  steps:
  - stepId: addPaymentMethod
    description: >-
      Add a payment method of the supplied type to the merchant account,
      returning the new payment method id.
    operationId: post-merchants-merchantId-paymentMethodSettings
    parameters:
    - name: merchantId
      in: path
      value: $inputs.merchantId
    requestBody:
      contentType: application/json
      payload:
        type: $inputs.type
        currencies: $inputs.currencies
        countries: $inputs.countries
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentMethodId: $response.body#/id
  - stepId: getPaymentMethod
    description: >-
      Read the settings of the newly added payment method back by its id to
      confirm its configuration on the merchant account.
    operationId: get-merchants-merchantId-paymentMethodSettings-paymentMethodId
    parameters:
    - name: merchantId
      in: path
      value: $inputs.merchantId
    - name: paymentMethodId
      in: path
      value: $steps.addPaymentMethod.outputs.paymentMethodId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentMethodType: $response.body#/type
  outputs:
    paymentMethodId: $steps.addPaymentMethod.outputs.paymentMethodId
    paymentMethodType: $steps.getPaymentMethod.outputs.paymentMethodType

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/adyen-management-payment-method-add-and-get-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.