JSFiddle - React, Tailwind, and code Playground

by luka kupunia

JavaScript

{
  "uuid": "ce825549-a3c1-4013-8181-fd1392275c68",
  "methodName": "MASTERCARD",
  "brandId": "spinbounty",
  "providers": [],
  "aggregatorId": "rotator",
  "isActive": true,
  "isDeposit": true,
  "isWithdraw": true,
  "depositMinAmount": 15,
  "depositMaxAmount": 3000,
  "withdrawalMinAmount": 0,
  "withdrawalMaxAmount": 0,
  "requiredField": [{
    "uuid": "50b65800-7d08-47cd-9273-b1a2fd30f095",
    "fieldName": "expDate",
    "regExp": ".*",
    "availableValues": [],
    "nameAlias": "expDate",
    "methodType": "WITHDRAWAL",
    "fieldGroups": []
  }, {
    "uuid": "a3ec0900-eedb-42ea-a502-46796f2dc041",
    "fieldName": "pan",
    "regExp": "^.{16,21}$",
    "availableValues": [],
    "nameAlias": "account",
    "methodType": "WITHDRAWAL",
    "fieldGroups": []
  }, {
    "uuid": "01b158e8-d297-44d3-b213-3154e2eab3da",
    "fieldName": "cardHolderName",
    "regExp": "^\\S+[a-zA-ZÀ-ž\\sẞß]+$",
    "availableValues": [],
    "nameAlias": "cardHolderName",
    "methodType": "WITHDRAWAL",
    "fieldGroups": []
  }, {
    "uuid": "48a077b9-4a79-4333-ada6-6f2f807a72be",
    "fieldName": "cardHolderSurname",
    "regExp": "^\\S+[a-zA-ZÀ-ž\\sẞß]+$",
    "availableValues": [],
    "nameAlias": "cardHolderSurname",
    "methodType": "WITHDRAWAL",
    "fieldGroups": []
  }],
  "constraints": [],
  "currencyLimit": [{
    "currency": "AUD",
    "depositMinAmount": 15,
    "depositMaxAmount": 3000,
    "withdrawalMinAmount": 0,
    "withdrawalMaxAmount": 0,
    "depositZoneOfApplication": "OUTER",
    "depositCountryList": [],
    "withdrawalZoneOfApplication": "OUTER",
    "withdrawalCountryList": [],
    "isDeposit": true,
    "isWithdrawal": false,
    "depositPredefinedValues": [25, 50, 100, 20],
    "withdrawalPredefinedValues": []
  }],
  "orderPriority": null,
  "createdAt": "2021-03-25T13:57:46.796",
  "name": "Mastercard",
  "bOName": "MASTERCARD",
  "fields": {
    "referencename": "methodfields",
    "sortids": "1154,1153",
    "references": [{
     ...