Adyen · Arazzo Workflow

Adyen Checkout Payment and Amount Update

Version 1.0.0

Authorise a card payment then adjust the authorised amount.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub PaymentsFinancial-ServicesFintechArazzoWorkflows

Provider

adyen

Workflows

payment-and-amount-update
Authorise a Checkout payment and update its authorised amount.
Submits a payment and, once it is authorised, updates the authorised amount against the payment PSP reference using the supplied industry use case.
2 steps inputs: amount, industryUsage, merchantAccount, paymentMethod, reference, returnUrl, updatedAmount outputs: paymentPspReference, status, updatePspReference
1
makePayment
Submit the payment to obtain an authorisation and a payment PSP reference whose amount can later be updated.
2
updateAmount
Update the authorised amount against the payment PSP reference, supplying the industry usage that justifies the change.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Adyen Checkout Payment and Amount Update
  summary: Authorise a card payment then adjust the authorised amount.
  description: >-
    Some payment methods allow the authorised amount to be increased or
    decreased before capture (for example a tip or a final hotel bill). This
    workflow makes a Checkout payment, confirms the authorisation, and updates
    the authorised amount against the returned PSP reference. 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
  x-realizes-capability-ids:
  - BC-1340
  - BC-1340.10
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-1340
      capability_name: Payments & Card Management
      spec: adyen-amount-api-openapi.yml
      confidence: 0.8
    - capability_id: BC-1340.10
      capability_name: Payment Initiation Management
      spec: adyen-payments-api-openapi.yml
      confidence: 0.75
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: amountApi
  url: ../openapi/adyen-amount-api-openapi.yml
  type: openapi
- name: paymentsApi
  url: ../openapi/adyen-payments-api-openapi.yml
  type: openapi
workflows:
- workflowId: payment-and-amount-update
  summary: Authorise a Checkout payment and update its authorised amount.
  description: >-
    Submits a payment and, once it is authorised, updates the authorised amount
    against the payment PSP reference using the supplied industry use case.
  inputs:
    type: object
    required:
    - merchantAccount
    - amount
    - reference
    - paymentMethod
    - returnUrl
    - updatedAmount
    - industryUsage
    properties:
      merchantAccount:
        type: string
        description: The merchant account identifier that processes the payment.
      amount:
        type: object
        description: The initial payment amount object with currency and value.
      reference:
        type: string
        description: Your unique reference for the payment.
      paymentMethod:
        type: object
        description: The payment method details (e.g. type scheme with card data).
      returnUrl:
        type: string
        description: The URL the shopper is returned to after the payment.
      updatedAmount:
        type: object
        description: The new amount object with currency and value (minor units).
      industryUsage:
        type: string
        description: The reason for the update (delayedCharge, installment, or noShow).
  steps:
  - stepId: makePayment
    description: >-
      Submit the payment to obtain an authorisation and a payment PSP reference
      whose amount can later be updated.
    operationId: post-payments
    requestBody:
      contentType: application/json
      payload:
        merchantAccount: $inputs.merchantAccount
        amount: $inputs.amount
        reference: $inputs.reference
        paymentMethod: $inputs.paymentMethod
        returnUrl: $inputs.returnUrl
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      pspReference: $response.body#/pspReference
      resultCode: $response.body#/resultCode
    onSuccess:
    - name: authorised
      type: goto
      stepId: updateAmount
      criteria:
      - context: $response.body
        condition: $.resultCode == "Authorised"
        type: jsonpath
  - stepId: updateAmount
    description: >-
      Update the authorised amount against the payment PSP reference, supplying
      the industry usage that justifies the change.
    operationId: post-payments-paymentPspReference-amountUpdates
    parameters:
    - name: paymentPspReference
      in: path
      value: $steps.makePayment.outputs.pspReference
    requestBody:
      contentType: application/json
      payload:
        merchantAccount: $inputs.merchantAccount
        amount: $inputs.updatedAmount
        industryUsage: $inputs.industryUsage
        reference: $inputs.reference
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      updatePspReference: $response.body#/pspReference
      status: $response.body#/status
  outputs:
    paymentPspReference: $steps.makePayment.outputs.pspReference
    updatePspReference: $steps.updateAmount.outputs.updatePspReference
    status: $steps.updateAmount.outputs.status

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-checkout-payment-and-amount-update-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.