export declare enum CustomerPaymentMethodError { /** * The request tried to add a payment method to a customer, but both the 'type' and 'token' body parameters are set, or they are both unset. The request was rejected. Corrective action: Set one of the following parameters: 'type' or 'token'. */ CREATE_CARD_TYPE_REQUIRES_ONLY_ONE_OF_FIELDS_OR_TOKEN = "CREATE_CARD_TYPE_REQUIRES_ONLY_ONE_OF_FIELDS_OR_TOKEN", /** * The request attempted an operation that requires specific fields for payment method, but a required field was missing, or an extra, unallowed field was included. Corrective action: Run 'Get Payment Method Required Fields' and check all input fields. */ ERROR_CREATE_PAYMENT_METHOD = "ERROR_CREATE_PAYMENT_METHOD", /** * The request tried to delete a payment method from a customer, but the payment method was not assigned to the customer that was specified in the request. The request was rejected. Corrective action: Indicate a payment method that is on the current list of payment methods for the designated customer. */ ERROR_DELETE_PAYMENT_METHOD_FROM_WRONG_CUSTOMER = "ERROR_DELETE_PAYMENT_METHOD_FROM_WRONG_CUSTOMER", /** * The request attempted an operation that requires a customer's default payment method, but the default payment method was not found. The request was rejected. Corrective action: Use 'Update Customer' to set the default payment method. */ ERROR_GET_CUSTOMER_DEFAULT_PAYMENT_METHOD = "ERROR_GET_CUSTOMER_DEFAULT_PAYMENT_METHOD", /** * The request attempted an operation that requires a payment method, but the payment method type was not recognized or is not available for this merchant. Corrective action: For the 'type' field in the 'payment_method' object or in the 'data' object, use a payment method type that this merchant is authorized to use, or contact Client Support. */ ERROR_GET_PAYMENT_METHOD_TYPE = "ERROR_GET_PAYMENT_METHOD_TYPE", /** * The request tried to update a payment method of a customer, but it tried to set a new value for a field that does not exist or is not modifiable. The request was rejected. Corrective action: Do not change the value of the field named at the end of the error code. */ PAYMENT_METHOD_FIELD_NOT_UPDATABLE = "PAYMENT_METHOD_FIELD_NOT_UPDATABLE", /** * The request tried to add a payment method to a customer, but both the 'type' and 'token' body parameters are set, or they are both unset. The request was rejected. Corrective action: Set one of the following parameters: 'type' or 'token'. */ PAYMENT_METHOD_REQUIRES_ONLY_ONE_OF_TYPE_OR_TOKEN = "PAYMENT_METHOD_REQUIRES_ONLY_ONE_OF_TYPE_OR_TOKEN" } //# sourceMappingURL=CustomerPaymentMethodError.d.ts.map