Console

Get subscription by original_transaction_id

get/v2/console/iap/subscription/{original_transaction_id}

Request

  • Base URL
    http://127.0.0.1:7351
  • Auth
    API key in header Authorization

Path parameters

original_transaction_idstring required

Subscription original transaction id.

Response

A successful response.

user_idstring

Subscription User ID.

product_idstring

Purchase Product ID.

original_transaction_idstring

Purchase Original transaction ID (we only keep track of the original subscription, not subsequent renewals).

store'APPLE_APP_STORE' | 'GOOGLE_PLAY_STORE' | 'HUAWEI_APP_GALLERY' | 'FACEBOOK_INSTANT_STORE' | 'SAMSUNG_GALAXY_STORE'
  • APPLE_APP_STORE: Apple App Store
  • GOOGLE_PLAY_STORE: Google Play Store
  • HUAWEI_APP_GALLERY: Huawei App Gallery
  • FACEBOOK_INSTANT_STORE: Facebook Instant Store
  • SAMSUNG_GALAXY_STORE: Samsung Galaxy Store
purchase_timestring date-time

UNIX Timestamp when the purchase was done.

create_timestring date-time

UNIX Timestamp when the receipt validation was stored in DB.

update_timestring date-time

UNIX Timestamp when the receipt validation was updated in DB.

environment'UNKNOWN' | 'SANDBOX' | 'PRODUCTION'
  • UNKNOWN: Unknown environment.
  • SANDBOX: Sandbox/test environment.
  • PRODUCTION: Production environment.
expiry_timestring date-time

Subscription expiration time. The subscription can still be auto-renewed to extend the expiration time further.

refund_timestring date-time

Subscription refund time. If this time is set, the subscription was refunded.

provider_responsestring

Raw provider validation response body.

provider_notificationstring

Raw provider notification body.

activeboolean

Whether the subscription is currently active or not.

Changes

No recorded changes to this operation across all 1 revision of this API.