PostPaymentCollectionsIdPaymentSessions
Initialize and add a payment session to a payment collection during checkout, enabling customers to choose their preferred payment provider for completing transactions.
Instructions
Initialize and add a payment session to a payment collection. This is used during checkout, where you create a payment collection for the cart, then initialize a payment session for the payment provider that the customer chooses.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | ||
id | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fields": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
}