Weavr Payment runs API

A Payment run contains a list of supplier payments. A Payment run can be - created by a user with a `CREATOR` role - confirmed by a user with a `CONTROLLER` role - funded by a user with a `CONTROLLER` role Note that the Controller user must have their mobile device enrolled to SCA. Before a payment run can be executed, it must be funded. Users with the `CONTROLLER` role must link their company's bank account(s) that are represented as Linked Accounts, which than can be used as the funding source for a payment run. Depending on the bank's constraints it may not be possible to deposit the total amount of funds required for a payment run, in which case the payment run will be automatically split into funding groups. All funding groups must be funded and executed for the payment run to be marked as completed. Note that even if the payment is created successfully, you still need to check its status in order to determine if it is `completed` or`failed`.

GitHub OpenAPI
Business capability
Payment Initiation Management BC-1340.10

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/payment_runs Create a payment run to pay suppliers · Create a payment run #
Ask an LLM
“How do I batch several supplier payments together?”
“Is there a limit on payments in one payment run?”
Tell an agent
Create a payment run with these supplier payments: {payments}.
Create payment run {paymentRunRef} for payments {payments}.
GET /v1/payment_runs List payment runs · Get payment runs #
Ask an LLM
“Which payment runs does my buyer have?”
“Can I filter payment runs by status or amount range?”
Tell an agent
List my payment runs.
Show payment runs with status {status}.
GET /v1/payment_runs/{payment_run_id} Look up one payment run · Get a payment run #
Ask an LLM
“What state is a particular payment run in?”
“Who can view a single payment run?”
Tell an agent
Show payment run {payment_run_id}.
Check the status of payment run {payment_run_id}.
PUT /v1/payment_runs/{payment_run_id} Update payments in a pending run · Update a payment #
Ask an LLM
“Can I edit payments before a run is confirmed?”
“Which state must a payment be in to be updated?”
Tell an agent
Update the payments in run {payment_run_id} to {payments}.
Replace the pending payments of run {payment_run_id} with {payments}.
POST /v1/payment_runs/{payment_run_id}/confirm Confirm a payment run for execution · Confirm a payment run #
Ask an LLM
“Who can approve a payment run so it executes?”
“What does confirming a payment run do?”
Tell an agent
Confirm payment run {payment_run_id}.
Approve payment run {payment_run_id} so it can execute.
GET /v1/payment_runs/{payment_run_id}/fund Get funding instructions for a payment run · Get a payment run funding instructions #
Ask an LLM
“How do I fund a payment run from a linked bank account?”
“Where do I get the instructions to pay for a run?”
Tell an agent
Get funding instructions for run {payment_run_id} from linked account {linkedAccountIds}.
Tell me how to pay for run {payment_run_id}, funding it for account {linkedAccountIds}.
POST /v1/payment_runs/{payment_run_id}/cancel Cancel a whole payment run · Cancel a payment run #
Ask an LLM
“In which states can a payment run still be cancelled?”
“Can I call off an entire payment run?”
Tell an agent destructive · confirm first
Cancel payment run {payment_run_id}.
Call off the entire payment run {payment_run_id}.
PUT /v1/payment_runs/{payment_run_id}/cancel/payments Cancel individual payments in a run · Cancel a payment #
Ask an LLM
“Can I drop one supplier payment without cancelling the run?”
“When can a single payment in a run be cancelled?”
Tell an agent destructive · confirm first
Cancel payments {paymentIds} in run {payment_run_id}.
Remove payment {paymentIds} from run {payment_run_id} without cancelling the run.
POST /v1/payment_runs/{payment_run_id}/restart Restart a payment run after failed SCA · Restart a payment run #
Ask an LLM
“What do I do when a payment run's strong authentication fails?”
“Can a run in SCA_FAILED be retried?”
Tell an agent
Restart payment run {payment_run_id} after its SCA failed.
Retry payment run {payment_run_id} that is stuck in SCA_FAILED.
POST /v1/payment_runs/{payment_run_id}/group/{group_reference}/cancel Cancel a group within a payment run · Cancel a payment run group #
Ask an LLM
“Can I cancel a group of payments that is awaiting funds?”
“When is a payment run group cancellable?”
Tell an agent destructive · confirm first
Cancel group {group_reference} in payment run {payment_run_id}.
Drop payment group {group_reference} awaiting funds from run {payment_run_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/weavr:weavr-payment-runs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

weavr-payment-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Weavr Embedded Payment Run Payment runs API
  license:
    name: private
    url: https://weavr.io
  x-logo:
    url: https://weavr-cdn.s3.eu-central-1.amazonaws.com/weavr-payment-run-logo.png
    backgroundColor: '#FFFFFF'
    altText: Weavr
  description: Weavr Payment Run Plug-in API provides a simple and flexible way for Embedders to add payment execution capabilities in their application.
servers:
- url: https://sandbox.weavr.io/payment-run
  description: Sandbox
security:
- apiKey: []
  authToken: []
tags:


# --- truncated at 32 KB (179 KB total) ---
# Full source: https://artifacts.apis.io/weavr/openapi/weavr-payment-runs-api-openapi.yml