Skip to main content
Version: v1

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 ReferenceError TitleHTTP StatusDetail MessageScenarioResolution
Customer ValidationINVALID_REQUEST400 BAD REQUESTcustomer is requiredCustomer object is missing or nullInclude 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"
}