If you’re using v0, it can be found using the “Get a pending transaction” endpoint, under data->reason. If you’re using v1, it can be found using the “Get a transaction by ID” endpoint, under decline->reason.