Skip to main content

Get payment method details

GET/customers/{customerId}/payment-method/
v2
GET
marketplace-customer-get-payment-method

Request

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

Responses

application/json

The payment method details

  • cardDetailsobject
    • brandstring
      required
    • last4string
      required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/customers/f0f86186-0a5a-45b2-aa33-502777496347/payment-method