Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
26 lines
921 B
TypeScript
26 lines
921 B
TypeScript
/**
|
|
* @schema StoreInitializePaymentSession
|
|
* type: object
|
|
* description: The payment session's details.
|
|
* required:
|
|
* - provider_id
|
|
* properties:
|
|
* provider_id:
|
|
* type: string
|
|
* title: provider_id
|
|
* description: The ID of the payment provider the customer chose.
|
|
* example: pp_stripe_stripe
|
|
* context:
|
|
* type: object
|
|
* description: The payment's context, such as the customer or address details. If the customer is logged-in, the customer `id` is set in the context under a `customer.id` property.
|
|
* data:
|
|
* type: object
|
|
* description: Any data necessary for the payment provider to process the payment.
|
|
* externalDocs:
|
|
* url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property
|
|
* description: Learn more about the payment session's data property
|
|
* x-schemaName: StoreInitializePaymentSession
|
|
*
|
|
*/
|
|
|