Skip to content

Commit 32073b6

Browse files
Merge pull request #10 from skip-pay/some-customer-extra-data-recommended-as-required
Some customer's extra data are recommended as required in Create application
2 parents a41fc4f + ecebaa0 commit 32073b6

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Diff for: SkipPay_OAS.yaml

+12-10
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,7 @@ components:
11811181
title: CustomerBase
11821182
required:
11831183
- email
1184+
- extraData
11841185
type: object
11851186
properties:
11861187
titleBefore:
@@ -1286,36 +1287,37 @@ components:
12861287
example: '+420123456789'
12871288
CustomerExtraData:
12881289
title: CustomerExtraData
1290+
required:
1291+
- transactionsNumber
1292+
- transactionsSum
1293+
- earliestTransactionDate
12891294
type: object
12901295
properties:
12911296
transactionsNumber:
12921297
type: number
1293-
description: Historical count of customer's cash transactions made in partner's e-shop
1294-
minimum: 1
1298+
description: Historical count of customer transactions made in partner's e-shop
12951299
example: 10
1296-
nullable: true
12971300
cashlessTransactionsNumber:
12981301
type: number
1299-
description: Historical count of customer's cashless transactions made in partner's e-shop
1300-
minimum: 1
1302+
description: Historical count of customer cashless transactions made in partner's e-shop
13011303
example: 5
1302-
nullable: true
13031304
transactionsSum:
13041305
$ref: '#/components/schemas/Amount'
1306+
description: Historical sum of customer transactions made in partner's e-shop
13051307
cashlessTransactionsSum:
13061308
$ref: '#/components/schemas/Amount'
1309+
description: Historical sum of customer cashless transactions made in partner's e-shop
13071310
latestTransactionDate:
13081311
type: string
13091312
format: date
1310-
description: Newest transaction date on partner e-shop.
1311-
example: '2017-01-10'
1313+
description: Date of customer's latest (newest) transaction on partner e-shop.
1314+
example: '2024-05-15'
13121315
nullable: true
13131316
earliestTransactionDate:
13141317
type: string
13151318
format: date
1316-
description: Oldest transaction date on partner e-shop
1319+
description: Date of customer's earliest (oldest) transaction on partner e-shop.
13171320
example: '2015-10-12'
1318-
nullable: true
13191321
pageTotalTime:
13201322
type: number
13211323
description: Total time spent on partners website (in seconds)

0 commit comments

Comments
 (0)