POST
/
payments
/
validations
curl --request POST \
  --url https://api.paysway.dev/payments/validations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "country": "<string>",
  "currency": "<string>",
  "creditorAgent": {
    "bic": "<string>",
    "clearingSystemMemberId": {
      "memberId": "<string>"
    },
    "branchId": "<string>"
  },
  "creditorAccount": {
    "id": {
      "value": "<string>",
      "type": "IBAN"
    },
    "type": "CHECKING"
  },
  "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"
  }
}'
{
  "status": "OK",
  "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

Response

200 - application/json

Validations result returned successfully

The response is of type object.