curl --request GET \
--url https://api.example.com/view-specific/{customerId}/payment-methods{
"data": [
{
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"type": "<string>",
"id": "<string>",
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"paymentMethodType": "card",
"isPreferred": true,
"mandateDocumentId": "<string>",
"last4": "<string>",
"expirationMonth": 123,
"expirationYear": 123,
"billingDetails": {
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"line2": "<string>",
"postalCode": "<string>",
"state": "<string>"
}
},
"documents": [
{
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"id": "<string>",
"name": "<string>",
"path": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"signedUrl": "<string>"
}
]
}
],
"pageInfo": {
"first": true,
"last": true
},
"totalCount": 123,
"currentPage": 123,
"totalPages": 123
}curl --request GET \
--url https://api.example.com/view-specific/{customerId}/payment-methods{
"data": [
{
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"type": "<string>",
"id": "<string>",
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"paymentMethodType": "card",
"isPreferred": true,
"mandateDocumentId": "<string>",
"last4": "<string>",
"expirationMonth": 123,
"expirationYear": 123,
"billingDetails": {
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"address": {
"city": "<string>",
"country": "<string>",
"line1": "<string>",
"line2": "<string>",
"postalCode": "<string>",
"state": "<string>"
}
},
"documents": [
{
"metadata": [
{
"key": "<string>",
"value": "<string>"
}
],
"id": "<string>",
"name": "<string>",
"path": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"signedUrl": "<string>"
}
]
}
],
"pageInfo": {
"first": true,
"last": true
},
"totalCount": 123,
"currentPage": 123,
"totalPages": 123
}Optional: the whenAt datetime
Optional: the simulatedAt datetime
Was this page helpful?