Skip to content

Commit fbcd791

Browse files
Christian WickChristian Wick
authored andcommitted
Modified reference/merchant.v1.yaml
1 parent f00159e commit fbcd791

1 file changed

Lines changed: 30 additions & 20 deletions

File tree

reference/merchant.v1.yaml

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,33 +1001,43 @@ components:
10011001
type: object
10021002
x-tags:
10031003
- Schemas
1004+
title: 'Request Body: merchant.payment.request.update'
10041005
properties:
1005-
created_from:
1006+
display_message_uri:
10061007
type: string
1007-
minLength: 1
1008-
created_to:
1008+
description: Messages that can be used to inform the POS operator about the progress of the payment request will be POSTed to this URI if provided.
1009+
callback_uri:
10091010
type: string
1010-
minLength: 1
1011-
cursor:
1011+
description: 'If provided, Settle will POST to this URI when the status of the payment request changes, using the message mechanism described in the introduction. The data in the "object" part of the message is the same as what can be retrieved by calling GET on the "/payment_request/{tid}/outcome/" resource URI.'
1012+
line_items:
1013+
$ref: ../models/LineItem.v1.yaml
1014+
action:
10121015
type: string
1013-
minLength: 1
1014-
page_size:
1016+
enum:
1017+
- reauth
1018+
- capture
1019+
- abort
1020+
- release
1021+
- refund
1022+
description: Action to perform.
1023+
amount:
1024+
$ref: ../models/MoneyInteger.v1.yaml
1025+
additional_amount:
1026+
$ref: ../models/MoneyInteger.v1.yaml
1027+
capture_id:
10151028
type: string
1016-
minLength: 1
1017-
only_ok:
1029+
pattern: '^[a-zA-Z0-9_.-]+$'
1030+
description: 'Local id for capture. Must be set if amount is set, otherwise capture_id must be unset. Ignored unless action is capture. Required if amount, additional_amount, currency are set.'
1031+
refund_id:
10181032
type: string
1019-
minLength: 1
1020-
status:
1033+
description: 'Local id for refund. Must be set if amount is set, otherwise capture_id must be unset.Ignored unless action is refund.Required if amount, additional_amount, currency are set.'
1034+
pattern: '^[a-zA-Z0-9_.-]+$'
1035+
currency:
1036+
$ref: ../models/Currency.v1.yaml
1037+
text:
10211038
type: string
1022-
minLength: 1
1023-
required:
1024-
- created_from
1025-
- created_to
1026-
- cursor
1027-
- page_size
1028-
- only_ok
1029-
- status
1030-
title: 'Request Body: merchant.payment.request.update'
1039+
description: Text that is shown to user upon a refund. This can contain linebreaks and the text has to fit on smartphones screens.
1040+
x-examples: {}
10311041
payment.request.list:
10321042
title: 'Request Body: merchant.payment.request.get'
10331043
type: object

0 commit comments

Comments
 (0)