Skip to main content

Get the link to update the marketplace payment method

PUT/customers/{customerId}/payment-method/
v2
PUT
marketplace-customer-update-payment-method

Request

  • customerIdstring (uuid)
    required
    Example:"907a24e9-0723-4566-b584-86578419e983"

Responses

application/json

The generated link to the Stripe payment method setup

  • urlstring

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"customReturnUrl":"https://mittwald.studio/app/marketplace"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/customers/f0f86186-0a5a-45b2-aa33-502777496347/payment-method