Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
27 lines
718 B
YAML
27 lines
718 B
YAML
type: object
|
|
required:
|
|
- sessions
|
|
properties:
|
|
sessions:
|
|
description: >-
|
|
An array of payment sessions related to the Payment Collection. Existing
|
|
sessions that are not added in this array will be deleted.
|
|
type: array
|
|
items:
|
|
type: object
|
|
required:
|
|
- provider_id
|
|
- amount
|
|
properties:
|
|
provider_id:
|
|
type: string
|
|
description: The ID of the Payment Provider.
|
|
amount:
|
|
type: integer
|
|
description: The payment amount
|
|
session_id:
|
|
type: string
|
|
description: >-
|
|
The ID of the Payment Session to be updated. If no ID is provided, a
|
|
new payment session is created.
|