Skip to content

Update a payment

Request

Update the details of a payment identified by the paymentId that is in the PENDING_CONFIRMATION state.

Required user role: CREATOR

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

The unique identifier of the payment run.

Bodyapplication/jsonrequired
paymentsArray of objects, non-emptyrequired
curl -i -X PUT \
  'https://sandbox.weavr.io/payment-run/v1/payment_runs/{payment_run_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'api-key: YOUR_API_KEY_HERE' \
  -d '{
    "payments": [
      {
        "paymentId": "string",
        "supplier": {
          "name": "string",
          "address": "string",
          "bankName": "string",
          "bankAddress": "string",
          "bankCountry": "st",
          "type": "PERSONAL",
          "bankAccountDetails": {
            "accountNumber": "stringst",
            "sortCode": "string",
            "secondaryReference": "string"
          }
        }
      }
    ]
  }'

Responses

No Content

Response
No content