chore(core-flows,types): update TSDocs following latest payment changes (#11241)

This commit is contained in:
Shahed Nasser
2025-01-31 11:39:10 +02:00
committed by GitHub
parent 356c877878
commit 18f7b71b1b
2 changed files with 315 additions and 4 deletions
@@ -8,6 +8,17 @@ import { StepResponse, createStep } from "@medusajs/framework/workflows-sdk"
export const createPaymentAccountHolderStepId = "create-payment-account-holder"
/**
* This step creates the account holder in the payment provider.
*
* @example
* const accountHolder = createPaymentAccountHolderStep({
* provider_id: "pp_stripe_stripe",
* context: {
* customer: {
* id: "cus_123",
* email: "example@gmail.com"
* }
* }
* })
*/
export const createPaymentAccountHolderStep = createStep(
createPaymentAccountHolderStepId,