From b0ccbca4e5308c73fc69e99a169d935934f34179 Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Mon, 6 Jan 2025 14:00:58 +0100 Subject: [PATCH] spec release --- ...BalancePlatformConfigurationNotification-v1.json | 13 ++++++++++++- ...BalancePlatformConfigurationNotification-v2.json | 13 ++++++++++++- ...veBalanceCompensationWarningNotification-v1.json | 1 + json/BalancePlatformReportNotification-v1.json | 10 ++++++++-- json/BalancePlatformService-v2.json | 2 +- ...BalancePlatformConfigurationNotification-v1.yaml | 13 ++++++++++++- ...BalancePlatformConfigurationNotification-v2.yaml | 13 ++++++++++++- ...veBalanceCompensationWarningNotification-v1.yaml | 1 + yaml/BalancePlatformReportNotification-v1.yaml | 7 ++++++- yaml/BalancePlatformService-v2.yaml | 2 +- 10 files changed, 66 insertions(+), 9 deletions(-) diff --git a/json/BalancePlatformConfigurationNotification-v1.json b/json/BalancePlatformConfigurationNotification-v1.json index 1402bcb..a1a864d 100644 --- a/json/BalancePlatformConfigurationNotification-v1.json +++ b/json/BalancePlatformConfigurationNotification-v1.json @@ -847,7 +847,7 @@ "type" : "integer" }, "balance" : { - "description" : "The sum of transactions that have already been settled.", + "description" : "The sum of the transactions that have already been settled.", "format" : "int64", "type" : "integer" }, @@ -2367,6 +2367,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.created" } }, @@ -2519,6 +2520,7 @@ } }, "environment" : "live", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.created" } }, @@ -2566,6 +2568,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.updated" } }, @@ -2718,6 +2721,7 @@ } }, "environment" : "live", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.updated" } }, @@ -2735,6 +2739,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccount.created" } }, @@ -2753,6 +2758,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccount.updated" } }, @@ -2785,6 +2791,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccountSweep.created" } }, @@ -2817,6 +2824,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccountSweep.deleted" } }, @@ -2849,6 +2857,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccountSweep.created" } }, @@ -2881,6 +2890,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.paymentInstrument.created" } }, @@ -2913,6 +2923,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.paymentInstrument.updated" } } diff --git a/json/BalancePlatformConfigurationNotification-v2.json b/json/BalancePlatformConfigurationNotification-v2.json index ee66557..456ffcf 100644 --- a/json/BalancePlatformConfigurationNotification-v2.json +++ b/json/BalancePlatformConfigurationNotification-v2.json @@ -846,7 +846,7 @@ "type" : "integer" }, "balance" : { - "description" : "The sum of transactions that have already been settled.", + "description" : "The sum of the transactions that have already been settled.", "format" : "int64", "type" : "integer" }, @@ -2414,6 +2414,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.created" } }, @@ -2566,6 +2567,7 @@ } }, "environment" : "live", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.created" } }, @@ -2613,6 +2615,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.updated" } }, @@ -2765,6 +2768,7 @@ } }, "environment" : "live", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.accountHolder.updated" } }, @@ -2782,6 +2786,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccount.created" } }, @@ -2800,6 +2805,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccount.updated" } }, @@ -2832,6 +2838,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccountSweep.created" } }, @@ -2864,6 +2871,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccountSweep.deleted" } }, @@ -2896,6 +2904,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.balanceAccountSweep.updated" } }, @@ -2928,6 +2937,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.paymentInstrument.created" } }, @@ -2960,6 +2970,7 @@ } }, "environment" : "test", + "timestamp" : "2024-12-15T15:42:03+01:00", "type" : "balancePlatform.paymentInstrument.updated" } } diff --git a/json/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.json b/json/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.json index 8f6465e..bc5780d 100644 --- a/json/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.json +++ b/json/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.json @@ -220,6 +220,7 @@ "scheduledCompensationAt" : "2024-12-01T01:00:00+01:00" }, "environment" : "test", + "timestamp" : "2024-10-22T00:00:00+02:00", "type" : "balancePlatform.negativeBalanceCompensationWarning.scheduled" } } diff --git a/json/BalancePlatformReportNotification-v1.json b/json/BalancePlatformReportNotification-v1.json index 6a4d3e9..3a27092 100644 --- a/json/BalancePlatformReportNotification-v1.json +++ b/json/BalancePlatformReportNotification-v1.json @@ -107,6 +107,10 @@ "description" : "The filename of the report.", "type" : "string" }, + "id" : { + "description" : "The ID of the resource.", + "type" : "string" + }, "reportType" : { "description" : "The type of report. Possible values:\n\n- `balanceplatform_accounting_interactive_report`\n- `balanceplatform_accounting_report`\n- `balanceplatform_balance_report`\n- `balanceplatform_fee_report`\n- `balanceplatform_payment_instrument_report`\n- `balanceplatform_payout_report`\n- `balanceplatform_statement_report`\n\n", "type" : "string" @@ -208,11 +212,13 @@ "data" : { "balancePlatform" : "YOUR_BALANCE_PLATFORM", "creationDate" : "2024-07-02T02:01:08+02:00", + "id" : "balanceplatform_accounting_report_2024_07_01.csv", + "downloadUrl" : "https://balanceplatform-test.adyen.com/balanceplatform/.../.../.../balanceplatform_accounting_report_2024_07_01.csv", "fileName" : "balanceplatform_accounting_report_2024_07_01.csv", - "reportType" : "balanceplatform_accounting_report", - "downloadUrl" : "https://balanceplatform-test.adyen.com/balanceplatform/.../.../.../balanceplatform_accounting_report_2024_07_01.csv" + "reportType" : "balanceplatform_accounting_report" }, "environment" : "test", + "timestamp" : "2024-07-02T02:01:05+02:00", "type" : "balancePlatform.report.created" } } diff --git a/json/BalancePlatformService-v2.json b/json/BalancePlatformService-v2.json index 51ae619..353fcba 100644 --- a/json/BalancePlatformService-v2.json +++ b/json/BalancePlatformService-v2.json @@ -7330,7 +7330,7 @@ "type" : "integer" }, "balance" : { - "description" : "The sum of transactions that have already been settled.", + "description" : "The sum of the transactions that have already been settled.", "format" : "int64", "type" : "integer" }, diff --git a/yaml/BalancePlatformConfigurationNotification-v1.yaml b/yaml/BalancePlatformConfigurationNotification-v1.yaml index 0c09255..a512267 100644 --- a/yaml/BalancePlatformConfigurationNotification-v1.yaml +++ b/yaml/BalancePlatformConfigurationNotification-v1.yaml @@ -708,7 +708,7 @@ components: format: int64 type: integer balance: - description: The sum of transactions that have already been settled. + description: The sum of the transactions that have already been settled. format: int64 type: integer currency: @@ -2166,6 +2166,7 @@ components: id: AH00000000000000000000001 status: Active environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.created post-balancePlatform.accountHolder.created-balancePlatform-accountHolder-created-lem-v3: summary: Account holder created with LEM API v3 @@ -2258,6 +2259,7 @@ components: id: AH00000000000000000000001 status: Active environment: live + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.created post-balancePlatform.accountHolder.updated-balancePlatform-accountHolder-updated: summary: Account holder updated with LEM API v1, v2 @@ -2290,6 +2292,7 @@ components: id: AH00000000000000000000001 status: Active environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.updated post-balancePlatform.accountHolder.updated-balancePlatform-accountHolder-updated-lem-v3: summary: Account holder updated with LEM API v3 @@ -2382,6 +2385,7 @@ components: id: AH00000000000000000000001 status: Active environment: live + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.updated post-balancePlatform.balanceAccount.created-balancePlatform-balanceAccount-created: summary: Balance account created @@ -2395,6 +2399,7 @@ components: id: BA00000000000000000001 status: Active environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccount.created post-balancePlatform.balanceAccount.updated-balancePlatform-balanceAccount-updated: summary: Balance account updated @@ -2409,6 +2414,7 @@ components: status: Active timeZone: Europe/Amsterdam environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccount.updated post-balancePlatform.balanceAccountSweep.created-balancePlatform-sweep-created: summary: Sweep created @@ -2433,6 +2439,7 @@ components: balanceAccountId: BA00000000000000000002 currency: EUR environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccountSweep.created post-balancePlatform.balanceAccountSweep.deleted-balancePlatform-sweep-deleted: summary: Sweep deleted @@ -2457,6 +2464,7 @@ components: balanceAccountId: BA00000000000000000002 currency: EUR environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccountSweep.deleted post-balancePlatform.balanceAccountSweep.updated-balancePlatform-sweep-updated: summary: Sweep updated @@ -2481,6 +2489,7 @@ components: balanceAccountId: BA00000000000000000002 currency: EUR environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccountSweep.created post-balancePlatform.paymentInstrument.created-balancePlatform-paymentInstrument-created: summary: Card created @@ -2507,6 +2516,7 @@ components: lastFour: '2732' id: PI00000000000000000001 environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.paymentInstrument.created post-balancePlatform.paymentInstrument.updated-balancePlatform-paymentInstrument-updated: summary: Card updated @@ -2533,4 +2543,5 @@ components: lastFour: '2732' id: PI00000000000000000001 environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.paymentInstrument.updated diff --git a/yaml/BalancePlatformConfigurationNotification-v2.yaml b/yaml/BalancePlatformConfigurationNotification-v2.yaml index 2e39411..9d5a05a 100644 --- a/yaml/BalancePlatformConfigurationNotification-v2.yaml +++ b/yaml/BalancePlatformConfigurationNotification-v2.yaml @@ -705,7 +705,7 @@ components: format: int64 type: integer balance: - description: The sum of transactions that have already been settled. + description: The sum of the transactions that have already been settled. format: int64 type: integer currency: @@ -2260,6 +2260,7 @@ components: id: AH00000000000000000001 status: active environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.created post-balancePlatform.accountHolder.created-balancePlatform-accountHolder-created-lem-v3: summary: Account holder created with LEM API v3 @@ -2352,6 +2353,7 @@ components: id: AH00000000000000000001 status: active environment: live + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.created post-balancePlatform.accountHolder.updated-balancePlatform-accountHolder-updated: summary: Account holder updated with LEM API v1, v2 @@ -2384,6 +2386,7 @@ components: id: AH00000000000000000001 status: active environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.updated post-balancePlatform.accountHolder.updated-balancePlatform-accountHolder-updated-lem-v3: summary: Account holder updated with LEM API v3 @@ -2476,6 +2479,7 @@ components: id: AH00000000000000000001 status: active environment: live + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.accountHolder.updated post-balancePlatform.balanceAccount.created-balancePlatform-balanceAccount-created: summary: Balance account created @@ -2489,6 +2493,7 @@ components: id: BA00000000000000000001 status: active environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccount.created post-balancePlatform.balanceAccount.updated-balancePlatform-balanceAccount-updated: summary: Balance account updated @@ -2503,6 +2508,7 @@ components: status: active timeZone: Europe/Amsterdam environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccount.updated post-balancePlatform.balanceAccountSweep.created-balancePlatform-sweep-created: summary: Sweep created @@ -2527,6 +2533,7 @@ components: balanceAccountId: BA00000000000000000002 currency: EUR environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccountSweep.created post-balancePlatform.balanceAccountSweep.deleted-balancePlatform-sweep-deleted: summary: Sweep deleted @@ -2551,6 +2558,7 @@ components: balanceAccountId: BA00000000000000000002 currency: EUR environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccountSweep.deleted post-balancePlatform.balanceAccountSweep.updated-balancePlatform-sweep-updated: summary: Sweep updated @@ -2575,6 +2583,7 @@ components: balanceAccountId: BA00000000000000000002 currency: EUR environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.balanceAccountSweep.updated post-balancePlatform.paymentInstrument.created-balancePlatform-paymentInstrument-created: summary: Card created @@ -2601,6 +2610,7 @@ components: lastFour: '2732' id: PI00000000000000000001 environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.paymentInstrument.created post-balancePlatform.paymentInstrument.updated-balancePlatform-paymentInstrument-updated: summary: Card updated @@ -2627,4 +2637,5 @@ components: lastFour: '2732' id: PI00000000000000000001 environment: test + timestamp: '2024-12-15T15:42:03+01:00' type: balancePlatform.paymentInstrument.updated diff --git a/yaml/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.yaml b/yaml/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.yaml index 2131a93..03f3404 100644 --- a/yaml/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.yaml +++ b/yaml/BalancePlatformNegativeBalanceCompensationWarningNotification-v1.yaml @@ -176,4 +176,5 @@ components: negativeBalanceSince: '2024-10-19T00:33:13+02:00' scheduledCompensationAt: '2024-12-01T01:00:00+01:00' environment: test + timestamp: '2024-10-22T00:00:00+02:00' type: balancePlatform.negativeBalanceCompensationWarning.scheduled diff --git a/yaml/BalancePlatformReportNotification-v1.yaml b/yaml/BalancePlatformReportNotification-v1.yaml index 81a2aa4..56ed789 100644 --- a/yaml/BalancePlatformReportNotification-v1.yaml +++ b/yaml/BalancePlatformReportNotification-v1.yaml @@ -84,6 +84,9 @@ components: fileName: description: The filename of the report. type: string + id: + description: The ID of the resource. + type: string reportType: description: 'The type of report. Possible values: @@ -181,8 +184,10 @@ components: data: balancePlatform: YOUR_BALANCE_PLATFORM creationDate: '2024-07-02T02:01:08+02:00' + id: balanceplatform_accounting_report_2024_07_01.csv + downloadUrl: https://balanceplatform-test.adyen.com/balanceplatform/.../.../.../balanceplatform_accounting_report_2024_07_01.csv fileName: balanceplatform_accounting_report_2024_07_01.csv reportType: balanceplatform_accounting_report - downloadUrl: https://balanceplatform-test.adyen.com/balanceplatform/.../.../.../balanceplatform_accounting_report_2024_07_01.csv environment: test + timestamp: '2024-07-02T02:01:05+02:00' type: balancePlatform.report.created diff --git a/yaml/BalancePlatformService-v2.yaml b/yaml/BalancePlatformService-v2.yaml index 5b03d4e..d1db66a 100644 --- a/yaml/BalancePlatformService-v2.yaml +++ b/yaml/BalancePlatformService-v2.yaml @@ -4762,7 +4762,7 @@ components: format: int64 type: integer balance: - description: The sum of transactions that have already been settled. + description: The sum of the transactions that have already been settled. format: int64 type: integer currency: