Find Payment Method Error Codes
This document provides a comprehensive reference for validation errors related to payment method retrieval operations in the Convenient Checkout API. These errors help identify issues with find payment method requests and guide you in resolving them.
Error Codes Summary
Error Code Summary - Find Payment Method
| Error Title Reference | Error Title | HTTP Status | Detail Message | Scenario | Resolution |
|---|---|---|---|---|---|
| Customer Validation | INVALID_REQUEST | 400 BAD REQUEST | customer is required | Customer object is missing or null | Include a valid customer object with appropriate identifiers (hsid, enterpriseId, or metadata) |
Error Codes Details
Customer Validation
Customer is Required
The customer object is mandatory to locate the customer in Find Payment Method API.
Sample Invalid Request:
{
"customer": null
}
Sample Error Response:
{
"title": "INVALID_REQUEST",
"status": 400,
"detail": "customer is required"
}
Related Error Code References
- For customer object validation errors, see the Customer Object Error Codes.
- For agent object validation errors, see the Agent Object Error Codes.