Updated JSON specs

This commit is contained in:
aleksei
2021-05-22 16:09:10 +02:00
parent 019c4d38ca
commit fe374bc9e2
49 changed files with 16005 additions and 717 deletions

View File

@@ -116,6 +116,14 @@
"requestBody" : {
"content" : {
"application/json" : {
"examples" : {
"basic" : {
"$ref" : "#/components/examples/post-accountHolderTransactionList-basic"
},
"specific" : {
"$ref" : "#/components/examples/post-accountHolderTransactionList-specific"
}
},
"schema" : {
"$ref" : "#/components/schemas/AccountHolderTransactionListRequest"
}
@@ -773,6 +781,8 @@
"PendingDebit",
"PendingFundTransfer",
"SecondChargeback",
"SecondChargebackCorrection",
"SecondChargebackCorrectionReceived",
"SecondChargebackReceived"
],
"type" : "string"
@@ -1110,9 +1120,12 @@
"schedule",
"shareholder",
"shareholderCode",
"shareholderCodeAndSignatoryCode",
"shareholderCodeOrSignatoryCode",
"shareholderType",
"shopperInteraction",
"signatory",
"signatoryCode",
"socialSecurityNumber",
"sourceAccountCode",
"splitAccount",
@@ -1495,6 +1508,8 @@
"PendingDebit",
"PendingFundTransfer",
"SecondChargeback",
"SecondChargebackCorrection",
"SecondChargebackCorrectionReceived",
"SecondChargebackReceived"
],
"type" : "string"
@@ -1597,6 +1612,35 @@
"accountHolderCode" : "CODE_OF_ACCOUNT_HOLDER"
}
},
"post-accountHolderTransactionList-basic" : {
"summary" : "Retrieve transactions page by page",
"value" : {
"accountHolderCode" : "CODE_OF_ACCOUNT_HOLDER",
"transactionListsPerAccount" : [
{
"accountCode" : "195752115",
"page" : 1
}
]
}
},
"post-accountHolderTransactionList-specific" : {
"summary" : "Retrieve transactions with specific statuses.",
"value" : {
"accountHolderCode" : "CODE_OF_ACCOUNT_HOLDER",
"transactionStatuses" : [
"PendingCredit",
"Credited",
"Debited"
],
"transactionListsPerAccount" : [
{
"accountCode" : "2e64b396-1200-4474-b848-0cb06b52b3c7",
"page" : 2
}
]
}
},
"post-payoutAccountHolder-oneOff" : {
"summary" : "One-off payout",
"value" : {