Android · Arazzo Workflow
Android Refund a Play Order
Version 1.0.0
Resolve a purchase token to its Google Play order id, refund that order, and optionally revoke the entitlement.
View Spec
View on GitHub
AIAndroidAutomotiveGoogleMachine LearningMobile DevelopmentSDKTVWearablesArazzoWorkflows
Provider
Workflows
refund-order
Verify an in-app purchase, refund its order, and confirm the resulting purchase state.
Reads the product purchase to resolve its order id and confirm it is in the purchased state, refunds that order with the caller's chosen revoke behaviour, and reads the purchase back to observe the post-refund state.
1
verifyPurchase
getPurchaseProduct
Verify the purchase token and resolve the Google Play order id that the refund must be issued against.
2
refundOrder
refundOrder
Refund the resolved order through Google Play. When revoke is true the user's access to the item is terminated immediately.
3
confirmRefundState
getPurchaseProduct
Read the purchase back to observe the post-refund purchase state, which reflects the cancellation once Google Play has processed the refund.
Source API Descriptions
openapi