chore(docs): Updated API Reference (automated) (#9728)
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>
This commit is contained in:
co-authored by
Oli Juhl
Shahed Nasser
parent
5deeae060a
commit
f997432e73
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* @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
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user