API health issue with subscriptionBillingAttemptCreate JUL 1, 2023

I’m facing an strange issue where my app is for providing a subscription to merchants. The issue is in my partner account apps section it says there is API health issue.

https://prnt.sc/0hMJS1prIArr

How ever as per understanding we have already provide origin time in

subscriptionBillingAttemptCreate

here is the detailed loom video about what is the issue, can anyone help me ASAP because this is the crucial issue having deadline of 25 days left.

I found that an API health issue is belongs to below query
can anyone guide me how to check deprecated in this query

{
	subscriptionContract(id: "gid://shopify/SubscriptionContract/8943304873") {
		id deliveryPrice {
			amount currencyCode
		}
		deliveryMethod {
			__typename...on SubscriptionDeliveryMethodShipping {
				shippingOption {
					code description presentmentTitle title
				}
				address {
					address1 address2 city zip country countryCode firstName lastName name phone province provinceCode
				}
			}
		}
		customerPaymentMethod {
			id instrument {
				...on CustomerCreditCard {
					brand expiryYear expiryMonth firstDigits lastDigits maskedNumber name
				}...on CustomerShopPayAgreement {
					expiryYear expiresSoon expiryMonth expiryYear inactive lastDigits maskedNumber name
				}
			}
		}
		lastPaymentStatus nextBillingDate billingPolicy {
			interval intervalCount maxCycles minCycles
		}
		lineCount lines(first: 10) {
			edges {
				node {
					id currentPrice {
						amount currencyCode
					}
					lineDiscountedPrice {
						amount currencyCode
					}
					discountAllocations {
						amount {
							amount currencyCode
						}
						discount
					}
					productId quantity sku title variantId variantImage {
						id originalSrc
					}
					variantTitle
				}
			}
		}
		originOrder {
			id currentTotalPriceSet {
				presentmentMoney {
					amount currencyCode
				}
				shopMoney {
					amount currencyCode
				}
			}
			lineItems(first: 10) {
				edges {
					node {
						id taxLines {
							priceSet {
								presentmentMoney {
									amount currencyCode
								}
								shopMoney {
									amount currencyCode
								}
							}
						}
						discountedTotalSet {
							presentmentMoney {
								amount currencyCode
							}
							shopMoney {
								amount currencyCode
							}
						}
						variant {
							id
						}
					}
				}
			}
			currentTotalTaxSet {
				presentmentMoney {
					amount currencyCode
				}
				shopMoney {
					amount currencyCode
				}
			}
			currentSubtotalPriceSet {
				presentmentMoney {
					amount currencyCode
				}
				shopMoney {
					amount currencyCode
				}
			}
			totalShippingPriceSet {
				presentmentMoney {
					amount currencyCode
				}
				shopMoney {
					amount currencyCode
				}
			}
			billingAddress {
				id address1 address2 city country latitude longitude zip firstName lastName province provinceCode countryCodeV2
			}
			shippingAddress {
				id address1 address2 city country latitude longitude zip firstName lastName province provinceCode countryCodeV2
			}
		}
		status billingAttempts(first: 10) {
			edges {
				node {
					id idempotencyKey order {
						id
					}
					createdAt
				}
			}
		}
		customer {
			id defaultAddress {
				id address1 address2 city country latitude longitude zip
			}
			displayName email firstName lastName numberOfOrders phone state amountSpent {
				amount currencyCode
			}
		}
		orders(first: 1, reverse: true) {
			edges {
				node {
					id name createdAt customer {
						displayName
					}
					currentTotalPriceSet {
						presentmentMoney {
							amount currencyCode
						}
						shopMoney {
							amount currencyCode
						}
					}
					totalShippingPriceSet {
						presentmentMoney {
							amount currencyCode
						}
						shopMoney {
							amount currencyCode
						}
					}
					totalTaxSet {
						presentmentMoney {
							amount currencyCode
						}
						shopMoney {
							amount currencyCode
						}
					}
					unpaid displayFulfillmentStatus subtotalLineItemsQuantity lineItems(first: 10) {
						edges {
							node {
								id title variantTitle image {
									id originalSrc
								}
								discountedTotalSet {
									presentmentMoney {
										amount currencyCode
									}
									shopMoney {
										amount currencyCode
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

Hey @rahuldudhrejiya - one thing that we may recommend checking is that you are referencing/using at least API version 2022-10 as well as updating your code to reflect the recommended methods. Our health warning dashboard also tracks if you’re using at least the oldest supported version of the API, so if you are still using 2022-07, this could be what’s triggering the warning here. There is a bit more information here on how versioning works on Shopify.

Hope this helps!

Al | Shopify Developer Support