Skip to main content
POST
/
payments
/
bulk-validations
Bulk validate payment details
curl --request POST \
  --url https://api.paysway.dev/payments/bulk-validations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "country": "<string>",
      "currency": "<string>",
      "creditorAgent": {
        "bic": "<string>",
        "clearingSystemMemberId": {
          "memberId": "<string>"
        },
        "branchId": "<string>"
      },
      "creditor": {
        "name": "<string>",
        "contactDetails": {
          "email": "<string>",
          "phone": "<string>"
        },
        "dateOfBirth": "2023-12-25",
        "taxId": "<string>",
        "documents": [
          {
            "value": "<string>",
            "type": "<string>"
          }
        ],
        "type": "INDIVIDUAL"
      },
      "intermediaryAgent1": {
        "bic": "<string>",
        "clearingSystemMemberId": {
          "memberId": "<string>"
        },
        "branchId": "<string>"
      },
      "intermediaryAgent2": {
        "bic": "<string>",
        "clearingSystemMemberId": {
          "memberId": "<string>"
        },
        "branchId": "<string>"
      },
      "intermediaryAgent3": {
        "bic": "<string>",
        "clearingSystemMemberId": {
          "memberId": "<string>"
        },
        "branchId": "<string>"
      },
      "settlementInformation": {
        "settlementSystem": "SCT"
      }
    }
  ]
}
'
{
  "items": [
    {
      "status": "OK",
      "alerts": []
    },
    {
      "status": "ALERT",
      "alerts": [
        {
          "code": "CREDITOR_IBAN_INVALID_FORMAT"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
items
object[]
required
Maximum array length: 20

Response

200 - application/json

Bulk validations result returned successfully

items
object[]
required