Payment Methods
Get Payment Method
Get a payment method by ID for the current merchant.
Authorization
bearerAuth AuthorizationBearer <token>
Use your secret API key as the bearer token
In: header
Path Parameters
paymentMethodId*string
Payment method ID
Match
^pm_[A-Za-z0-9]{22}$Response Body
application/json
application/json
curl -X GET "https://api.getlumen.dev/v1/payment-methods/string"{
"paymentMethod": [
{
"id": "pm_4sD1Xk6Vn9QeZ0tL3",
"customerId": "cus_Lo4xGg1Yk9pB2eWv3sNt",
"provider": "stripe",
"paymentType": "card",
"status": "active",
"cardLastFour": "4242",
"cardBrand": "visa",
"createdAt": "2025-02-20T17:00:00.000Z"
}
]
}{
"error": "Payment method not found"
}