Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 58 additions & 1 deletion docs/paytrail-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ components:
properties:
type:
type: string
description: Card type, for example Visa
description: Card type, for example 'Visa'
example: Visa
partial_pan:
type: string
Expand Down Expand Up @@ -2288,6 +2288,11 @@ components:
shopInShopCommission,
shopInShopCommissionVatPercentage,
shopInShopCommissionVatAmount,
settlementReference,
transactionId,
settlementDueDate,
companyName,
vatId,
refunditems,
tradeitems,
]
Expand Down Expand Up @@ -2643,6 +2648,13 @@ components:
shopInShopCommission,
shopInShopCommissionVatPercentage,
shopInShopCommissionVatAmount,
settlementReference,
transactionId,
settlementDueDate,
companyName,
vatId,
refunditems,
tradeitems,
]
submerchant:
type: integer
Expand Down Expand Up @@ -2785,6 +2797,51 @@ components:
type: string
description: Contains a `|` (pipe) -delimited list of *stamp*:*amount* pairs. Pairs are delimited by a `:` (colon). Stamp refers to the payment item's stamp that was refunded.
example: 'stamp1:400|stamp2:200'
settlementReference:
type: string
description: Settlement reference
example: '45667372'
transactionId:
type: string
description: Assigned transaction ID for the payment
example: '5770642a-9a02-4ca2-8eaa-cc6260a78eb6'
settlementDueDate:
type: string
description: When the payment settlement is due
format: DD-MM-YYYY
example: '2019-04-10'
tradeitems:
type: array
description: Trade items included in the payment
items:
type: object
properties:
stamp:
type: string
description: Payment item stamp
amount:
type: number
description: Item amount in cents
description:
type: string
description: Item description
vat:
type: number
description: VAT percentage
code:
type: string
description: Product code
quantity:
type: number
description: Quantity
companyName:
type: string
description: Company name
example: 'Example company'
vatId:
type: string
description: Company VAT ID in international format
example: 'FI02454583'

GroupedPaymentProvidersResponse:
description: List grouped providers response body
Expand Down