Fintecture · Arazzo Workflow

Fintecture Mint Token then Initiate Payment

Version 1.0.0

Mint a client-credentials access token, open a payment session, and read its status.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Open BankingPaymentsPSD2FranceAccount InformationPayment InitiationInstant PaymentsSEPASmart TransferRequest to PayBuy Now Pay LaterE-MandatesAccount-to-AccountKYCArazzoWorkflows

Provider

fintecture

Workflows

token-then-payment
Obtain an access token via client_credentials, then create and inspect a payment.
Mints a PIS-scoped access token, creates an Immediate Transfer payment session with it, and reads the payment back to obtain its status.
3 steps inputs: amount, clientId, clientSecret, communication, currency, requestId outputs: accessToken, connectUrl, sessionId, status
1
mintToken
Mint a PIS-scoped access token via the OAuth client_credentials grant.
2
createPayment
Create an Immediate Transfer payment session using the minted bearer token.
3
getPayment
Read the created payment back to surface its current lifecycle status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Fintecture Mint Token then Initiate Payment
  summary: Mint a client-credentials access token, open a payment session, and read its status.
  description: >-
    The full authenticate-then-pay flow. It mints a PIS access token via the
    OAuth client_credentials grant, uses that bearer token to create an Immediate
    Transfer payment session, and reads the resulting payment back to surface its
    connect URL and lifecycle status. Every step spells out its request inline so
    the flow can be read and executed without opening the underlying OpenAPI
    descriptions.
  version: 1.0.0
  x-realizes-capability-ids:
  - 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.10
      capability_name: Payment Initiation Management
      spec: fintecture-payments-api-openapi.yml
      confidence: 0.92
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: oauthApi
  url: ../openapi/fintecture-oauth-api-openapi.yml
  type: openapi
- name: paymentsApi
  url: ../openapi/fintecture-payments-api-openapi.yml
  type: openapi
workflows:
- workflowId: token-then-payment
  summary: Obtain an access token via client_credentials, then create and inspect a payment.
  description: >-
    Mints a PIS-scoped access token, creates an Immediate Transfer payment
    session with it, and reads the payment back to obtain its status.
  inputs:
    type: object
    required:
    - clientId
    - clientSecret
    - amount
    - currency
    - communication
    - requestId
    properties:
      clientId:
        type: string
        description: OAuth client identifier.
      clientSecret:
        type: string
        description: OAuth client secret.
      amount:
        type: string
        description: Payment amount as a string.
      currency:
        type: string
        description: ISO currency code (EUR, GBP, or PLN).
      communication:
        type: string
        description: Free-form remittance information for the payment.
      requestId:
        type: string
        description: Unique request identifier (UUID v4) for the payment create call.
  steps:
  - stepId: mintToken
    description: Mint a PIS-scoped access token via the OAuth client_credentials grant.
    operationId: createAccessToken
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        grant_type: client_credentials
        scope: PIS
        client_id: $inputs.clientId
        client_secret: $inputs.clientSecret
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accessToken: $response.body#/access_token
      expiresIn: $response.body#/expires_in
  - stepId: createPayment
    description: Create an Immediate Transfer payment session using the minted bearer token.
    operationId: createPisV2Connect
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $steps.mintToken.outputs.accessToken"
    - name: x-request-id
      in: header
      value: $inputs.requestId
    requestBody:
      contentType: application/json
      payload:
        meta: {}
        data:
          type: PIS
          attributes:
            amount: $inputs.amount
            currency: $inputs.currency
            communication: $inputs.communication
            payment_method: immediate_transfer
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      sessionId: $response.body#/meta/session_id
      connectUrl: $response.body#/meta/url
  - stepId: getPayment
    description: Read the created payment back to surface its current lifecycle status.
    operationId: getPaymentSession
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $steps.mintToken.outputs.accessToken"
    - name: payment_id
      in: path
      value: $steps.createPayment.outputs.sessionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  outputs:
    accessToken: $steps.mintToken.outputs.accessToken
    sessionId: $steps.createPayment.outputs.sessionId
    connectUrl: $steps.createPayment.outputs.connectUrl
    status: $steps.getPayment.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/fintecture-token-then-payment-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.