cURL
curl --request GET \ --url http://127.0.0.1:8080/v1/c/customer/{customer_id}/payment/method \ --header 'wb-key: <api-key>'
[ { "created": "2023-11-07T05:31:56Z", "details": { "Card": { "brand": "<string>", "expiration": "<string>", "last_digits": "<string>" } }, "holder_name": "<string>", "id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "method_type": "card", "preference": 123, "provider": "stripe", "status": "active" } ]
the inactive ones but not the detached ones
Id of the customer
customer payment methods
The response is of type object[].
object[]