Declined Credit Cards

Is there a way for me to get a list of attempted orders that were abandoned due to credit card decline.

Hey @SDock

So in the event of an abandonment due to a credit card decline (and order isn’t created) the object would indeed just be an Abandoned Checkout (as opposed to a fully completed order).

You could poll the checkout token using the payments.json endpoint - you’d be able to retrieve a list of attempted payments on a checkout.

That said, the payments endpoint is used primarily by sales channels - and allows sales channels to build a fully native checkout experience by submitting a customer’s payment details directly to Shopify. You’d need to request payment processing to be able to call the endpoint (more docs on that and the requirements for building a Sales Channel are here). Hope that helps!