Issue Summary: Shopify Usage Charge API Returning 403 Forbidden
Problem:
I am trying to create a usage charge using Shopify's Usage Charge API, but I keep receiving a 403 Forbidden response with the error:
{"errors": "Forbidden"}
What I've Tried So Far:
- Checked API Access Scopes → My app has the correct scopes for managing billing
$scopes = [
'read_customers',
'read_themes',
'write_themes',
'read_orders',
'read_products',
'write_customers',
'read_customers',
'write_script_tags',
'read_merchant_managed_fulfillment_orders',
'read_third_party_fulfillment_orders',
'read_customer_payment_methods',
'write_own_subscription_contracts',
'read_own_subscription_contracts',
'customer_read_own_subscription_contracts',
'customer_write_own_subscription_contracts',
'write_discounts',
'write_orders',
'read_all_orders'
]; - Verified Access Token → The token is correct and works for other API calls.
- Checked Recurring Charge Status → The charge exists and is "active".
- Ensured Correct Charge ID → I am passing a valid charge ID in my API request.
- Tested Other API Endpoints → Other endpoints like /shop.json and /products.json work fine.
- Tried API Request from Different Network → Same issue occurs.