[javascript] kssks

Viewer

  1. "{\"type\":\"array\",\"items\":{\"required\":[\"customer\",\"subscriptionType\"],\"allOf\":[{\"type\":\"object\",\"required\":[\"consentId\",\"initiatingParty\",\"sharingAccounts\"],\"properties\":{\"softwareClientId\":{\"type\":\"string\",\"description\":\"Daf Client Id\"},\"consentId\":{\"type\":\"string\"},\"arrangementId\":{\"description\":\"Unique arrangement ID for the whole sharing\",\"type\":\"string\"},\"consent\":{\"description\":\"Data cluster that this subscription is sharing\",\"type\":\"object\"},\"status\":{\"description\":\"Status\",\"title\":\"Subscription status\",\"allOf\":[{\"title\":\"Consent Overall Status\",\"type\":\"string\",\"enum\":[\"APPROVED\",\"PENDING\",\"REJECTED\",\"PARTIALLY_APPROVED\",\"INELIGIBLE\",\"EXPIRED\",\"REVOKED\",\"VOIDED\",\"INVALID\",\"USER_CONFIRMED\"]}]},\"initiatingParty\":{\"description\":\"NIN of user who has activated this subsription\",\"title\":\"Initiating user\",\"allOf\":[{\"title\":\"User or Entity Identifiers\",\"type\":\"array\",\"minItems\":1,\"items\":{\"title\":\"User or Entity Identifier\",\"type\":\"object\",\"properties\":{\"identifierType\":{\"type\":\"string\"},\"identifierValue\":{\"type\":\"string\"}},\"required\":[\"identifierType\",\"identifierValue\"]}}]},\"revokedByParty\":{\"description\":\"NIN of user who has revoked this subsription\",\"title\":\"Revoked user\",\"allOf\":[{\"title\":\"User or Entity Identifiers\",\"type\":\"array\",\"minItems\":1,\"items\":{\"title\":\"User or Entity Identifier\",\"type\":\"object\",\"properties\":{\"identifierType\":{\"type\":\"string\"},\"identifierValue\":{\"type\":\"string\"}},\"required\":[\"identifierType\",\"identifierValue\"]}}]},\"createdTimestamp\":{\"type\":\"integer\",\"format\":\"int32\",\"title\":\"Epoch (Seconds since Jan 1 1970)\",\"example\":1669175847},\"updatedTimestamp\":{\"type\":\"integer\",\"format\":\"int32\",\"title\":\"Epoch (Seconds since Jan 1 1970)\",\"example\":1669175847},\"sharingAccounts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"accountId\",\"status\"],\"properties\":{\"accountId\":{\"type\":\"string\",\"description\":\"unique accountId from owner accounts\",\"example\":\"qroLsNMW9f9w8tDBiyXskJuBmyoeuejUkfGFMW77\"},\"status\":{\"title\":\"Account Entitlement calculated status\",\"type\":\"string\",\"enum\":[\"ACTIVE\",\"PAUSED\",\"STOPPED\",\"INACTIVE\"]},\"stoppedAt\":{\"type\":\"string\",\"format\":\"date-time\"},\"stoppedBy\":{\"title\":\"User or Entity Identifiers\",\"type\":\"array\",\"minItems\":1,\"items\":{\"title\":\"User or Entity Identifier\",\"type\":\"object\",\"properties\":{\"identifierType\":{\"type\":\"string\"},\"identifierValue\":{\"type\":\"string\"}},\"required\":[\"identifierType\",\"identifierValue\"]}}}}}}},{\"type\":\"object\",\"properties\":{\"subscriptionType\":{\"type\":\"string\",\"example\":\"THRIDAY\"},\"customer\":{\"type\":\"object\",\"properties\":{\"cgid\":{\"type\":\"string\",\"description\":\"customer's cgid\"},\"name\":{\"type\":\"string\",\"maxLength\":200,\"minLength\":1,\"nullable\":false,\"pattern\":\"^[0-9a-zA-Z!@#$%^&*(),.?\\\":{}|<>=\\\\_]*\",\description\:\"Name of the customer\",\example\:\"ABC foods pvt. ltd.\"},\customerType\:{\type\:\"string\",\enum\:[\"IND\",\"TRU\",\"LEG\"]},\abn\:{\maxLength\:11,\type\:\"string\",\description\:\"ABN\",\pattern\:\"^(\\\\d *?){11}$\",\x-pattern-message\:\"Invalid field value\",\example\:\"51824753556\"},\acn_arbn\:{\maxLength\:9,\type\:\"string\",\description\:\"Australian company number\",\pattern\:\"^(\\\\d *?){9}$\",\x-pattern-message\:\"Invalid field value\",\example\:\"004085616\"},\partyLegalStructure\:{\maxLength\:30,\type\:\"string\",\description\:\"Organisation Type or Trust Type. For customer type legal ('LEG'), acceptable values are codes returned by [reference data API](https://confluence.dss.ext.national.com.au/pages/viewpage.action?pageId=189563089) using the key ACCOUNT_OWNERSHIP and for customer type Trust ('TRU') those are codes returned by the API using key TRUST_TYPE\"},\industryCodes\:{\type\:\"array\",\items\:{\type\:\"string\"},\maxItems\:1,\description\:\"Acceptable values are codes returned by [reference data API](https://confluence.dss.ext.national.com.au/pages/viewpage.action?pageId=189563089) using the key getIndustryCodes.\",\example\:[\"285105\"]},\additionalIndustryCodes\:{\type\:\"array\",\items\:{\type\:\"string\"},\maxItems\:5,\description\:\"Acceptable values are codes returned by [reference data API](https://confluence.dss.ext.national.com.au/pages/viewpage.action?pageId=189563089) using the key getIndustryCodes.\",\example\:[\"285105\"]}}},\billingInfo\:{\type\:\"object\",\properties\:{\account\:{\additionalProperties\:false,\description\:\"Unambiguous identification of the account.\",\type\:\"object\",\properties\:{\accountId\:{\description\:\"A unique and immutable identifier used to identify the account\\nresource. This identifier has no meaning to the account owner.\",\example\:\"c3f9c91c-7fed-11e8-adc0-fa7ae01bbebc\",\maxLength\:40,\minLength\:1,\type\:\"string\"},\bsb\:{\description\:\"The unmasked BSB for the account. Is expected to be formatted as digits only with leading zeros included and no punctuation or spaces\\n\",\pattern\:\"^\\\\d{6}$\",\type\:\"string\",\example\:\"123456\"},\accountNumber\:{\description\:\"The account number for the account. If the account number is a PAN it will be masked. Is expected to be formatted as digits only with leading zeros included and no punctuation or spaces\\n\",\pattern\:\"^\\\\d+$\",\type\:\"string\",\example\:\"123456789\"},\currencyCode\:{\type\:\"string\",\description\:\"Three-letter ISO 4217 alphabetical currency code.\\n\",\example\:\"AUD\",\maxLength\:3,\pattern\:\"^([A-Z]{3})$\"},\status\:{\description\:\"Account Status\",\type\:\"string\",\enum\:[\"OPEN\",\"CLOSED\"]},\accountType\:{\description\:\"Specifies the type of account\\n- AmericanExpress\\n- ForeignCurrencyAccount\\n- GeneralInsurance\\n- HomeLoan\\n- InsuranceAccount\\n- InvestmentAccount\\n- LeasingFinance\\n- LeasingPurchase\\n- Lending\\n- LineOfCredit\\n- MarginLending\\n- MarginLendingFacility\\n- MarginLendingInvestment\\n- MarketLending\\n- MarketRateFacility\\n- Mastercard\\n- NabTradeFacility\\n- PersonalLoan\\n- PortfolioFacility\\n- PortfolioFacilityFixedRateSubAccount\\n- PortfolioFacilitySubAccount\\n- Rewards\\n- Savings\\n- SuperannuationAccount\\n- TermDeposit\\n- TradingAccount\\n- TransactionAccount\\n- TravellerCard\\n- TravellerCardHolding\\n- TravellerCardSecondary - Visa\\n- WealthFacility\",\example\:\"Lending\",\type\:\"string\"},\productName\:{\description\:\"Product name from the ledger. May be different from product catalogue product name.\",\example\:\"NAB STRAIGHTUP CARD\",\maxLength\:200,\minLength\:1,\type\:\"string\"},\productCode\:{\description\:\"Indicates Market Package ID of the Account Number, Indicates the MMPID.\",\example\:\"VCD\",\maxLength\:6,\pattern\:\"^[A-Z]{3,6}$\",\type\:\"string\"},\productCatalogueId\:{\description\:\"A unique identifier allocated to a product\\n\",\type\:\"string\",\minLength\:8,\maxLength\:8,\example\:\"PCID0134\",\pattern\:\"^PCID[0-9]{4}$\"},\productSubCode\:{\description\:\"\\\"Indicates the PMPID-processing market package id\\\"\\n\",\example\:\"LHCR\",\maxLength\:4,\type\:\"string\"},\balances\:{\type\:\"array\",\items\:{\title\:\"Balance\",\type\:\"object\",\properties\:{\amount\:{\title\:\"Amount\",\type\:\"object\",\properties\:{\currencyCode\:{\type\:\"string\",\description\:\"Three-letter ISO 4217 alphabetical currency code.\",\pattern\:\"^([A-Z]{3})$\",\minLength\:3,\maxLength\:3},\value\:{\type\:\"string\",\pattern\:\"^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$\",\description\:\"The value, which can be anything from:\\n\\nAn integer. For currencies that are not typically fractional, such as JPY.\\nA three-place decimal fraction. For currencies that are subdivided into thousandths, such as TND.\\nAn eight-place decimal fraction. For currencies such as Bitcoin.\\nFor the required number of decimal places for a currency code, see ISO 4217.\",\maxLength\:32,\minLength\:1}}},\balanceType\:{\description\:\"Balance type, in a coded form.\\n\\nNTC accounts doesnt have CURRENT_BALANCE & AVAILABLE_BALANCE_ALTERNATIVE types returned from its MS.\\n\\nHence it has mapped using CLOSING_AVAILABLE & INTERIM_AVAILABLE types respectively.\",\type\:\"string\",\enum\:[\"CURRENT_BALANCE\",\"AVAILABLE_BALANCE\",\"AVAILABLE_BALANCE_ALTERNATIVE\",\"RECORDED_LIMIT\",\"HOLD_AMOUNT\",\"UNCLEARED_FUND_AMOUNT\",\"BUFFER_LIMIT\"]},\dateTime\:{\description\:\"Indicates the date (and time) of the balance.\\nAll dates in the JSON payloads are represented in ISO 8601 date-time format.\\nAll date-time fields in responses must include the timezone. An example is below:\\n2017-04-05T10:43:07+00:00\",\type\:\"string\",\format\:\"date-time\"}}}},\nickName\:{\description\:\"The nick name of the account, assigned by the account owner in\\norder to provide an additional means of identification of the account.\",\example\:\"My txn account\",\maxLength\:70,\minLength\:1,\type\:\"string\"},\ownershipInfo\:{\type\:\"string\",\description\:\"Enum:\\\"SOLE_OWNER\\\"\\\"PRIMARY_OWNER\\\"\\\"SECONDARY_OWNER\\\"\\\"GUARANTOR\\\"\\\"SIGNATORY\\\"\\\"MORTGAGE_INTRODUCER\\\"\\nCustomer to Card, Account Ownership\",\enum\:[\"SOLE_OWNER\",\"PRIMARY_OWNER\",\"SECONDARY_OWNER\",\"GUARANTOR\",\"SIGNATORY\",\"MORTGAGE_INTRODUCER\"]}},\required\:[\"accountId\",\"accountNumber\",\"status\",\"accountType\",\"productName\",\"productCode\"]}}},\promotionCode\:{\type\:\"string\",\example\:\"HOTPROM\"}}}]}}"

Editor

You can edit this paste and save as new:


File Description
  • kssks
  • Paste Code
  • 24 Mar-2023
  • 9.41 Kb
You can Share it: