Detailed reasons for credit card payment errors

When making a payment through the subscription API, some customers may not be able to make the payment due to a credit card error.

An example of an error code returned from Shopify’s API is payment_method_declined.Is there a way to know the details of this error?

A common case is that the maximum amount of the card has been reached, but the error message is not decipherable, and it is taking time to coordinate with the buyer, so I would like to solve this.

Hello @ptt-kmatsubara !

I want to sincerely apologize for the frustration. When you say the error_message is not decipherable, do you mean that you are not receiving an error_message, or that the details of the error_message do not make any sense? Could you provide an example?

yes. The thing is that the error_message doesn’t make sense.

Not all errors are applicable, but for example, if “error_code” is “payment_method_declined” and “error_message” is “Your card was declined.” is.