Skip to content

Weavr Embedded Payment Run API (v1)

Weavr Payment Run Plug-in API provides a simple and flexible way for Embedders to add payment execution capabilities in their application.

By integrating Weavr Payment Run plug-in API in your application, you can embed banking and payment capabilities within your app to boost productivity for your users in a seamless experience.

Authentication

Each request to the API must include an api_key that represents your account. You can obtain an API Key by registering for a Embedder account here.

Almost all endpoints require a secondary authentication token auth_token that represents the user for whom the request is being executed.

Postman Collection

To help you get started with your integration, you can download the Postman collection here. The collection includes the steps you’ll need to follow to integrate Embedded Payment Run within your app.

The collection makes use of environment variables to pre-fill details associated with your Sandbox account, such as your account’s API Key. You can download your Sandbox Account environment file from the Sandbox Portal.

Download OpenAPI description
Overview
License
Languages
Servers
Mock server
https://api.weavr.io/_mock/products/payment-run/openapi
Sandbox
https://sandbox.weavr.io/payment-run

Tokens

Operations

Passwords

Operations

Additional Factors

Operations

Step up

Operations

Buyers

Buyers are identities representing a business

Once on-boarded, Buyers can create payment runs and pay their suppliers in your application.

Operations

Buyer Authorised Users

Buyers can invite authorised users to access their account. Once on-boarded, authorised users can transact on behalf of the identity they are on-boarded with.

Authorised users are typically employees who have access to company's banking accounts.

Note that /users endpoints are to be used only for performing operations related to authorised users - getting or updating the details of admin users is to be done via /buyers endpoints.

Operations

Payment runs

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 orfailed.

Operations

Create a payment run

Request

Create a new payment run containing a list of outstanding supplier payments.

Note that all the supplier payments in a payment run is limited to one currency. The currency of the payment run are enabled upon the Buyer’s registration.

Required user role: CREATOR

Security
apiKey and authToken
Headers
idempotency-refstring

A unique call reference generated by the caller that, taking into consideration the payload as well as the operation itself, helps avoid duplicate operations. Idempotency reference uniqueness is maintained for at least 24 hours.

Bodyapplication/json
paymentRunRefstring

A unique identifier by which you identify the payment run with on your system.

Example: "94fddfb2-297d-423d-9157-4200b7beb834"
tagstring<= 50 characters^[a-zA-Z0-9_-]+$

The tag field is a custom field that can be used to search and filter.

descriptionstring

The long form description of the payment run

Example: "September payment run 01"
paymentsArray of objects(Payment)[ 1 .. 1000 ] itemsrequired

The list of payments associated with the payment run

payments[].​externalRefstring

The unique identifier by which you identify the associated payable on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
payments[].​paymentRefstring

The unique identifier by which you identify this payment on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
payments[].​paymentAmountobjectrequired

The currency and amount to be paid to the supplier.

payments[].​paymentAmount.​currencystring= 3 charactersrequired

The currency expressed in ISO-4217 code.

Enum"GBP""EUR"
payments[].​paymentAmount.​amountinteger(int64)>= 1required

The monetary amount, scaled to the lowest denomination of the currency.

Example, an amount of 1000 for a GBP currency is actually 1000 pennies or GBP 10.00.

Example: 454321
payments[].​referencestring[ 1 .. 18 ] characters^[0-9a-zA-Z.-]{1,18}$required

The long form description of the payment. This information is also shared with the supplier. The allowed length is dependent on the payment type: SEPA and SWIFT <= 35 characters Faster Payments <= 18 characters

payments[].​supplierobjectrequired

Represent the supplier bank account typically used in Outgoing Wire Transfer transactions.

payments[].​supplier.​namestring[ 1 .. 140 ] characters^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$required

The supplier name. The allowed length and pattern is dependent on the bankAccountDetails type:

  • with SepaBankDetails: >= 1 character and <= 150 characters
  • with FasterPaymentsBankDetails: >= 1 character and <= 140 characters with a pattern of ^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$ (please note that the ’ symbol is the unicode value U+2019 (right single quotation mark) and not the unicode value U+0027 (apostrophe))
payments[].​supplier.​addressstring[ 1 .. 150 ] characters

The supplier's address.

payments[].​supplier.​bankNamestring

The supplier's bank name.

payments[].​supplier.​bankAddressstring[ 1 .. 150 ] characters

The supplier's bank address.

payments[].​supplier.​bankCountrystring= 2 characters^[A-Z]{2}$

The supplier's bank country in ISO 3166 alpha-2 format.

payments[].​supplier.​typestring

The type of supplier account. Required only when FasterPaymentsBankDetails are specified.

Enum"PERSONAL""BUSINESS"
payments[].​supplier.​bankAccountDetailsFasterPaymentsBankDetails (object) or SepaBankDetails (object)required

Details of the supplier bank account, depending on the type of transfer chosen.

One of:

Bank details used in case the wire transfer is executed over Faster Payments.

payments[].​supplier.​bankAccountDetails.​accountNumberstring= 8 characters^[0-9]{8}$required

Account number, required for wire transfer over Faster Payments.

payments[].​supplier.​bankAccountDetails.​sortCodestring= 6 characters^[0-9]{6}$required

Sort code, required for wire transfer over Faster Payments.

payments[].​supplier.​bankAccountDetails.​secondaryReferencestring

Secondary reference data if applicable.

curl -i -X POST \
  https://api.weavr.io/_mock/products/payment-run/openapi/v1/payment_runs \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-key: YOUR_API_KEY_HERE' \
  -H 'idempotency-ref: string' \
  -d '{
    "paymentRunRef": "94fddfb2-297d-423d-9157-4200b7beb834",
    "tag": "string",
    "description": "September payment run 01",
    "payments": [
      {
        "externalRef": "c99cd66c-82fc-4a01-977b-61a2f5a247a1",
        "paymentRef": "c99cd66c-82fc-4a01-977b-61a2f5a247a1",
        "paymentAmount": {
          "currency": "GBP",
          "amount": 1
        },
        "reference": "string",
        "supplier": {
          "name": "string",
          "address": "string",
          "bankName": "string",
          "bankAddress": "string",
          "bankCountry": "st",
          "type": "PERSONAL",
          "bankAccountDetails": {
            "accountNumber": "stringst",
            "sortCode": "string",
            "secondaryReference": "string"
          }
        }
      }
    ]
  }'

Responses

OK

Bodyapplication/json
idstring^[0-9a-fA-F]{24}$read-onlyrequired
paymentRunRefstring

A unique identifier by which you identify the payment run with on your system.

Example: "94fddfb2-297d-423d-9157-4200b7beb834"
tagstring<= 50 characters^[a-zA-Z0-9_-]+$

The tag field is a custom field that can be used to search and filter.

descriptionstring

The long form description of the payment run

Example: "September payment run 01"
createdBystring^[0-9]+$read-onlyrequired
Example: "110747174434373672"
statusstringread-onlyrequired

The current status of the payment run.

  • QUEUED: The payment run creation is an asynchronous process. This status indicates that the payment run is currently being validated
Value"QUEUED"
Example: "PENDING_CONFIRMATION"
statusReasonstring
paymentsArray of objects(Payment)required
payments[].​idstringread-onlyrequired

The unique identifier of the payment line

payments[].​statusstringread-onlyrequired

The status of the payment

  • QUEUED: The payment run creation is an asynchronous process. This status indicates that the payment run is currently being validated
  • PENDING_CHALLENGE: Waiting for the payment run to complete the SCA challenge
  • PENDING_FUNDING: Pending until the necessary funds are initiated. Initiate the funding process via the /payment_runs/{id}/fund endpoint
  • AWAITING_FUNDS: Waiting for the required funds to be available to execute payment
  • EXECUTING: Payment is being executed and awaiting final status confirmation
  • COMPLETED: Payment executed successfully
  • FAILED: Payment executed, but failed
  • CANCELLED: Payment cancelled, because payment run was cancelled
  • PENDING_CONFIRMATION: Payment run is pending confirmation by a CONTROLLER user
  • RETURNED: Payment sent, but was returned back
  • SCA_FAILED: Payment run failed due to SCA either expiring or max attempts reached. You can restart the payment run by calling the /payment_runs/{id}/restart endpoint
Enum"QUEUED""CANCELLED""COMPLETED""FAILED""PENDING_CHALLENGE""PENDING_CONFIRMATION""PENDING_FUNDING""RETURNED""AWAITING_FUNDS""EXECUTING"
payments[].​externalRefstring

The unique identifier by which you identify the associated payable on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
payments[].​paymentRefstring

The unique identifier by which you identify this payment on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
payments[].​paymentAmountobjectrequired

The currency and amount to be paid to the supplier.

payments[].​paymentAmount.​currencystring= 3 charactersrequired

The currency expressed in ISO-4217 code.

Enum"GBP""EUR"
payments[].​paymentAmount.​amountinteger(int64)>= 1required

The monetary amount, scaled to the lowest denomination of the currency.

Example, an amount of 1000 for a GBP currency is actually 1000 pennies or GBP 10.00.

Example: 454321
payments[].​referencestring[ 1 .. 18 ] characters^[0-9a-zA-Z.-]{1,18}$required

The long form description of the payment. This information is also shared with the supplier. The allowed length is dependent on the payment type: SEPA and SWIFT <= 35 characters Faster Payments <= 18 characters

payments[].​supplierobjectrequired

Represent the supplier bank account typically used in Outgoing Wire Transfer transactions.

payments[].​supplier.​namestring[ 1 .. 140 ] characters^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$required

The supplier name. The allowed length and pattern is dependent on the bankAccountDetails type:

  • with SepaBankDetails: >= 1 character and <= 150 characters
  • with FasterPaymentsBankDetails: >= 1 character and <= 140 characters with a pattern of ^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$ (please note that the ’ symbol is the unicode value U+2019 (right single quotation mark) and not the unicode value U+0027 (apostrophe))
payments[].​supplier.​addressstring[ 1 .. 150 ] characters

The supplier's address.

payments[].​supplier.​bankNamestring

The supplier's bank name.

payments[].​supplier.​bankAddressstring[ 1 .. 150 ] characters

The supplier's bank address.

payments[].​supplier.​bankCountrystring= 2 characters^[A-Z]{2}$

The supplier's bank country in ISO 3166 alpha-2 format.

payments[].​supplier.​typestring

The type of supplier account. Required only when FasterPaymentsBankDetails are specified.

Enum"PERSONAL""BUSINESS"
payments[].​supplier.​bankAccountDetailsFasterPaymentsBankDetails (object) or SepaBankDetails (object)required

Details of the supplier bank account, depending on the type of transfer chosen.

One of:

Bank details used in case the wire transfer is executed over Faster Payments.

payments[].​supplier.​bankAccountDetails.​accountNumberstring= 8 characters^[0-9]{8}$required

Account number, required for wire transfer over Faster Payments.

payments[].​supplier.​bankAccountDetails.​sortCodestring= 6 characters^[0-9]{6}$required

Sort code, required for wire transfer over Faster Payments.

payments[].​supplier.​bankAccountDetails.​secondaryReferencestring

Secondary reference data if applicable.

payments[].​validationOutcomesArray of objects
createdAtstring(date-time)read-onlyrequired
Response
application/json
{ "id": "string", "paymentRunRef": "94fddfb2-297d-423d-9157-4200b7beb834", "tag": "string", "description": "September payment run 01", "createdBy": "110747174434373672", "status": "PENDING_CONFIRMATION", "statusReason": "string", "payments": [ { … } ], "createdAt": "2019-08-24T14:15:22Z" }

Get payment runs

Request

Retrieve the list of payment runs belonging to the buyer that the logged-in user belongs to.

Required user roles: CONTROLLER OR CREATOR

Security
apiKey and authToken
Query
limitinteger(int32)[ 1 .. 100 ]

The limit of the results for paging, starting at the offset. Limit is always capped at 100.

Default 100
offsetinteger(int32)>= 0

The offset value for paging, indicating the initial item number to be returned from the data set satisfying the given criteria. Leave out to fetch the first page of results.

Default 0
tagArray of stringsunique

Filter by tag. The exact tag must be provided, as wildcards are not supported. Leave out to fetch all entries.

statusstring

The status of the payment run.

Enum"QUEUED""CANCELLED""COMPLETED""COMPLETED_WITH_ERRORS""EXECUTING""INVALID""PENDING_CHALLENGE""PENDING_CONFIRMATION""PENDING_FUNDING""SCA_FAILED"
Example: status=PENDING_CONFIRMATION
referencestring

The unique paymentRunRef of the payment run.

min_amountinteger(int64)>= 0

The minimum total amount of the payment run.

max_amountinteger(int64)>= 0

The maximum total amount of the payment run.

curl -i -X GET \
  'https://api.weavr.io/_mock/products/payment-run/openapi/v1/payment_runs?limit=100&offset=0&tag=string&status=PENDING_CONFIRMATION&reference=string&min_amount=0&max_amount=0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
countintegerrequired

The total number of records (excluding the paging limit)

Example: 10
responseCountintegerrequired

The total number of records returned in this response (always capped at 100).

Example: 100
paymentRunsArray of objects(PaymentRun)required
paymentRuns[].​idstring^[0-9a-fA-F]{24}$read-onlyrequired
paymentRuns[].​paymentRunRefstring

A unique identifier by which you identify the payment run with on your system.

Example: "94fddfb2-297d-423d-9157-4200b7beb834"
paymentRuns[].​tagstring<= 50 characters^[a-zA-Z0-9_-]+$

The tag field is a custom field that can be used to search and filter.

paymentRuns[].​descriptionstring

The long form description of the payment run

Example: "September payment run 01"
paymentRuns[].​createdBystring^[0-9]+$read-onlyrequired
Example: "110747174434373672"
paymentRuns[].​statusstringread-onlyrequired

The current status of the payment run.

  • QUEUED: The payment run creation is an asynchronous process. This status indicates that the payment run is currently being validated
  • CANCELLED: Payment run was manually cancelled
  • COMPLETED: All payments have been executed successfully
  • COMPLETED_WITH_ERRORS: All payments have been executed and some failed
  • EXECUTING: Funds received, executing payments
  • INVALID: Payment run is invalid
  • PENDING_CHALLENGE: Waiting for the payment run to complete the SCA challenge
  • PENDING_CONFIRMATION: Payment run is pending confirmation by a CONTROLLER user
  • PENDING_FUNDING: Pending until the necessary funds are initiated. Initiate the funding process via the /payment_runs/{id}/fund endpoint
  • SCA_FAILED: Payment run failed due to SCA either expiring or max attempts reached. You can restart the payment run by calling the /payment_runs/{id}/restart endpoint
Enum"QUEUED""CANCELLED""COMPLETED""COMPLETED_WITH_ERRORS""EXECUTING""INVALID""PENDING_CHALLENGE""PENDING_CONFIRMATION""PENDING_FUNDING""SCA_FAILED"
Example: "PENDING_CONFIRMATION"
paymentRuns[].​statusReasonstring
paymentRuns[].​paymentsArray of objects(Payment)required
paymentRuns[].​payments[].​idstringread-onlyrequired

The unique identifier of the payment line

paymentRuns[].​payments[].​statusstringread-onlyrequired

The status of the payment

  • QUEUED: The payment run creation is an asynchronous process. This status indicates that the payment run is currently being validated
  • PENDING_CHALLENGE: Waiting for the payment run to complete the SCA challenge
  • PENDING_FUNDING: Pending until the necessary funds are initiated. Initiate the funding process via the /payment_runs/{id}/fund endpoint
  • AWAITING_FUNDS: Waiting for the required funds to be available to execute payment
  • EXECUTING: Payment is being executed and awaiting final status confirmation
  • COMPLETED: Payment executed successfully
  • FAILED: Payment executed, but failed
  • CANCELLED: Payment cancelled, because payment run was cancelled
  • PENDING_CONFIRMATION: Payment run is pending confirmation by a CONTROLLER user
  • RETURNED: Payment sent, but was returned back
  • SCA_FAILED: Payment run failed due to SCA either expiring or max attempts reached. You can restart the payment run by calling the /payment_runs/{id}/restart endpoint
Enum"QUEUED""CANCELLED""COMPLETED""FAILED""PENDING_CHALLENGE""PENDING_CONFIRMATION""PENDING_FUNDING""RETURNED""AWAITING_FUNDS""EXECUTING"
paymentRuns[].​payments[].​externalRefstring

The unique identifier by which you identify the associated payable on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
paymentRuns[].​payments[].​paymentRefstring

The unique identifier by which you identify this payment on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
paymentRuns[].​payments[].​paymentAmountobjectrequired

The currency and amount to be paid to the supplier.

paymentRuns[].​payments[].​paymentAmount.​currencystring= 3 charactersrequired

The currency expressed in ISO-4217 code.

Enum"GBP""EUR"
paymentRuns[].​payments[].​paymentAmount.​amountinteger(int64)>= 1required

The monetary amount, scaled to the lowest denomination of the currency.

Example, an amount of 1000 for a GBP currency is actually 1000 pennies or GBP 10.00.

Example: 454321
paymentRuns[].​payments[].​referencestring[ 1 .. 18 ] characters^[0-9a-zA-Z.-]{1,18}$required

The long form description of the payment. This information is also shared with the supplier. The allowed length is dependent on the payment type: SEPA and SWIFT <= 35 characters Faster Payments <= 18 characters

paymentRuns[].​payments[].​supplierobjectrequired

Represent the supplier bank account typically used in Outgoing Wire Transfer transactions.

paymentRuns[].​payments[].​supplier.​namestring[ 1 .. 140 ] characters^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$required

The supplier name. The allowed length and pattern is dependent on the bankAccountDetails type:

  • with SepaBankDetails: >= 1 character and <= 150 characters
  • with FasterPaymentsBankDetails: >= 1 character and <= 140 characters with a pattern of ^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$ (please note that the ’ symbol is the unicode value U+2019 (right single quotation mark) and not the unicode value U+0027 (apostrophe))
paymentRuns[].​payments[].​supplier.​addressstring[ 1 .. 150 ] characters

The supplier's address.

paymentRuns[].​payments[].​supplier.​bankNamestring

The supplier's bank name.

paymentRuns[].​payments[].​supplier.​bankAddressstring[ 1 .. 150 ] characters

The supplier's bank address.

paymentRuns[].​payments[].​supplier.​bankCountrystring= 2 characters^[A-Z]{2}$

The supplier's bank country in ISO 3166 alpha-2 format.

paymentRuns[].​payments[].​supplier.​typestring

The type of supplier account. Required only when FasterPaymentsBankDetails are specified.

Enum"PERSONAL""BUSINESS"
paymentRuns[].​payments[].​supplier.​bankAccountDetailsFasterPaymentsBankDetails (object) or SepaBankDetails (object)required

Details of the supplier bank account, depending on the type of transfer chosen.

One of:

Bank details used in case the wire transfer is executed over Faster Payments.

paymentRuns[].​payments[].​supplier.​bankAccountDetails.​accountNumberstring= 8 characters^[0-9]{8}$required

Account number, required for wire transfer over Faster Payments.

paymentRuns[].​payments[].​supplier.​bankAccountDetails.​sortCodestring= 6 characters^[0-9]{6}$required

Sort code, required for wire transfer over Faster Payments.

paymentRuns[].​payments[].​supplier.​bankAccountDetails.​secondaryReferencestring

Secondary reference data if applicable.

paymentRuns[].​payments[].​validationOutcomesArray of objects
paymentRuns[].​createdAtstring(date-time)read-onlyrequired
Response
application/json
{ "count": 10, "responseCount": 100, "paymentRuns": [ { … } ] }

Get a payment run

Request

Retrieve a payment run belonging to the buyer that the logged-in user belongs to.

Required user roles: CONTROLLER OR CREATOR

Security
apiKey and authToken
Path
payment_run_idstring^[0-9a-fA-F]{24}$read-onlyrequired

The unique identifier of the payment run.

curl -i -X GET \
  'https://api.weavr.io/_mock/products/payment-run/openapi/v1/payment_runs/{payment_run_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
idstring^[0-9a-fA-F]{24}$read-onlyrequired
paymentRunRefstring

A unique identifier by which you identify the payment run with on your system.

Example: "94fddfb2-297d-423d-9157-4200b7beb834"
tagstring<= 50 characters^[a-zA-Z0-9_-]+$

The tag field is a custom field that can be used to search and filter.

descriptionstring

The long form description of the payment run

Example: "September payment run 01"
createdBystring^[0-9]+$read-onlyrequired
Example: "110747174434373672"
statusstringread-onlyrequired

The current status of the payment run.

  • QUEUED: The payment run creation is an asynchronous process. This status indicates that the payment run is currently being validated
  • CANCELLED: Payment run was manually cancelled
  • COMPLETED: All payments have been executed successfully
  • COMPLETED_WITH_ERRORS: All payments have been executed and some failed
  • EXECUTING: Funds received, executing payments
  • INVALID: Payment run is invalid
  • PENDING_CHALLENGE: Waiting for the payment run to complete the SCA challenge
  • PENDING_CONFIRMATION: Payment run is pending confirmation by a CONTROLLER user
  • PENDING_FUNDING: Pending until the necessary funds are initiated. Initiate the funding process via the /payment_runs/{id}/fund endpoint
  • SCA_FAILED: Payment run failed due to SCA either expiring or max attempts reached. You can restart the payment run by calling the /payment_runs/{id}/restart endpoint
Enum"QUEUED""CANCELLED""COMPLETED""COMPLETED_WITH_ERRORS""EXECUTING""INVALID""PENDING_CHALLENGE""PENDING_CONFIRMATION""PENDING_FUNDING""SCA_FAILED"
Example: "PENDING_CONFIRMATION"
statusReasonstring
paymentsArray of objects(Payment)required
payments[].​idstringread-onlyrequired

The unique identifier of the payment line

payments[].​statusstringread-onlyrequired

The status of the payment

  • QUEUED: The payment run creation is an asynchronous process. This status indicates that the payment run is currently being validated
  • PENDING_CHALLENGE: Waiting for the payment run to complete the SCA challenge
  • PENDING_FUNDING: Pending until the necessary funds are initiated. Initiate the funding process via the /payment_runs/{id}/fund endpoint
  • AWAITING_FUNDS: Waiting for the required funds to be available to execute payment
  • EXECUTING: Payment is being executed and awaiting final status confirmation
  • COMPLETED: Payment executed successfully
  • FAILED: Payment executed, but failed
  • CANCELLED: Payment cancelled, because payment run was cancelled
  • PENDING_CONFIRMATION: Payment run is pending confirmation by a CONTROLLER user
  • RETURNED: Payment sent, but was returned back
  • SCA_FAILED: Payment run failed due to SCA either expiring or max attempts reached. You can restart the payment run by calling the /payment_runs/{id}/restart endpoint
Enum"QUEUED""CANCELLED""COMPLETED""FAILED""PENDING_CHALLENGE""PENDING_CONFIRMATION""PENDING_FUNDING""RETURNED""AWAITING_FUNDS""EXECUTING"
payments[].​externalRefstring

The unique identifier by which you identify the associated payable on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
payments[].​paymentRefstring

The unique identifier by which you identify this payment on your system.

Example: "c99cd66c-82fc-4a01-977b-61a2f5a247a1"
payments[].​paymentAmountobjectrequired

The currency and amount to be paid to the supplier.

payments[].​paymentAmount.​currencystring= 3 charactersrequired

The currency expressed in ISO-4217 code.

Enum"GBP""EUR"
payments[].​paymentAmount.​amountinteger(int64)>= 1required

The monetary amount, scaled to the lowest denomination of the currency.

Example, an amount of 1000 for a GBP currency is actually 1000 pennies or GBP 10.00.

Example: 454321
payments[].​referencestring[ 1 .. 18 ] characters^[0-9a-zA-Z.-]{1,18}$required

The long form description of the payment. This information is also shared with the supplier. The allowed length is dependent on the payment type: SEPA and SWIFT <= 35 characters Faster Payments <= 18 characters

payments[].​supplierobjectrequired

Represent the supplier bank account typically used in Outgoing Wire Transfer transactions.

payments[].​supplier.​namestring[ 1 .. 140 ] characters^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$required

The supplier name. The allowed length and pattern is dependent on the bankAccountDetails type:

  • with SepaBankDetails: >= 1 character and <= 150 characters
  • with FasterPaymentsBankDetails: >= 1 character and <= 140 characters with a pattern of ^[a-zA-Z0-9\/\-?:().,’+\s#=!"%&*<>;{@\r\n]*$ (please note that the ’ symbol is the unicode value U+2019 (right single quotation mark) and not the unicode value U+0027 (apostrophe))
payments[].​supplier.​addressstring[ 1 .. 150 ] characters

The supplier's address.

payments[].​supplier.​bankNamestring

The supplier's bank name.

payments[].​supplier.​bankAddressstring[ 1 .. 150 ] characters

The supplier's bank address.

payments[].​supplier.​bankCountrystring= 2 characters^[A-Z]{2}$

The supplier's bank country in ISO 3166 alpha-2 format.

payments[].​supplier.​typestring

The type of supplier account. Required only when FasterPaymentsBankDetails are specified.

Enum"PERSONAL""BUSINESS"
payments[].​supplier.​bankAccountDetailsFasterPaymentsBankDetails (object) or SepaBankDetails (object)required

Details of the supplier bank account, depending on the type of transfer chosen.

One of:

Bank details used in case the wire transfer is executed over Faster Payments.

payments[].​supplier.​bankAccountDetails.​accountNumberstring= 8 characters^[0-9]{8}$required

Account number, required for wire transfer over Faster Payments.

payments[].​supplier.​bankAccountDetails.​sortCodestring= 6 characters^[0-9]{6}$required

Sort code, required for wire transfer over Faster Payments.

payments[].​supplier.​bankAccountDetails.​secondaryReferencestring

Secondary reference data if applicable.

payments[].​validationOutcomesArray of objects
createdAtstring(date-time)read-onlyrequired
Response
application/json
{ "id": "string", "paymentRunRef": "94fddfb2-297d-423d-9157-4200b7beb834", "tag": "string", "description": "September payment run 01", "createdBy": "110747174434373672", "status": "PENDING_CONFIRMATION", "statusReason": "string", "payments": [ { … } ], "createdAt": "2019-08-24T14:15:22Z" }

Linked Accounts

Linked accounts represent bank accounts that the buyer has with other banks. Once set up, they are used to fund payment runs.

Operations

Institutions

Institutions supported by Embedded Payment Run.

Operations

Simulator

Simulators enable you to trigger processes in Sandbox that in Production are triggered from an external action rather than from your application. this way you can test scenarios that otherwise you would only encounter in the Live environment.

Note: These endpoints are only available on Sandbox and won’t work in the Live environment.

Operations

Buyers

Buyers are identities representing companies. Once on-boarded, Buyers can create and manage their own instruments via your application.

Webhooks

Payment runs

Notification that the Payment Run and payment statuses have been updated.

Webhooks

Linked Accounts

Notification that the status of a Linked Account has been updated.

Webhooks

Login

Tokens webhooks

Webhooks

Stepup

Notification that a step-up has been completed or declined.

Webhooks

Authentication Factors

Notification of the Authentication Factors that are used for the Identity.

Webhooks

Transactions

Notification that the status of a transaction has been updated.

Webhooks