- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPaymentAccountHolderStep - Medusa Core Workflows Reference
This documentation provides a reference to the createPaymentAccountHolderStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates the account holder in the payment provider.
Example#
Input#
CreateAccountHolderDTO
CreateAccountHolderDTOThe payment session to be created.
CreateAccountHolderDTO
CreateAccountHolderDTOprovider_id
stringThe provider's ID.
provider_id
stringcontext
PaymentProviderContext & objectNecessary context data for the associated payment provider.
context
PaymentProviderContext & objectOutput#
AccountHolderDTO
AccountHolderDTO
AccountHolderDTO
AccountHolderDTOid
stringThe ID of the account holder.
id
stringprovider_id
stringThe ID of the associated payment provider.
provider_id
stringexternal_id
stringThe external ID of the account holder in the payment provider system.
external_id
stringemail
null | stringThe email of the account holder.
email
null | stringdata
Record<string, unknown>The data of the account holder, as returned by the payment provider.
data
Record<string, unknown>created_at
null | string | DateOptionalWhen the account holder was created.
created_at
null | string | DateOptionalupdated_at
null | string | DateOptionalWhen the account holder was updated.
updated_at
null | string | DateOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalWas this page helpful?