Get Cards By Customer Id
/dpm/cofre-gw-proxy/v1/cardsGet Customer’s Saved Cards
Returns a list of cards previously stored in the Getnet vault, based on the buyer’s customer_id. Useful for displaying saved cards for reuse or management.
Usage Scenarios:
- Retrieve a user’s stored payment methods.
- Prefill card info at checkout for returning customers.
- Display saved cards in account management interfaces.
Availability
To use this endpoint, you need to register as a Getnet client.
Query Parameters
Buyer identifier. Application-defined information that consumes the Digital Platform API.
Status filter for returned cards. If not informed No filter, active and renewed cards will be returned.
Response
List of saved cards.
Invalid request.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Invalid Authentication.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Safe product not enabled.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Not Found.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.
Internal server or service error.
Detailed error message.
Name of the module or system in which the error occurred.
HTTP status code of the error.
Error details.
Error details.
combinedId.
orderId.
sellerId.