Store rules and reporting to the stores
Apply Apple's and Google's rules for linking out from a remote table, and let Pay.com report your link-out sales to the stores.
The stores' rules on linking out of an app change, and differ by store and country. The SDK applies them for you, and Pay.com can report your link-out sales to Apple and Google, so you don't build either.
Rules from a remote table
The SDK reads the stores' rules from a remote table, so they can change without a new release of your app. When no valid rule allows a link for digital goods, the SDK hides it.
Reporting to Apple and Google
Pay.com can report your link-out sales to Apple and Google for you, as an opt-in service. You stay liable for the stores' fees.
For reporting, the SDK retrieves the store's tokens and the time the customer tapped the link, and your server sends them with the checkout session in store_link. Pay.com keeps the first store link on the subscription, in store_link, and never overwrites it, so renewals and refunds report against the original purchase.
curl https://api.sandbox.pay.com/v1/checkout \
-u ':sk-pay-com-sandbox-…' \
-H "Content-Type: application/json" \
-H "idempotency-key: $(uuidgen)" \
-d '{
"mode": "subscription",
"customer_reference_id": "cust-jane-doe-001",
"line_items": [{ "price": "prc_691180240037724160", "quantity": 1 }],
"return_url": "https://app.example.com/pay/return",
"client_state": "Xq7Lm2Nv9Rt4Kp8Wz3Bc5D",
"store_link": {
"platform": "apple",
"tokens": [{ "type": "services", "value": "Rk9LZ3JhVm1wcWxLdEJzNnF6ZEhXdWI3" }],
"tapped_at": "2026-11-25T10:29:41.000Z"
}
}'{
"id": "cs_691231337760874496",
"resource": "checkout_session",
"mode": "subscription",
"status": "open",
"url": "https://checkout.pay.com/a/Gs9pV3dMw7Ta",
"store_link": {
"platform": "apple",
"tokens": [{ "type": "services", "value": "Rk9LZ3JhVm1wcWxLdEJzNnF6ZEhXdWI3" }],
"tapped_at": "2026-11-25T10:29:41.000Z"
}
}A Google Play token has no type. When you request a new URL with POST /v1/checkout/{checkout_session_id}/refresh, send the fresh tokens and tap time in its store_link, and Pay.com keeps the earlier ones too.
In your reports
Store subscriptions count in your MRR at the price the customer pays, without tax. The store's fee is reported separately. See Insights and metrics.