Console

Get purchase by transaction_id

get/v2/console/iap/purchase/{transaction_id}

Request

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

Path parameters

transaction_idstring required

Purchase original transaction id.

Response

A successful response.

user_idstring

Purchase User ID.

product_idstring

Purchase Product ID.

transaction_idstring

Purchase Transaction ID.

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

Timestamp when the purchase was done.

create_timestring date-time

Timestamp when the receipt validation was stored in DB.

update_timestring date-time

Timestamp when the receipt validation was updated in DB.

refund_timestring date-time
provider_responsestring

Raw provider validation response.

environment'UNKNOWN' | 'SANDBOX' | 'PRODUCTION'
  • UNKNOWN: Unknown environment.
  • SANDBOX: Sandbox/test environment.
  • PRODUCTION: Production environment.
seen_beforeboolean

Whether the purchase had already been validated by Nakama before.

Changes

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