Retrieve the Payment Methods of a Customer
Changed onUse secret API key to retrieve the Payment Method of Customer
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/customers/{id}/payment_methods
- AuthHTTP basic
Path parameters
ID of a Customer
Response
200
Example response
{
"data": [
{
"id": "cus_pm_2vzMHJhPdBAqnnZqGrCiHfE9",
"type": "customer_payment_method",
"attributes": {
"payment_method_id": "pm_HuhitULt2giYQQsEXmqAg1ik",
"payment_method_type": "card",
"session_type": "on_session",
"created_at": 1657187430,
"updated_at": 1657187430
}
}
]
}Changes
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
list_customers_id_payment_methodsremoved and replaced withretrieve-customer-payment-method - info
the endpoint scheme security
BasicAuthwas removed from the API - info
api tag
Customer Payment Methods (v1)removed - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
the
response's property default value0was added for the status - info
the
response's property default valuetruewas added for the status - info
the
response's property default valuetruewas added for the status - info
the
response's property default value0was added for the status
- warning