gpc-purchase-orders
Purchases & Orders
Use this skill when verifying purchases, checking subscription status, processing refunds, or managing external transactions.
Purchase verification
Verify a purchase
gpc purchases verify --product-id premium_upgrade --token PURCHASE_TOKEN --package com.example.app
Check subscription status
gpc purchases subscription-status --product-id monthly_pro --token PURCHASE_TOKEN --package com.example.app
Acknowledge a purchase
gpc purchases acknowledge --product-id premium_upgrade --token PURCHASE_TOKEN --package com.example.app
Voided purchases
List voided purchases
gpc purchases voided list --package com.example.app
Orders
Get order details
gpc orders get --order-id GPA.1234-5678-9012 --package com.example.app
Get multiple orders
gpc orders batch-get --order-ids GPA.1234-5678-9012,GPA.9876-5432-1098 --package com.example.app
Refund an order
gpc orders refund --order-id GPA.1234-5678-9012 --confirm --package com.example.app
External transactions (alternative billing)
Create external transaction
gpc ext-tx create --file transaction.json --package com.example.app
Get external transaction
gpc ext-tx get --name transactions/12345 --package com.example.app
Refund external transaction
gpc ext-tx refund --name transactions/12345 --confirm --package com.example.app
Agent behavior
- Always verify purchase token validity before taking action.
- Require
--confirmfor refunds; never auto-confirm. - Show order details before processing refunds.
- Use
gpc orders getto inspect beforegpc orders refund.
Notes
- Purchase tokens come from the client app's billing library.
- Voided purchases include refunds, chargebacks, and revocations.
- External transactions are for apps using alternative billing (requires enrollment).
ext-txis the short alias forexternal-transactions.
More from androidpoet/playconsole-cli-skills
gpc-cli-usage
Guidance for using the Play Console CLI (gpc) — flags, output formats, auth profiles, pagination, and safety conventions. Use when asked to run or design gpc commands.
12gpc-monetization
Manage in-app products, subscriptions, base plans, and subscription offers using gpc. Use when creating or updating monetization catalog.
12gpc-metadata-sync
Sync and manage Google Play store listings, images, and screenshots using gpc. Use when updating store metadata, uploading screenshots, or syncing from local directories.
12gpc-testing
Manage beta testing, internal test builds, tester groups, and internal app sharing using gpc. Use when setting up or managing testing workflows.
9gpc-release-flow
End-to-end release workflows for Google Play — upload bundles, manage tracks, staged rollouts, promotions, and halts. Use when uploading builds or managing releases.
9gpc-build-lifecycle
Manage Android app bundles, APKs, build processing, and debug symbol uploads using gpc. Use when uploading builds, checking build status, or uploading ProGuard mappings.
9