Add payment method
Add a new payment method for a membership. By default the payment method is saved on the user account of the membership’s first admin member. Send payerAccountId or payerEmail to save it on the payer’s account instead.
Authentication
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
Headers
Used for API versioning. More details.
Request
The ID of an existing user account to save the payment method on. Cannot be combined with payerEmail.
The e-mail (max 80 characters) of the user account to save the payment method on. The account is created if none has this e-mail. Cannot be combined with payerAccountId.
Response
The MembershipPaymentMethodCreateResponseDTO extends the PaymentMethodCreateResponseDTO and includes additional property - the ID of the user account the payment method is saved on. This DTO is used when returning results for the membership payment method create request.
